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=32653>.
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=32653





------- Additional Comments From [EMAIL PROTECTED]  2004-12-13 00:03 -------
The various methods inside BeanUtils and PropertyUtils do the following general
process when they look at the base bean object:

* Is it a DynaBean?  If so, use DynaBean get/set methods.

* Is it a Map?  If so, use Map get/put methods.

* Otherwise, treat it as a JavaBean and use introspection
  to acquire the property getter and setter methods.

You are proposing to change the order, which breaks backwards compatibility with
all users of BeanUtils (including non-Struts users) that rely on this ordering.
 Therefore, if hou want to consider this a bug report, WONTFIX remains the
correct resolution.

If you want to reopen this as an RFE for a different kind of BeanUtils or
PropertyUtils class that does something different (or adds some new methods that
do something different), that's fine.  But remember, this is your itch you want
scratched, so code would speak louder than words.

By the way, another simple solution with no code changes at all is to make the
Map you are after a property of your ActionForm, instead of being the ActionForm
itself.  That way, expressions referencing this Map will do what you want them
to do (call the map get/put methods).



-- 
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