You need to provide Struts with an actual List (or Set or the like).  It
looks like you are providing a single String.  You will need to parse that
String out into a List of Strings in order for <s:radio> to treat it as a
List.
jk

2009/6/24 BlackKnight <wwwwar3...@gmail.com>

> Hi,
>
> I am trying to generate a dynamic raido buttom list using
>
> <s:radio name="%{optionname}" list="%{optionvalue}" />
>
> where optionvalue is stored in database equal
>
> #{'Faculty':'Faculty<BR>','Staff':'Staff<BR>','Resident':'Resident<BR>','Intern':'Intern<BR>'}
>
> however struts2 doesn't generate the radio button list intead he
> generate only 1 radio button with value equals
>
> #{'Faculty':'Faculty<BR>','Staff':'Staff<BR>','Resident':'Resident<BR>','Intern':'Intern<BR>'}
>
> Any help?
>
>
> Thanks!
>
>
> Frank
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


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

Reply via email to