Skip to content

Commit

Permalink
Doc the translator example, tidy up
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.jboss.org/repos/weld/ri/trunk@598 1c488680-804c-0410-94cd-c6b725194a0e
  • Loading branch information
pmuir committed Dec 19, 2008
1 parent 8fd2f22 commit 09fb301
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/numberguess/WebContent/home.xhtml
Expand Up @@ -10,7 +10,7 @@
<h1>Guess a number...</h1>
<h:form id="NumberGuessMain">
<div style="color: red">
<h:messages id="messages" globalOnly="true"/>
<h:messages id="messages" globalOnly="false"/>
<h:outputText id="Higher" value="Higher!" rendered="#{game.number gt game.guess}"/>
<h:outputText id="Lower" value="Lower!" rendered="#{game.number lt game.guess}"/>
</div>
Expand All @@ -26,10 +26,6 @@
</h:inputText>
<h:commandButton id="GuessButton" value="Guess" action="#{game.check}"/>
</div>

<div>
<h:message id="message" for="inputGuess" style="color: red"/>
</div>
</h:form>
</ui:define>
</ui:composition>
Expand Down
Empty file.

0 comments on commit 09fb301

Please sign in to comment.