[jboss-cvs] jboss-seam/examples/ui/view ...
Gavin King
gavin.king at jboss.com
Sat Mar 17 01:03:50 EDT 2007
User: gavin
Date: 07/03/17 01:03:50
Modified: examples/ui/view selectItems.xhtml
Log:
reworked layoutForm to use div/span
Revision Changes Path
1.8 +13 -4 jboss-seam/examples/ui/view/selectItems.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: selectItems.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/ui/view/selectItems.xhtml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- selectItems.xhtml 16 Mar 2007 00:47:18 -0000 1.7
+++ selectItems.xhtml 17 Mar 2007 05:03:49 -0000 1.8
@@ -32,21 +32,27 @@
<h:form>
<s:layoutForm>
+
<f:facet name="aroundInvalidField">
<s:span styleClass="error"/>
</f:facet>
<f:facet name="afterInvalidField">
- <s:message />
+ <s:message/>
</f:facet>
<f:facet name="beforeRequiredLabel">
- <s:span>∗</s:span>
+ <s:span style="color:red;">∗</s:span>
</f:facet>
<f:facet name="aroundLabel">
- <s:div style="text-align:right;" />
+ <s:div style="text-align:right; padding-right: 10px;" />
</f:facet>
<f:facet name="aroundInvalidLabel">
- <s:div style="text-align:right;" styleClass="error" />
+ <s:div style="text-align:right; padding-right: 10px;" styleClass="error" />
</f:facet>
+
+ <h:selectBooleanCheckbox>
+ <f:facet name="label">Yes or no?</f:facet>
+ <f:facet name="belowField">What do you think?</f:facet>
+ </h:selectBooleanCheckbox>
<s:decorate>
<f:facet name="label">
<h:outputText value="Title" />
@@ -115,12 +121,15 @@
<s:convertEntity />
</h:selectOneListbox>
</s:decorate>
+
</s:layoutForm>
+
<h:commandButton value="Apply" action="#{personHome.update}">
<s:conversationPropagation type="join" />
</h:commandButton>
<h:messages globalOnly="true" />
<p><s:link view="/index.xhtml" propagation="end">Back to index</s:link></p>
+
</h:form>
</body>
More information about the jboss-cvs-commits
mailing list