You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Mike Kienenberger <mk...@gmail.com> on 2007/04/14 05:05:32 UTC

new location of alters page display

One of my page designers pointed out that the autoscroll hidden input
location changed since our Summer 2006 snapshot now that I've upgraded
to Tomahawk 1.1.5.

As other posters have noted, the <input type="hidden"
name="autoScroll"> has moved.   Unfortunately, on this page, it moved
right in the middle of a navigation bar, causing a visible space
between the two buttons it is located between, on both IE and Firefox.

Using my limited html knowledge, I tried saving the html to a file and
adding style="display:none" just to see if css might be able to solve
the problem.   It did not.

My guess is that it is now appearing after the first component to
reference autoScroll.

Is there some style we can apply to this input to make it not affect
the display (You'd think that'd be the default behavior, wouldn't
you?)  Barring all that, maybe this hidden input should be moved to
right before the closing form end tag, or wherever the rest of the
generated hidden inputs are located.

Or is my only option to put an unused hidden h:commandButton at the
top of the page?

<div class="nav_menu">
<input type="submit" class="normal" onmouseout="this.className =
'normal'" onmouseover="this.className = 'highlight'"
onclick="if(typeof
window.clearFormHiddenParams__id12!='undefined'){clearFormHiddenParams__id12('_id12');}if(typeof
window.getScrolling!='undefined'){oamSetHiddenInput('_id12','autoScroll',getScrolling());}"
value="Search Records" name="_id12:_id16" id="_id12:_id16">
<input type="hidden" name="autoScroll">
<input type="submit" class="normal" onmouseout="this.className =
'normal'" onmouseover="this.className = 'highlight'"
onclick="if(typeof
window.clearFormHiddenParams__id12!='undefined'){clearFormHiddenParams__id12('_id12');}if(typeof
window.getScrolling!='undefined'){oamSetHiddenInput('_id12','autoScroll',getScrolling());}"
value="Add Record" name="_id12:_id17" id="_id12:_id17">
<input type="submit" class="normal" onmouseout="this.className =
'normal'" onmouseover="this.className = 'highlight'"
onclick="if(typeof
window.clearFormHiddenParams__id12!='undefined'){clearFormHiddenParams__id12('_id12');}if(typeof
window.getScrolling!='undefined'){oamSetHiddenInput('_id12','autoScroll',getScrolling());}"
value="Add Another Record" name="_id12:_id18" id="_id12:_id18">
<input type="submit" class="normal" onmouseout="this.className =
'normal'" onmouseover="this.className = 'highlight'"
onclick="if(typeof
window.clearFormHiddenParams__id12!='undefined'){clearFormHiddenParams__id12('_id12');}if(typeof
window.getScrolling!='undefined'){oamSetHiddenInput('_id12','autoScroll',getScrolling());}"
value="Add Info" name="_id12:_id19" id="_id12:_id19">
<input type="submit" class="normal" onmouseout="this.className =
'normal'" onmouseover="this.className = 'highlight'"
onclick="if(typeof
window.clearFormHiddenParams__id12!='undefined'){clearFormHiddenParams__id12('_id12');}if(typeof
window.getScrolling!='undefined'){oamSetHiddenInput('_id12','autoScroll',getScrolling());}"
value="Search Other" name="_id12:_id20" id="_id12:_id20">
</div>