i have mutibox codes in JSP: <logic:iterate id="colpermission" name="colpermissions"> <tr> <td align="right" style="vertical-align: top;bgcolor="#CBDAE5"> <html:multibox property="selectedItems"> <bean:write name="colpermission" property="name"/> </html:multibox> </td> <td style="vertical-align: top;" bgcolor="#CBDAE5"> <bean:write name="colpermission" property="name"/> </td> <td style="vertical-align: top;" bgcolor="#CBDAE5"> <bean:write name="colpermission" property="description"/> </td> </tr> </logic:iterate> problem is how do i retreive the selected items in Action .class help !!
Question is after getting values -getparameterValues in action class and saving in db when next time page being reopened it should show the last time --checked box prepopulated multibox in short how do i prepopulate the multibox
Joined: Jan 23, 2002
Are you using a FormBean? If you aren't, start using one -- otherwise you'll have to write the pre-populating logic yourself. You could take a look at this for starters.