[jboss-cvs] jboss-seam/examples/numberguess/view ...
Gavin King
gavin.king at jboss.com
Thu Nov 16 18:19:26 EST 2006
User: gavin
Date: 06/11/16 18:19:26
Modified: examples/numberguess/view numberGuess.jspx
Log:
use new stuff, and clean up model
Revision Changes Path
1.3 +2 -1 jboss-seam/examples/numberguess/view/numberGuess.jspx
(In the diff below, changes in quantity of whitespace are not shown.)
Index: numberGuess.jspx
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/numberguess/view/numberGuess.jspx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- numberGuess.jspx 16 Nov 2006 15:36:23 -0000 1.2
+++ numberGuess.jspx 16 Nov 2006 23:19:26 -0000 1.3
@@ -2,6 +2,7 @@
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
+ xmlns:s="http://jboss.com/products/seam/taglib"
xmlns="http://www.w3.org/1999/xhtml"
version="2.0">
<jsp:output doctype-root-element="html"
@@ -31,7 +32,7 @@
minimum="#{numberGuess.smallest}"/>
</h:inputText>
<h:commandButton value="Guess" action="guess"/>
- <h:commandButton value="Cheat" action="#{numberGuess.beginCheat}" immediate="true"/>
+ <s:button value="Cheat" view="/confirm.jspx"/>
<br/>
<h:message for="guess" style="color: red"/>
</h:form>
More information about the jboss-cvs-commits
mailing list