Author: tchemit Date: 2013-07-06 17:43:30 +0200 (Sat, 06 Jul 2013) New Revision: 2694 Url: http://nuiton.org/projects/jaxx/repository/revisions/2694 Log: fixes #2739: Regression due to #2731 (Can't use any longer Bean widget API with generic types) Modified: trunk/jaxx-compiler/src/main/java/jaxx/compiler/tags/DefaultObjectHandler.java Modified: trunk/jaxx-compiler/src/main/java/jaxx/compiler/tags/DefaultObjectHandler.java =================================================================== --- trunk/jaxx-compiler/src/main/java/jaxx/compiler/tags/DefaultObjectHandler.java 2013-07-03 10:58:48 UTC (rev 2693) +++ trunk/jaxx-compiler/src/main/java/jaxx/compiler/tags/DefaultObjectHandler.java 2013-07-06 15:43:30 UTC (rev 2694) @@ -734,12 +734,15 @@ if (ClassDescriptorHelper.getClassDescriptor(BeanTypeAware.class).isAssignableFrom(object.getObjectClass())) { try { - ClassDescriptorHelper.getClassDescriptor(value); + String fqn = compiler.getImportedType(value); + ClassDescriptorHelper.getClassDescriptor(fqn); // add beanType from genericType if (log.isDebugEnabled()) { log.debug("Add beanType property: " + value + " to " + object); } - setAttribute(object, BeanTypeAware.PROPERTY_BEAN_TYPE, "{" + value + ".class}", true, compiler); + + + setAttribute(object, BeanTypeAware.PROPERTY_BEAN_TYPE, "{" + fqn + ".class}", true, compiler); } catch (ClassNotFoundException e) { // not a class, must be a reference to another generic type if (log.isDebugEnabled()) {