struts 2 radio tag selected default

2008-06-04 Thread aspat
to use : s:radio id=listSWModelradio name=listSWModel list=listSWModelList / Can someone help me, thanks, aspat -- View this message in context: http://www.nabble.com/struts-2-radio-tag-selected-default-tp17642159p17642159.html Sent from the Struts - User mailing list archive at Nabble.com

Re: struts 2 radio tag selected default

2008-06-04 Thread aspat
I find the solution : s:radio name=listSWModel list=listSWModelCreate value=#{listSWModelCreate[0]:'Yes'}/ -- View this message in context: http://www.nabble.com/struts-2-radio-tag-selected-default-tp17642159p17645206.html Sent from the Struts - User mailing list archive at Nabble.com.

Re: struts 2 radio tag selected default

2008-06-04 Thread aspat
Thanks for your answer, the solution is : (i want to select the first item of my list ) s:radio name=listSWModel list=listSWModelCreate value=#{listSWModelCreate[0]:'Yes'}/ aspat Lukasz Lenart wrote: Hi, s:radio list=#{'true':'Yes', 'false':'No'} name=employee.active value