Prior to displaying the page, populate selectedModule property of the form with its corresponding row.id values. When <html:multibox .../> is invoked on the page, it will "recongize" the relationship and render the checkboxes as checked.
/robert
Ben Taylor wrote:
Hi,
Can anyone let me know how to automatically check checkboxes?
Below is my current code: <html:multibox property="selectedModules"> <bean:write name="row" property="id"/> </html:multibox>
This is one of the many ways I've tried to get it to work: <html:multibox property="selectedModules" property="${row.id}"> {some Boolean equation} </html:multibox>
Cheers for you help!
--------------------------------------------------------------------- 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]