You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by novotny <no...@gridsphere.org> on 2009/03/05 02:12:41 UTC

using tabindex attribute in a radio input

Hi,

It's a bit complex but i"m using the wicket ajax RadioGroup to display/hide
another form. That part works and when the radio is selected the form is
displayed. However the input textfields all have "tabindex" attributes set
(thsi allows a user to tab to the next input field). However if the
"tabindex" is added to a <input type="radio" tabindex="5"
wicket:id="myradio"/> the tabindex doesn't seem to be there. I tried view
source of the HTML but since this form is in a webmarkupcontainer that is
normally not visible, it doesn't show up. Initially I had the "tabindex" in
the HTML just as the textfields, and then I tried adding the attribute in
java both as onComponentTag and SimpleAttributeModifier but it just doesn't
display.... any help is greatly appreciated!

Thanks, Jason


 
-- 
View this message in context: http://www.nabble.com/using-tabindex-attribute-in-a-radio-input-tp22343333p22343333.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: using tabindex attribute in a radio input

Posted by Igor Vaynberg <ig...@gmail.com>.
the group itself wont show tabindex, you have to add it to the radio
components you add to the group.

-igor

On Wed, Mar 4, 2009 at 5:17 PM, novotny <no...@gridsphere.org> wrote:
>
> I just happened to google https://issues.apache.org/jira/browse/WICKET-2031
>  as someone else filed the same issue. However I am using RadioGroup and
> it's still not working... if someone has a simple example of this, let me
> know!
>
> Thanks, Jason
>
>
>
> novotny wrote:
>>
>> Hi,
>>
>> It's a bit complex but i"m using the wicket ajax RadioGroup to
>> display/hide another form. That part works and when the radio is selected
>> the form is displayed. However the input textfields all have "tabindex"
>> attributes set (thsi allows a user to tab to the next input field).
>> However if the "tabindex" is added to a <input type="radio" tabindex="5"
>> wicket:id="myradio"/> the tabindex doesn't seem to be there. I tried view
>> source of the HTML but since this form is in a webmarkupcontainer that is
>> normally not visible, it doesn't show up. Initially I had the "tabindex"
>> in the HTML just as the textfields, and then I tried adding the attribute
>> in java both as onComponentTag and SimpleAttributeModifier but it just
>> doesn't display.... any help is greatly appreciated!
>>
>> Thanks, Jason
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/using-tabindex-attribute-in-a-radio-input-tp22343333p22343371.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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


Re: using tabindex attribute in a radio input

Posted by novotny <no...@gridsphere.org>.
I just happened to google https://issues.apache.org/jira/browse/WICKET-2031
 as someone else filed the same issue. However I am using RadioGroup and
it's still not working... if someone has a simple example of this, let me
know!

Thanks, Jason



novotny wrote:
> 
> Hi,
> 
> It's a bit complex but i"m using the wicket ajax RadioGroup to
> display/hide another form. That part works and when the radio is selected
> the form is displayed. However the input textfields all have "tabindex"
> attributes set (thsi allows a user to tab to the next input field).
> However if the "tabindex" is added to a <input type="radio" tabindex="5"
> wicket:id="myradio"/> the tabindex doesn't seem to be there. I tried view
> source of the HTML but since this form is in a webmarkupcontainer that is
> normally not visible, it doesn't show up. Initially I had the "tabindex"
> in the HTML just as the textfields, and then I tried adding the attribute
> in java both as onComponentTag and SimpleAttributeModifier but it just
> doesn't display.... any help is greatly appreciated!
> 
> Thanks, Jason
> 
> 
>  
> 

-- 
View this message in context: http://www.nabble.com/using-tabindex-attribute-in-a-radio-input-tp22343333p22343371.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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