Hi,

I'd like to choose the default value of my html:select in the action class. What is the parameter to set ?


Action :

request.setAttribute("partnerslist", getPartnerListFromDataBase(dataSource));


JSP:

       <html:select property="partner_id">
<html:options collection="partnerslist" property="value" labelProperty="label"/>
       </html:select>



Thanks.

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

Reply via email to