You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/08/09 02:37:07 UTC

DO NOT REPLY [Bug 9322] - Add ability to get Indexed Properties in whole

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9322>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9322

Add ability to get Indexed Properties in whole

craig.mcclanahan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From craig.mcclanahan@sun.com  2002-08-09 00:37 -------
You actually can access the array as a whole.  Assume an indexed String property
named foo.  If you use the indexed getter method:

  String value = (String) dynaBean.get("foo", 2);

you are getting the third element.  However, if you use the non-indexed getter:

  String values[] = (String[]) dynaBean.get("foo");

you retrieve the actual array itself.  Setters work the same.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>