I believe the "focus" parameter of your form component will fix this
problem.

http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Form.html

The default value is true, setting it to false may fix this for your usage.

jesse

On 2/15/06, Greg Cormier <[EMAIL PROTECTED]> wrote:
>
> Okay, I mentioned this before, how on a long form, the browser scrolls to
> the bottom of the form when the page is loaded.
>
> I've just gone through the generated HTML source code and I see that
> Tapestry has done
>
> <script language="JavaScript" type="text/javascript"><!--
> Tapestry.register_form('departmentForm');
> Tapestry.set_focus('addButton');
>
> // --></script>
>
>
> So, my question is, how do I disable this behaviour of Tapestry?
>
> Thanks,
> Greg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to