You can disable the autofocus handling in the form component.

Joachim

Britske wrote:
I have a textfield enriched with the autocomplete mixin.
<input class="search" t:minChars="3" t:frequency="0.2" t:type="textfield"
t:id="quickTextField" t:mixins="autocompletearoer2" id="quickTextField"
name="Best" type="text" value="quickTextValue" />

This field always gets the focus even though it isn't the first field of the
form. Is there a way to disable this? I tried to circumvent this by having a javascript set the focus on another
field, but without success: the autcomplete field seems to get the focus
back automatically.

This is a problem since for instance alt-tabbing forth and back to the
browser set's off an ajax-call automatically since the focus is on the
autocomplete field. Any way to prevent this? Thanks, Geert-Jan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to