From: Chad B. <cwb...@us...> - 2008-07-03 16:32:56
|
User: cwbrandon Date: 08/07/03 09:33:05 Modified: andromda-jsf2/src/main/resources/templates/jsf2/flow ViewPopulator.java.vsl Log: add comment to resettable view variables Revision Changes Path 1.10 +1 -0 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/flow/ViewPopulator.java.vsl Index: ViewPopulator.java.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/flow/ViewPopulator.java.vsl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -w -r1.9 -r1.10 --- ViewPopulator.java.vsl 28 May 2008 20:26:34 -0000 1.9 +++ ViewPopulator.java.vsl 3 Jul 2008 16:33:04 -0000 1.10 @@ -189,6 +189,7 @@ { request.setAttribute("$variable.name", org.apache.commons.beanutils.PropertyUtils.getProperty(form, "$variable.name")); #if ($variable.reset) + // reset $variable.name (since the model indicates that it should be reset) org.apache.commons.beanutils.PropertyUtils.setProperty(form, "$variable.name", $variable.type.javaNullString); #end } |