Re: Dynamically setting tabindex for input elements in a component

2010-10-02 Thread Denis McCarthy
Perfect, thanks On Mon, Sep 27, 2010 at 6:44 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 27 Sep 2010 14:09:18 -0300, Denis McCarthy < > dmccar...@annadaletech.com> wrote: > > > t:label="message:COUNTRY" tabindex="${tabIndexStart + 1}" /> >> > > t:label="mess

Re: Dynamically setting tabindex for input elements in a component

2010-09-27 Thread Thiago H. de Paula Figueiredo
On Mon, 27 Sep 2010 14:09:18 -0300, Denis McCarthy wrote: public int getTabIndex() { } public int getTabIndex(int skip) { getTabIndex() + skip; } -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instr

Re: Dynamically setting tabindex for input elements in a component

2010-09-27 Thread Andreas Andreou
So, your component contains 70+ inputs and I guess it's included in pages more than once... If you're happy with the default taborder within one render of your component (and you don't need to manually tweak it), then just set the taborder in all your inputs to be the same number. And then, on the

Dynamically setting tabindex for input elements in a component

2010-09-27 Thread Denis McCarthy
Hi I have a pretty large component that needs to appear in one of two places in a large form, depending on who's using the form. The dynamic placement I can do pretty easily using delegates. However, I'm struggling with the tabindex of the various input elements in the component. I want them to var