On 3/13/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
Strachan, Paul wrote:
> I resolved this myself by simply overriding the set(String, Object)
> method in my form, to ignore certain request parameter names that are
> not of type String in my LazyValidatorForm.
>
If you feel strongly about this, please create a JIRA issue for possible
enhancement. You may have a good idea worth investigating :)
Part of the problem with the population is that most of the code is
burried in static RequestUtils methods - making providing different
behaviours difficult. I did some work for Struts 1.3 to refactor that
back into the Commands - with the BeanUtils populate being called from
the Command rather than a static request utils method. I think that
would be a first step for solutions to these kind of issues
https://issues.apache.org/struts/browse/STR-2772
Although that issue talks about multipart handling - it also
introduces a populate() method in AbstractPopulateActionForm that
calls BeanUtils populate() directly
Niall
Niall
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]