User: cwbrandon
Date: 08/05/02 14:21:40
Modified: andromda-jsf2/src/main/resources/META-INF/andromda
cartridge.xml
andromda-jsf2/src/main/resources/templates/jsf2/views/portlet
view-action.xhtml.vsl
Removed: andromda-jsf2/src/main/resources/templates/jsf2/views/portlet
view-hidden-parameters.xhtml.vsl
Log:
don't generate hidden parameters for portlets (they aren't needed)
Revision Changes Path
1.28 +0 -16 cartridges/andromda-jsf2/src/main/resources/META-INF/andromda/cartridge.xml
Index: cartridge.xml
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/META-INF/andromda/cartridge.xml,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -w -r1.27 -r1.28
--- cartridge.xml 29 Apr 2008 19:22:12 -0000 1.27
+++ cartridge.xml 2 May 2008 21:21:39 -0000 1.28
@@ -1255,22 +1255,6 @@
</template>
<template
- path="templates/jsf2/views/portlet/view-hidden-parameters.xhtml.vsl"
- outputPattern="${action.viewFragmentPath}-hidden-params.xhtml"
- outlet="views"
- overwrite="true"
- outputCondition="portlet">
- <modelElements variable="action">
- <modelElement>
- <type name="org.andromda.metafacades.uml.FrontEndAction">
- <property name="tableLink">false</property>
- <property name="hiddenParameters"/>
- </type>
- </modelElement>
- </modelElements>
- </template>
-
- <template
path="templates/jsf2/views/portlet/view-popup.xhtml.vsl"
outputPattern="${view.path}.xhtml"
outlet="views"
1.8 +0 -3 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/portlet/view-action.xhtml.vsl
Index: view-action.xhtml.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/portlet/view-action.xhtml.vsl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -r1.7 -r1.8
--- view-action.xhtml.vsl 24 Apr 2008 18:14:22 -0000 1.7
+++ view-action.xhtml.vsl 2 May 2008 21:21:40 -0000 1.8
@@ -26,9 +26,6 @@
#set ($clientValidation = $clientValidation && $action.validationRequired)
#set ($formValidateName = "validate$stringUtils.capitalize($formName)")
<h:form id="$formName"#if($clientValidation) onsubmit="return $formValidateName(this);"#end#if($action.needsFileUpload) enctype="multipart/form-data"#end>
-#if (!$action.hiddenParameters.empty)
- <ui:include src="${action.viewFragmentPath}-hidden-params.xhtml"/>
-#end
<h:panelGrid columns="2">
#foreach ($parameter in $action.parameters)
#if (!$parameter.complex || $parameter.type.enumeration)
|