try setting scope="session" in your action. HTH ----- Original Message ----- From: "Mykola Ostapchuk" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 10:35 AM Subject: Multibox persistence problem
> Hi, > > I'm using multibox to display multiple checkboxes: > > <font size=2><pre> > <logic:iterate id="item" name="allRoles"> > <html:multibox name="requestUser" property="selectedRoles"> > <bean:write name="item" property="value"/> > </html:multibox> > <bean:write name="item" property="label"/> > </logic:iterate> > </pre></font> > > Everything works fine, the only problem is - when there's a validation error > on my form and it's reposted with error messages, it always return all > checkboxes unchecked (even if I check some of them before). > > How could I keep checkbox values in this situation? > > > --------------------------------------------------------------------- > 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]