If you get your values out of the form bean, and this form bean is valid not
only for one request (configured in struts-config.xml), then you don't have
to repopulate. 

If you explicitly want to repolulate, then this should be done in your
action. But as I said, this is not necessary if you configure the validity
in the right way.

Bernhard

-----Ursprüngliche Nachricht-----
Von: Kwok Peng Tuck [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 28. Februar 2003 10:44
An: Struts Users Mailing List
Betreff: Re: AW: AW: AW: Question about <html:select> (again)


I've managed to fix this problem and if you click submit without 
validation then it is able to get the values :)

But if you validate it and the page gets redirected  back to the input 
page then the input page complains that it no longer able to get the 
collection.
Where or how should I repopulate the list  Bernhand ?

ps : my tags look like this now, along with the necessary class changes.

 <html:select name="compose" multiple="true" property="recipients"  
size="8">
            <html:optionsCollection label="name" 
property="beanCollection" value="number"/>
</html:select>


>  
>


---------------------------------------------------------------------
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]

Reply via email to