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] - [beanutils] Problems on indexed property with JDK 1.4
Date Fri, 16 Jun 2006 16:25:51 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


asirbu2002@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Additional Comments From asirbu2002@yahoo.com  2006-06-16 16:25 -------
(In reply to comment #18)
If you have a Bean with a property foo:List<foo1>  with 4 Methods getFoo() 
getFoo(index) setFoo() setFoo(index, newFoo1) jdk 1.5_06 will not return an 
IndexedPropertyDescriptor so the method getFoo(index) will never be called

To fix this I observed that if you made the change that Niall Pemberton
(comment #18) has exposed, in the PropertyUtilsBean class, then you can write 
only 3 methods getFoo() getFoo(index) setFoo(index,newFoo1) without getting an 
error.After that jdk1.5_06 will recognize your property like an 
indexedProperty and getFoo(index) will be called to fill in your form after a 
submit (Struts).


-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message