From: Chad B. <cwb...@us...> - 2008-08-26 17:42:49
|
User: cwbrandon Date: 08/08/26 10:42:59 Modified: andromda-jsf2/src/main/resources/templates/jsf2/forms FormImpl.java.vsl Log: Add back code to always render backing lists for attributes (and add comment about why) Revision Changes Path 1.11 +3 -2 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/forms/FormImpl.java.vsl Index: FormImpl.java.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/forms/FormImpl.java.vsl,v retrieving revision 1.10 retrieving revision 1.11 diff -u -w -r1.10 -r1.11 --- FormImpl.java.vsl 4 Aug 2008 16:58:10 -0000 1.10 +++ FormImpl.java.vsl 26 Aug 2008 17:42:59 -0000 1.11 @@ -82,11 +82,12 @@ #end #if (!$field.type.enumeration) #foreach ($attribute in $field.attributes) -#if ($attribute.isSelectable($field) || $attribute.type.enumeration || $attribute.isBackingValueRequired($field)) +## - Chad Brandon - we ALWAYS render the backing list for attributes in the form +## impl (because there are complex conditions where they might not show up and cause +## uncompilable code; if we always render, we don't need to figure out what they are) #renderBackingListImplSupport($attribute $field) #end #end -#end #end #if ($action.formResetRequired) |