Em Sat, 18 Apr 2009 16:04:38 -0300, Yury Luneff <[email protected]> escreveu:
Hello, users.
Hi!
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.
Take a look at the autofocus parameter from the Form and BeanEditForm
components: "If true (the default), then the JavaScript will be added to
position the cursor into the form. The field to receive focus is the first
rendered field that is in error, or required, or present (in that order of
priority)."
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]