struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Beal <jbb...@gmail.com>
Subject Re: Validator - how to check a checkbox - solution
Date Wed, 16 Nov 2005 16:28:24 GMT
On 11/15/05, Michael Jouravlev <jmikus@gmail.com> wrote:
> But then you rely on the undocumented feature/gotcha in BeanUtils.
> What if the way the parameters are processed is changed in future
> versions? I think that this approach of setting "false" as default is
> useful not only for Validator usage, but for submitting checkbox
> values in general, it allows not to clear checkbox values in the form
> bean each time before submission.
>
> Should BeanUtils team clearly document that only first parameter of
> the same name is accepted?

This is the behavior of request.getParameter(), so I don't think
there's much risk with this ever changing, or much need for BeanUtils
to document it.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message