Author: pete.muir(a)jboss.org
Date: 2009-03-28 10:54:36 -0400 (Sat, 28 Mar 2009)
New Revision: 2244
Modified:
examples/trunk/numberguess/WebContent/home.xhtml
Log:
WBRI-80, thanks to Brandon Blatnick
Modified: examples/trunk/numberguess/WebContent/home.xhtml
===================================================================
--- examples/trunk/numberguess/WebContent/home.xhtml 2009-03-28 14:54:09 UTC (rev 2243)
+++ examples/trunk/numberguess/WebContent/home.xhtml 2009-03-28 14:54:36 UTC (rev 2244)
@@ -20,9 +20,9 @@
<div>
Your guess:
- <h:inputText id="inputGuess" value="#{game.guess}"
required="true" size="3" disabled="#{game.number eq
game.guess}">
- <f:validateLongRange maximum="#{game.biggest}"
minimum="#{game.smallest}"/>
- </h:inputText>
+ <h:inputText id="inputGuess" value="#{game.guess}"
required="true" size="3" disabled="#{game.number eq
game.guess}"
+ validator="#{game.validateNumberRange}">
+ </h:inputText>
<h:commandButton id="GuessButton" value="Guess"
action="#{game.check}" disabled="#{game.number eq game.guess}"/>
</div>
<div>
Show replies by date