Can you elaborate on :

1) Where is the data coming from for the working version?
2) What do you mean by "not working"?  Does it display an empty list?  Does it crash?

Sri

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, December 03, 2002 10:38 AM
> To: [EMAIL PROTECTED]
> Subject: problem with select tag
> 
> 
> hi all,
> 
> I've a trouble while using the html select tag.
> 
> when a use the select tag with the fragment code below, 
> everything works well
> 
> <html:select  styleClass="listBox" property='fundCodes' 
> size="10" multiple= "true">
>                         <html:options name='fundOptionCodes'
>                         labelName='fundOptionLabels' />
> 
> fundCodes is a type of String[] and fundOptionCodes and 
> fundOptionLabels are both ArrayList.
> 
> The problem occurs when I try to get the same result from my 
> action form.
> 
> the code that does not works is here :
> 
> <html:select  styleClass="listBox" property='selectedCodes' 
> size="10" multiple="true">
>                         <html:options labelName='selectedFundLabels'
>                         labelProperty='selectedFundCodes' />
>                         </html:select>
> 
> 
> selectedFundLabels and selectedFundCodes are both of types 
> ArrayList of my ActionForm and selectedCodes is of type String[].
> 
> for all attributes, getter and setter are provided.
> 
> I dont know why this code is not working and I really need to 
> be able to populate my values from the ActionForm.
> 
> Can someone tells me where my failure is from
> 
> thanks in advance.
> 
> Meissa
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-> [EMAIL PROTECTED]>
> For 
> additional commands, 
> e-mail: <mailto:[EMAIL PROTECTED]>
> 
> 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to