2 options.
1) http://tapestry.apache.org/tapestry4.1/components/form/form.html -
perhaps setting
focus="false" in that form is enough for your usecase.
2) define your own js code for tapestry.form.focusField that perhaps
ignores comboboxes.

On Fri, Feb 6, 2009 at 4:03 PM, N Raju <it_nagar...@yahoo.com> wrote:
>
> Hi
>
> I am new to Tapestry. I am using tapestry 4.1.5 in my application. By
> default the form is getting the focus on combo box which is the first form
> element in the webpage. But , any user may accidentally change the selected
> data in the combo by scrolling the mouse using middle key. Hence I would
> like to have the foucus on submit button. But I am not sure how to modify
> tapestry code so that the defalut focus to the first field could be changed
> to any other field of the form.
>
> any help is much appreciated.
>
> kind regards
>
> Naga
> --
> View this message in context: 
> http://www.nabble.com/How-to-set-the-focus-to-a-specific-filed-on-form-using-tapestry-4.1.5-tp21872983p21872983.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



--
Andreas Andreou - andy...@apache.org - http://blog.andyhot.gr
Tapestry / Tacos developer
Open Source / JEE Consulting

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

Reply via email to