You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by leechj <le...@gmail.com> on 2009/03/06 22:25:24 UTC
Tabindex and accesskey in BeanEditForm?
Hello,
I was wondering if there was an easy way to add properties to fields in a
BeanEditForm.
Our application needs "tabindex" and "accesskey" in all fields in order to
comply with federal rules dealing with accessibility. Is there a way to add
these 2 properties to the fields in the form or should I just create the
form by hand instead of using BeanEditForm?
Thanks for any help!
--
View this message in context: http://www.nabble.com/Tabindex-and-accesskey-in-BeanEditForm--tp22380749p22380749.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tabindex and accesskey in BeanEditForm?
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
On Mon, Mar 9, 2009 at 11:19 AM, leechj <le...@gmail.com> wrote:
>
> Thanks Luther,
> But I'm still a bit new to this and can't quite figure out what to do based
> on the example provided in the link you gave.
>
> I've implemented DataTypeAnalyzer but I don't know what to do in the
> identifyDataType method.
> It seems like all this does is give back a type. How do I create my own
> type?
> Also how do I set the tabindex and accesskey values?
> Maybe if I saw a more concrete example I'd understand it better, how did you
> go about solving your problem? Any example code would be extremely helpful.
>
> Thanks for any help you can give!
>
> -Nate
>
>
>
> luther.baker wrote:
>>
>> Take a look at Thiago's response to my *similar* question earlier today:
>>
>> http://www.nabble.com/t%3ATextField-and-t%3ATextArea-to22375618.html
>>
>> -Luther
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Tabindex-and-accesskey-in-BeanEditForm--tp22380749p22413416.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tabindex and accesskey in BeanEditForm?
Posted by leechj <le...@gmail.com>.
Thanks Luther,
But I'm still a bit new to this and can't quite figure out what to do based
on the example provided in the link you gave.
I've implemented DataTypeAnalyzer but I don't know what to do in the
identifyDataType method.
It seems like all this does is give back a type. How do I create my own
type?
Also how do I set the tabindex and accesskey values?
Maybe if I saw a more concrete example I'd understand it better, how did you
go about solving your problem? Any example code would be extremely helpful.
Thanks for any help you can give!
-Nate
luther.baker wrote:
>
> Take a look at Thiago's response to my *similar* question earlier today:
>
> http://www.nabble.com/t%3ATextField-and-t%3ATextArea-to22375618.html
>
> -Luther
>
>
>
--
View this message in context: http://www.nabble.com/Tabindex-and-accesskey-in-BeanEditForm--tp22380749p22413416.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tabindex and accesskey in BeanEditForm?
Posted by Luther Baker <lu...@gmail.com>.
Take a look at Thiago's response to my *similar* question earlier today:
http://www.nabble.com/t%3ATextField-and-t%3ATextArea-to22375618.html
-Luther
On Fri, Mar 6, 2009 at 3:25 PM, leechj <le...@gmail.com> wrote:
>
> Hello,
> I was wondering if there was an easy way to add properties to fields in a
> BeanEditForm.
> Our application needs "tabindex" and "accesskey" in all fields in order to
> comply with federal rules dealing with accessibility. Is there a way to add
> these 2 properties to the fields in the form or should I just create the
> form by hand instead of using BeanEditForm?
>
> Thanks for any help!
>
>
> --
> View this message in context:
> http://www.nabble.com/Tabindex-and-accesskey-in-BeanEditForm--tp22380749p22380749.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
Re: Tabindex and accesskey in BeanEditForm?
Posted by "Thiago H. de Paula Figueiredo" <th...@gmail.com>.
One possible approach would be to create a mixin that modifies the DOM
generated by BeanEditor/BeanEditForm to add tabindex and accesskey
automatically. On the other hand, if you can't think of any algorithm
that provides tabindex and accesskey automatically (i.e. you need to
manually define each one), than you need to declare each field
yourself, not using BeanEditor/BeanEditForm.
--
Thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org
Re: Tabindex and accesskey in BeanEditForm?
Posted by Howard Lewis Ship <hl...@gmail.com>.
The thing to remember is that Grid and BeanEditForm are intended as
scaffolding to get you up and running quick. As your application gets
refined, you may start to pull apart the scaffolding components to
build something more precisely tuned to your specific requirements. It
is not my intention that we should keep layering on more parameters
and models and such to make BeanEditForm and Grid the be-all and
end-all of editting and display components; they're really about
keeping momentum going, especially during the early, frustrating parts
of writing an application: those first few steps.
On Fri, Mar 6, 2009 at 2:25 PM, leechj <le...@gmail.com> wrote:
>
> Hello,
> I was wondering if there was an easy way to add properties to fields in a
> BeanEditForm.
> Our application needs "tabindex" and "accesskey" in all fields in order to
> comply with federal rules dealing with accessibility. Is there a way to add
> these 2 properties to the fields in the form or should I just create the
> form by hand instead of using BeanEditForm?
>
> Thanks for any help!
>
>
> --
> View this message in context: http://www.nabble.com/Tabindex-and-accesskey-in-BeanEditForm--tp22380749p22380749.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org