Author: pete.muir(a)jboss.org
Date: 2008-12-24 05:29:43 -0500 (Wed, 24 Dec 2008)
New Revision: 696
Modified:
ri/trunk/examples/numberguess/WebContent/home.xhtml
Log:
WBRI-78
Modified: ri/trunk/examples/numberguess/WebContent/home.xhtml
===================================================================
--- ri/trunk/examples/numberguess/WebContent/home.xhtml 2008-12-23 21:46:10 UTC (rev 695)
+++ ri/trunk/examples/numberguess/WebContent/home.xhtml 2008-12-24 10:29:43 UTC (rev 696)
@@ -21,10 +21,10 @@
<div>
Your guess:
- <h:inputText id="inputGuess" value="#{game.guess}"
required="true" size="3">
+ <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:commandButton id="GuessButton" value="Guess"
action="#{game.check}"/>
+ <h:commandButton id="GuessButton" value="Guess"
action="#{game.check}" disabled="#{game.number eq game.guess}"/>
</div>
</h:form>
</ui:define>
Show replies by date