commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28358] - Problems on indexed property with JDK 1.4
Date Mon, 12 Jul 2004 02:28:38 GMT
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=28358>.
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=28358

Problems on indexed property with JDK 1.4





------- Additional Comments From niallp@apache.org  2004-07-12 02:28 -------
The only observation I have on this is that you are naming your property and 
indexed property methods with the same name. If you modify one of the method 
names does it then work properly?

For example have:

  public List getChilds() {
    return childs;
  }
  public ChildsBean getOneChild(int index) {
    ....
  }

for (int j = 0; j < newChilds.size(); j++)  {
   BeanUtils.copyProperties(PropertyUtils.getIndexedProperty
(valBean,"oneChild",j), newChilds.get(j));
}

Niall

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message