Hi Sri / Mohan,
Does the "value" need to be a String or a String[] if multiple=true is set, for value
to be pre-selected?
Many thanks,
David
"Sri Sankaran" <[EMAIL PROTECTED]> on 03/24/2003 09:53:13 PM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
cc:
Subject: RE: pre-selected values in multi-select box not working?
Need more information. Please post relevant portions of your form-bean and
JSP.
Have you taken a look at the html-select.jsp in the struts-exercise-taglib
application that ships with Struts?
Sri
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 24, 2003 5:36 PM
To: [EMAIL PROTECTED]
Subject: pre-selected values in multi-select box not working?
Hi.
Can anyone tell me if this is working please? I have a String[] which
holds the values selected in a multi-select box. The submission part works
fine, but pre-selecting the values does not. ie if I populate the String[]
with values that should show up already selected when the page is
displayed, nothing happens.
Please help!
Many thanks,
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]