|
From: Chad B. <cwb...@us...> - 2008-03-28 23:25:38
|
User: cwbrandon
Date: 08/03/28 16:25:44
Modified: andromda-jsf2/src/main/resources/templates/jsf2/views/portlet
help.xhtml.vsl edit.xhtml.vsl
andromda-jsf2/src/main/resources/templates/jsf2/messages
messages.properties.vsl
Log:
fix layout of edit/help pages
Revision Changes Path
1.4 +1 -0 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/portlet/help.xhtml.vsl
Index: help.xhtml.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/portlet/help.xhtml.vsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- help.xhtml.vsl 28 Mar 2008 23:17:35 -0000 1.3
+++ help.xhtml.vsl 28 Mar 2008 23:25:44 -0000 1.4
@@ -4,4 +4,5 @@
<ui:define name="content">
<strong><font size="4">Help with $useCase.name</font></strong><br/>
</ui:define>
+</ui:composition>
</div>
\ No newline at end of file
1.4 +2 -0 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/portlet/edit.xhtml.vsl
Index: edit.xhtml.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/portlet/edit.xhtml.vsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -r1.3 -r1.4
--- edit.xhtml.vsl 28 Mar 2008 23:17:35 -0000 1.3
+++ edit.xhtml.vsl 28 Mar 2008 23:25:44 -0000 1.4
@@ -5,6 +5,7 @@
<ui:composition template="/layout/layout.xhtml">
<ui:define name="content">
<h:form>
+ <h:panelGrid columns="2">
#foreach ($attribute in $useCase.preferences.getAttributes(true))
<h:outputText value="#{messages['$attribute.messageKey']}:" style="font-weight: bold; text-align: right; width: 100%"/>
<h:inputText value="#{${useCase.controller.beanName}.preferences.${attribute.name}}"/>
@@ -13,4 +14,5 @@
<h:commandButton value="#{messages['action.save']}" action="#{${useCase.controller.beanName}.setPortletModeView}"/>
</h:form>
</ui:define>
+</ui:composition>
</div>
\ No newline at end of file
1.10 +6 -0 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/messages/messages.properties.vsl
Index: messages.properties.vsl
===================================================================
RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/messages/messages.properties.vsl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -r1.9 -r1.10
--- messages.properties.vsl 27 Mar 2008 20:59:52 -0000 1.9
+++ messages.properties.vsl 28 Mar 2008 23:25:44 -0000 1.10
@@ -221,6 +221,12 @@
#end
#end
#end
+#if ($portlet)
+#
+# Messages related to portlets
+#
+action.save=Save
+#end
# CUSTOM MESSAGES
# custom-messages merge-point
|