You don't need to use the <s:iterator> tag to accomplish this; you can use
the <s:radio> tag.  Just put the list of options in the "list" attribute of
<s:radio> (http://cwiki.apache.org/WW/radio.html has more details).

If you don't want the label displayed against the radio button, consider
changing the theme from "simple" to "xhtml."  If you don't like the way that
one works, it is remarkably easy to customize tags for your own use.  See
http://cwiki.apache.org/WW/extending-themes.html for details on that.

jk

On Wed, Jun 11, 2008 at 8:13 AM, ashley_in <[EMAIL PROTECTED]> wrote:

>
> I am newbie and need to display radio button for per entry in the iterator.
> Also, I need one of the option selected based on the attribute value in the
> entry of the iterator and I don't want the label displayed against radio
> button. How can I accomplish this using Struts2 tags? Please help
> --
> View this message in context:
> http://www.nabble.com/Radio-button-in-Iterator-tp17776089p17776089.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Jim Kiley
Technical Consultant | Summa
[p] 412.258.3346 [m] 412.445.1729
http://www.summa-tech.com

Reply via email to