FYI. --- Lan N Phan <[EMAIL PROTECTED]> wrote:
> http://www.mail-archive.com/dev@struts.apache.org/msg24522.html > > I found a work-around for this, but I don't know how > to post it up. Can > you please post it for me? > > Assume that the name of the checkboxes is > 'myCheckbox' > > What I do is: > - Do not reset the checkbox(es) in the reset() > method > - In the validate() method, retrieve the value of > 'myCheckbox' by > String[] userSelectedCheckboxes = > request.getParameterValues("myCheckbox"); > if (userSelectedCheckboxes == null) { > // we know that the user did not > select anything > // so we create ActionMessage here, > and reset the > checkboxes > } > It works for me. > > Lan Phan __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]