DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38534>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38534





------- Additional Comments From [EMAIL PROTECTED]  2006-02-11 00:24 -------
>> I guess the simplest solution is to change RequestUtil's populate method to 
ignore parameters starting with "multipartRequestHandler."

I've encountered problems like this on all forms. Struts blindly populates the
form with any matching request parameter, but many people also populate forms to
contain the output data. This data the form should never populate. 

If we take this particular problem and generalize it, Struts should contain some
sort of hook that allows a form to list which properties it should NEVER
populate.  As with all hooks, it should be extensible and customizable. This
could be a callback in a form which returns a map of property names with regex
capabilities.

Any other suggestions? If not a callback on the form to retrieve a map, what
else could we do? I am very interested in this problem too since it affects me
with other classes and I try to actively solve this defect.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to