[jboss-cvs] jboss-seam/seam-gen/view ...
Gavin King
gavin.king at jboss.com
Fri Mar 23 20:40:36 EDT 2007
User: gavin
Date: 07/03/23 20:40:36
Modified: seam-gen/view edit.xhtml list.xhtml
Log:
minor
Revision Changes Path
1.7 +16 -11 jboss-seam/seam-gen/view/edit.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: edit.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/edit.xhtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- edit.xhtml 21 Mar 2007 01:37:44 -0000 1.6
+++ edit.xhtml 24 Mar 2007 00:40:36 -0000 1.7
@@ -28,17 +28,22 @@
</rich:panel>
<div class="actionButtons">
- <h:commandButton id="save" value="Save"
+ <h:commandButton id="save"
+ value="Save"
action="#{@homeName at .persist}"
rendered="#{!@homeName at .managed}"/>
- <h:commandButton id="update" value="Save"
+ <h:commandButton id="update"
+ value="Save"
action="#{@homeName at .update}"
rendered="#{@homeName at .managed}"/>
- <h:commandButton id="delete" value="Delete"
+ <h:commandButton id="delete"
+ value="Delete"
action="#{@homeName at .remove}"
rendered="#{@homeName at .managed}"/>
- <s:button id="done" value="Done"
- propagation="end" view="/@masterPageName at .xhtml"/>
+ <s:button propagation="end"
+ id="done"
+ value="Done"
+ view="/@masterPageName at .xhtml"/>
</div>
</h:form>
1.3 +33 -21 jboss-seam/seam-gen/view/list.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: list.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/list.xhtml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- list.xhtml 14 Nov 2006 05:03:48 -0000 1.2
+++ list.xhtml 24 Mar 2007 00:40:36 -0000 1.3
@@ -5,17 +5,21 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich"
template="layout/template.xhtml">
<ui:define name="body">
- <h1>@masterPageName@</h1>
- <p>Generated list page</p>
-
<h:messages globalOnly="true" styleClass="message"/>
+ <rich:panel>
+ <f:facet name="header">@masterPageName@</f:facet>
+
+ <div class="results">
+
<h:outputText value="No @componentName@ exists"
rendered="#{empty @listName at .resultList}"/>
+
<h:dataTable id="@listName@" var="@componentName@"
value="#{@listName at .resultList}"
rendered="#{not empty @listName at .resultList}">
@@ -25,14 +29,22 @@
</h:column>
<h:column>
<f:facet name="header">Name</f:facet>
- <s:link id="@componentName@" value="#{@componentName at .name}" view="/@pageName at .xhtml">
- <f:param name="@componentName at Id" value="#{@componentName at .id}"/>
+ <s:link id="@componentName@"
+ value="#{@componentName at .name}"
+ view="/@pageName at .xhtml">
+ <f:param name="@componentName at Id"
+ value="#{@componentName at .id}"/>
</s:link>
</h:column>
</h:dataTable>
+ </div>
+
+ </rich:panel>
+
<div class="actionButtons">
- <s:button id="done" value="Create @componentName@"
+ <s:button id="done"
+ value="Create @componentName@"
view="/@pageName at .xhtml"/>
</div>
More information about the jboss-cvs-commits
mailing list