Re: tapestry 4 to focus on specified field

2007-03-29 Thread Matt Brock
://www.nabble.com/tapestry-4-to-focus-on-specified-field-tf3334811.html#a9729361 Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: tapestry 4 to focus on specified field

2007-03-05 Thread Jesse Kuhnert
You can also just call tapestry.form.focusField('yourFieldId') directly via javascript at the bottom of your page. (if you felt like being dirty about it...) http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/form.js?view=markup On 3/3/07, andyhot [EMAIL

Re: tapestry 4 to focus on specified field

2007-03-03 Thread andyhot
haipeng du wrote: I know these. But I just think that may be useful and helpful to add focus fields order list to form. Just add a tabindex informal parameter to the related form fields... You have to manage focus ordering yourself. On 3/2/07, Howard Lewis Ship [EMAIL PROTECTED] wrote:

tapestry 4 to focus on specified field

2007-03-02 Thread haipeng du
How could I set up form and field to make tapestry form focus on specified field. In the form, it is only one parameter called focus which is boolean. It should have parameter that takes a list of fields name or id for focus order. Does t4 have that? Thanks a lot. -- Haipeng Du Software

Re: tapestry 4 to focus on specified field

2007-03-02 Thread Howard Lewis Ship
Tapestry will add JavaScript to focus on the first field that has an error. If no fields are in error, then the first required field. If no required fields, then the first field, period. The focus parameter is used when you have multiple forms on one page, and want to control which one gets to

Re: tapestry 4 to focus on specified field

2007-03-02 Thread haipeng du
I know these. But I just think that may be useful and helpful to add focus fields order list to form. On 3/2/07, Howard Lewis Ship [EMAIL PROTECTED] wrote: Tapestry will add JavaScript to focus on the first field that has an error. If no fields are in error, then the first required field. If