Hey Shawn,

I asked the same question on dev on Friday but I haven't gotten a response.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg21715.html

Our temporary solution is to put a hidden unused commandButton as the
first object in our page.

<h:commandButton style="display: none;" />

It seems likely that the reason it's rendered right after a button is
because that's when its known that the input field is needed.   I'm
not sure what an easy fix would be.  Adding it to to the top of the
page might not be possible as you may not know the input is needed
yet.   Adding it before the form closing tag should be possible, but I
don't know how easy it would be to insert something there.  Ideally,
there'd be some css style you could apply to make the input field go
away, but my simple attempts didn't work.


On 4/19/07, Garner, Shawn <[EMAIL PROTECTED]> wrote:




We are seeing extra white space on the page as a result of AUTO_SCROLL being
rendered between two buttons.

This is not desired.  Is there any way for the rendered AUTO_SCROLL hidden
field to be put at the beginning of the form instead of right next to the
button?



Shawn


Reply via email to