You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/07/09 09:08:23 UTC
DO NOT REPLY [Bug 29571] -
[beanutils]Inconsistent behaviour of BeanUtils.setProperty() and BeanUtils.getProperty() methods
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=29571>.
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=29571
[beanutils]Inconsistent behaviour of BeanUtils.setProperty() and BeanUtils.getProperty() methods
niallp@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
Summary|Inconsistent behaviour of |[beanutils]Inconsistent
|BeanUtils.setProperty() and |behaviour of
|BeanUtils.getProperty() |BeanUtils.setProperty() and
|methods |BeanUtils.getProperty()
| |methods
------- Additional Comments From niallp@apache.org 2004-07-09 07:08 -------
I'm marking this as a duplicate of Bug 26904 - in the example you give
BeanUtils.setProperty(form, "values[2].label", "doesItWork?");
BeanUtils.getProperty(form, "values[2].label");
where values is an array of Maps, then BeanUtils treats "label" as a simple
property if the set/getSimpleProperty methods handled Maps as requested in Bug
26904 I believe your example would work.
Niall
*** This bug has been marked as a duplicate of 26904 ***
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org