Re: radio tag - how to have the items order vertically?

2008-02-18 Thread xianwinwin
THANK YOU Jeromy this solved the question I presented. Jeromy Evans - Blue Sky Minds wrote: xianwinwin wrote: Thank you Jeramy! I tried to use the cssStyle for a while and came up with this: s:radio cssStyle={display: block;} label=Group name=groupSelect

Re: radio tag - how to have the items order vertically?

2008-02-15 Thread xianwinwin
Thank you Jeramy! I tried to use the cssStyle for a while and came up with this: s:radio cssStyle={display: block;} label=Group name=groupSelect list=groups/ the result came up with a 'twist' the name-of-group comes after the radio button image --

Re: radio tag - how to have the items order vertically?

2008-02-15 Thread Jeromy Evans
xianwinwin wrote: Thank you Jeramy! I tried to use the cssStyle for a while and came up with this: s:radio cssStyle={display: block;} label=Group name=groupSelect list=groups/ Unfortunately the the cssStyle is applied to the input, not to the label as well. As you're using a

Re: radio tag - how to have the items order vertically?

2008-02-15 Thread Jeromy Evans
Dave Newton wrote: --- Jeromy Evans [EMAIL PROTECTED] wrote: Unfortunately the the cssStyle is applied to the input, not to the label as well. On this note I'm wondering if anybody has any desire for the default theme to have things like label styles, an id on the tr... (which I

Re: radio tag - how to have the items order vertically?

2008-02-15 Thread Dave Newton
--- Jeromy Evans [EMAIL PROTECTED] wrote: Unfortunately the the cssStyle is applied to the input, not to the label as well. On this note I'm wondering if anybody has any desire for the default theme to have things like label styles, an id on the tr... (which I need for hiding/showing etc)

Re: radio tag - how to have the items order vertically?

2008-02-14 Thread xianwinwin
you suggested: Use theme=simple on the radio then add breaks between each radio button; or Q: what do you mean by add breaks between each radio button Thank you! -- View this message in context:

Re: radio tag - how to have the items order vertically?

2008-02-14 Thread Dave Newton
--- xianwinwin [EMAIL PROTECTED] wrote: you suggested: Use theme=simple on the radio then add breaks between each radio button; or Q: what do you mean by add breaks between each radio button You'll probably need to either: modify an existing s:radio.../ template, create your own, or

Re: radio tag - how to have the items order vertically?

2008-02-14 Thread Jeromy Evans
When you use theme=simple the radio buttons are rendered as plain html inputs: eg. input type=radio name=... You can simply lay theme out using HTML or css: eg. with line breaks: s:radio .../br/s:radio .../br/ with css: input['type='radio'] { display: block; } or within a table. If you're

Re: radio tag - how to have the items order vertically?

2008-02-14 Thread xianwinwin
is there any concrete example of how to modify an existing s:radio.../ template, thanks! -- View this message in context: http://www.nabble.com/radio-tag---how-to-have-the-items-order-vertically--tp15468384p15492763.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: radio tag - how to have the items order vertically?

2008-02-13 Thread Jeromy Evans
xianwinwin wrote: Hi there, I have a list of items ordered on my jsp page with a radio buttons: s:radio name=fruitsname list=fruits / my question is how to have the list vertically? (I get it horizontally) I tried to dig the info from http://struts.apache.org/2.x/docs/radio.html but