Revision: 1739 http://svn.sourceforge.net/spring-rich-c/?rev=1739&view=rev Author: jhoskens Date: 2007-04-04 02:49:47 -0700 (Wed, 04 Apr 2007)
Log Message: ----------- use beanWrapper.getPropertyType() instead of the propertyDescriptor. The getPropertyType() method has some additional checks to take eg maps into account. Modified Paths: -------------- trunk/spring-richclient/binding/src/main/java/org/springframework/binding/support/BeanPropertyAccessStrategy.java Modified: trunk/spring-richclient/binding/src/main/java/org/springframework/binding/support/BeanPropertyAccessStrategy.java =================================================================== --- trunk/spring-richclient/binding/src/main/java/org/springframework/binding/support/BeanPropertyAccessStrategy.java 2007-03-31 11:47:50 UTC (rev 1738) +++ trunk/spring-richclient/binding/src/main/java/org/springframework/binding/support/BeanPropertyAccessStrategy.java 2007-04-04 09:49:47 UTC (rev 1739) @@ -363,7 +363,7 @@ private class BeanPropertyMetaAspectAccessor implements PropertyMetadataAccessStrategy { public Class getPropertyType(String propertyPath) { - return beanWrapper.getPropertyDescriptor(getFullPropertyPath(propertyPath)).getPropertyType(); + return beanWrapper.getPropertyType(getFullPropertyPath(propertyPath)); } public boolean isReadable(String propertyPath) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ spring-rich-c-cvs mailing list spring-rich-c-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/spring-rich-c-cvs