User: ecrutchfield
Date: 06/09/17 17:11:26
Modified: andromda-aspdotnet/src/main/resources/templates/aspdotnet/web2003
webform.aspx.cs.vsl
Log:
fix method call when generating dummy data
Revision Changes Path
1.2 +2 -2 cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/web2003/webform.aspx.cs.vsl
Index: webform.aspx.cs.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-aspdotnet/src/main/resources/templates/aspdotnet/web2003/webform.aspx.cs.vsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -r1.1 -r1.2
--- webform.aspx.cs.vsl 17 Sep 2006 17:30:44 -0000 1.1
+++ webform.aspx.cs.vsl 18 Sep 2006 00:11:26 -0000 1.2
@@ -16,8 +16,8 @@
#foreach($action in $webform.outgoing)
#foreach($parameter in $action.parameters)
#if ($parameter.isSelectable())
- base.Controller.${action.formImplementationPropertyName}.Set${parameter.labelListName}(new string[]{"Dummy Item 1", "Dummy Item 2", "Dummy Item 3"});
- base.Controller.${action.formImplementationPropertyName}.Set${parameter.valueListName}(new string[]{"1", "2", "3"});
+ base.Controller.${action.formImplementationPropertyName}.Set$stringUtils.capitalize($parameter.labelListName)(new string[]{"Dummy Item 1", "Dummy Item 2", "Dummy Item 3"});
+ base.Controller.${action.formImplementationPropertyName}.Set$stringUtils.capitalize($parameter.valueListName)(new string[]{"1", "2", "3"});
#end
#end
#end
|