tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andyhot <andy...@di.uoa.gr>
Subject Re: tapestry 4 to focus on specified field
Date Sun, 04 Mar 2007 01:34:03 GMT
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 <hlship@gmail.com> 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 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 take focus.
>>
>> On 3/2/07, haipeng du <haipengdu@gmail.com> wrote:
>> > 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 Engineer
>> > Comphealth,
>> > Salt Lake City
>> >
>>
>>
>> -- 
>> Howard M. Lewis Ship
>> TWD Consulting, Inc.
>> Independent J2EE / Open-Source Java Consultant
>> Creator and PMC Chair, Apache Tapestry
>> Creator, Apache HiveMind
>>
>> Professional Tapestry training, mentoring, support
>> and project work.  http://howardlewisship.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>
>


-- 
Andreas Andreou - andyhot@apache.org - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


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


Mime
View raw message