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="%{employee.active}"/>
> 
> or
> 
> <s:radio list="#{'true':'Yes', 'false':'No'}" name="employee.active"
> value="true"/>
> 
> 
> Regards
> -- 
> Lukasz
> http://www.lenart.org.pl/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/struts-2-radio-tag-selected-default-tp17642159p17645246.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]

Reply via email to