Can you please send the <s:select> tag entry you have in your JSP?

-----Original Message-----
From: srinivasa_v . [mailto:srinivas...@sify.com] 
Sent: Monday, December 15, 2008 5:51 AM
To: Struts Users Mailing List
Subject: <s:select with multiple="true"

Hi All,
I am using    <s:select with multiple="true"  ,say for langauges.
while filling the form I am able to select the multiple lanaguges.

But while editing the form,I need to pre poulate the selected data .....
but I am unable to do it dynamicaly.

But when I hardcode those values ,I am able to prepoulate the data .is there
any way to do it dynamically

String name="{'ab','fr'}";
<s:select label="Languages Spoken" name="Languages" value="<%=name%>"
multiple="true" size="3" />


regards
srinivas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to