[jboss-cvs] jboss-seam/seam-gen/view ...
Gavin King
gavin.king at jboss.com
Fri Mar 16 08:30:26 EDT 2007
User: gavin
Date: 07/03/16 08:30:26
Modified: seam-gen/view conversation.xhtml edit.xhtml
Log:
use rich:panel
Revision Changes Path
1.2 +11 -8 jboss-seam/seam-gen/view/conversation.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: conversation.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/view/conversation.xhtml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- conversation.xhtml 6 Nov 2006 20:13:47 -0000 1.1
+++ conversation.xhtml 16 Mar 2007 12:30:26 -0000 1.2
@@ -5,15 +5,16 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf"
xmlns:h="http://java.sun.com/jsf/html"
+ xmlns:rich="http://richfaces.ajax4jsf.org/rich"
template="layout/template.xhtml">
<ui:define name="body">
- <h1>@pageName@</h1>
- <p>Generated conversation page.</p>
-
<h:messages globalOnly="true" styleClass="message"/>
+ <rich:panel>
+ <f:facet name="header">@pageName@</f:facet>
+
<div class="dialog">
<div class="prop">
<span class="name">Value</span>
@@ -21,6 +22,8 @@
</div>
</div>
+ </rich:panel>
+
<h:form id="@componentName@">
<div class="actionButtons">
<h:commandButton id="begin" value="Begin"
1.3 +23 -19 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.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- edit.xhtml 14 Nov 2006 05:03:48 -0000 1.2
+++ edit.xhtml 16 Mar 2007 12:30:26 -0000 1.3
@@ -5,17 +5,18 @@
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>@pageName@</h1>
- <p>Generated edit page</p>
-
<h:messages globalOnly="true" styleClass="message"/>
<h:form id="@componentName@">
- <div class="dialog">
+
+ <rich:panel>
+ <f:facet name="header">@pageName@</f:facet>
+
<s:validateAll>
<div class="prop">
<span class="name">Name</span>
@@ -27,7 +28,9 @@
</span>
</div>
</s:validateAll>
- </div>
+
+ </rich:panel>
+
<div class="actionButtons">
<h:commandButton id="save" value="Save"
action="#{@homeName at .persist}"
@@ -41,6 +44,7 @@
<s:button id="done" value="Done"
propagation="end" view="/@masterPageName at .xhtml"/>
</div>
+
</h:form>
</ui:define>
More information about the jboss-cvs-commits
mailing list