You can influence Tapestry by injecting the @Environmental
RenderSupport object, and invoking the autofocus() method.

The default is the following order (weakest to strongest)

first field
first required field
first field with a validation error associated


On Sat, Apr 18, 2009 at 12:04 PM, Yury Luneff <[email protected]> wrote:
> Hello, users.
>
> When the page is rendered, it has "$('control_id').activate();" in the
> JS part of the page. How do I manually decide which control gets
> focus? As for now tapestry seem to choose control that is first on
> page.
>
> --
> Best regards,
>  Yury
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to