Author: chukhutsina
Date: 2009-05-05 12:21:34 -0400 (Tue, 05 May 2009)
New Revision: 15027
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml
Log:
<html><head><meta name="qrichtext" content="1"
/></head><body style="font-size:9pt;font-family:Sans Serif">
<
p>https://jira.jboss.org/jira/browse/JBDS-652 - Code patterns in text .All
out-of-date listings were replaced <span style="font-family:Courier
New,courier">.</span></p>
</body></html>
Modified:
trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml
===================================================================
---
trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml 2009-05-05
14:43:37 UTC (rev 15026)
+++
trunk/documentation/guides/GettingStartedGuide/en/modules/rad_jsf_application.xml 2009-05-05
16:21:34 UTC (rev 15027)
@@ -901,23 +901,29 @@
<para>inputnumber.jsp page should look like this:</para>
<programlisting role="XML"><![CDATA[<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f" %>
-<f:loadBundle basename="game.messages" var="msg"/>
-
+<f:loadBundle basename="game.messages" var="msg" />
<html>
- <f:view>
- <h:form id="inputNumbers">
- <h:outputText value="#{msg.how_to_play}"/>
- <br/>
- <h:messages style="color: blue"/>
- <br/>
- <h:inputText id="userNumber"
value="#{NumberBean.userNumber}" required="true">
- <f:validateLongRange minimum="0" maximum="100"/>
- </h:inputText>
- <br/><br/>
- <h:commandButton value=
- "#{msg.makeguess_button}"
action="#{NumberBean.checkGuess}"/>
- </h:form>
- </f:view>
+<head>
+<title></title>
+</head>
+ <body>
+ <f:view>
+ <h:form id="inputNumbers">
+ <h:outputText value="#{msg.how_to_play}" />
+ <br />
+ <h:messages style="color: blue" />
+ <br />
+ <h:inputText value="#{NumberBean.userNumber}" id="userNumber"
+ required="true">
+ <f:validateLongRange minimum="0" maximum="100" />
+ </h:inputText>
+ <br />
+ <br />
+ <h:commandButton value="#{msg.makeguess_button}"
+ action="#{NumberBean.checkGuess}" />
+ </h:form>
+ </f:view>
+ </body>
</html>
]]></programlisting>
</section>
@@ -931,17 +937,24 @@
<f:loadBundle basename="game.messages" var="msg"/>
<html>
- <f:view>
- <h:form id="result">
- <h:outputFormat value="#{msg.success_text}">
- <f:param value="#{NumberBean.userNumber}"/>
- </h:outputFormat>
- <br/><br/>
- <h:commandButton value=
- "#{msg.trayagain_button}"
action="#{NumberBean.playagain}"/>
- </h:form>
- </f:view>
+ <head>
+ <title></title>
+ </head>
+ <body>
+ <f:view>
+ <h:form id="result">
+ <h:outputFormat value="#{msg.success_text}">
+ <f:param value="#{NumberBean.userNumber}" />
+ </h:outputFormat>
+ <br />
+ <br />
+ <h:commandButton value="#{msg.trayagain_button}"
+ action="#{NumberBean.playagain}" />
+ </h:form>
+ </f:view>
+ </body>
</html>
+
]]></programlisting>
<para>Again you can use code assist provided by JBDS when editing jsp
page:</para>
<figure>