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





------- Additional Comments From [EMAIL PROTECTED]  2005-05-29 08:56 -------
Ok, it's decided that we'll not build functionality into PropertyUtilsBean to 
control setNestedProperty/getNestedProperty behaviour. Instead PropertyUtilsBean
can be subclassed.

However it is reasonably complicated to subclass those methods; they've got a
lot of code. So I've committed a pretty simple patch that creates a couple of
new protected methods that users can override with greater ease. Note that while
the patch is physically moderately large, 99% of it is comments.

This patch also checks for MAPPED_DELIM and INDEXED_DELIM values in the
parameter name when accessing Map properties. While writing unit tests I was
puzzled for a while before realising that the "property" created in a map had a
name "submap(beta1)" rather than "submap". Indexed and mapped properties just
aren't supported when the object is a Map, and it's better to say so than do
something the user didn't expect.

Niall, can you review?
  * r178928
  * r178929

Thomas will this work for you?


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