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=23815>. 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=23815 PropertyUtils.getNestedProperty() doesn't allow getXxxx on Map-Instances any longer Summary: PropertyUtils.getNestedProperty() doesn't allow getXxxx on Map-Instances any longer Product: Commons Version: unspecified Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Bean Utilities AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi there! For a long time we use Struts 1.0 and <bean:write ...> on objects derivated from Map. Back then <bean:write name="obj1" property="obj2.obj3"> did a obj1.getObj2 ().getObj3(), even when obj2 was an object derivated from Map. Since Struts 1.1 the bean:write above does not any longer access "getObj3()". Instead it does (in PropertyUtils.getNestedProperty() ) "if (bean instanceof Map) { bean = ((Map) bean).get(name); }" - in my example: obj1.getObj2().get ("obj3"). This causes a massive incompatibility with JSP pages generated under Struts 1.0. We have several projects with this problem if we would upgrade them to Struts 1.1 (which would take some time cause it means redesign of all classes that are derivated from Map and accessed via <bean:write> and other tags). I hope there can be an alternative solution provided by Struts! Thanks for the time, Thomas Sahling --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
