[jbosstools-commits] JBoss Tools SVN: r6176 - trunk/documentation/guides/userguide/GettingStartedGuide/en/modules.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Thu Feb 7 11:35:43 EST 2008


Author: ykryvinchanka
Date: 2008-02-07 11:35:43 -0500 (Thu, 07 Feb 2008)
New Revision: 6176

Modified:
   trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/first_seam.xml
   trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad_jsf_application.xml
Log:
http://jira.jboss.com/jira/browse/JBDS-127 code lines corrected

Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/first_seam.xml
===================================================================
--- trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/first_seam.xml	2008-02-07 16:35:30 UTC (rev 6175)
+++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/first_seam.xml	2008-02-07 16:35:43 UTC (rev 6176)
@@ -350,7 +350,8 @@
     public void simpleAction()
     {
         //implement your business logic here
-        log.info("simpleAction.simpleAction() action called with: #{simpleAction.value}");
+        log.info("simpleAction.simpleAction() 
+              action called with: #{simpleAction.value}");
         facesMessages.add("simpleAction #{simpleAction.value}");
     }
 

Modified: trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad_jsf_application.xml
===================================================================
--- trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad_jsf_application.xml	2008-02-07 16:35:30 UTC (rev 6175)
+++ trunk/documentation/guides/userguide/GettingStartedGuide/en/modules/rad_jsf_application.xml	2008-02-07 16:35:43 UTC (rev 6176)
@@ -374,7 +374,8 @@
   public String playagain () 
   {
     FacesContext context = FacesContext.getCurrentInstance();
-    HttpSession session = (HttpSession) context.getExternalContext().getSession(false);
+    HttpSession session = 
+        (HttpSession) context.getExternalContext().getSession(false);
     session.invalidate();
     return "playagain"; 
   }
@@ -389,7 +390,8 @@
 else 
    {
       FacesContext context = FacesContext.getCurrentInstance();
-      ResourceBundle bundle = ResourceBundle.getBundle("game.messages", context.getViewRoot().getLocale());
+      ResourceBundle bundle = ResourceBundle.getBundle("game.messages", 
+      context.getViewRoot().getLocale());
       String msg = "";
       // if number bigger, get appropriate message
       if ( userNumber.intValue() > randomNumber ) 
@@ -445,7 +447,8 @@
   public String playagain () 
   {
     FacesContext context = FacesContext.getCurrentInstance();
-    HttpSession session = (HttpSession) context.getExternalContext().getSession(false);
+    HttpSession session = 
+        (HttpSession) context.getExternalContext().getSession(false);
     session.invalidate();
     return "playagain"; 
   }
@@ -463,7 +466,9 @@
    {
       // get a reference to properties file to retrieve messages
       FacesContext context = FacesContext.getCurrentInstance();
-      ResourceBundle bundle = ResourceBundle.getBundle("game.messages", context.getViewRoot().getLocale());
+      ResourceBundle bundle = 
+          ResourceBundle.getBundle("game.messages", 
+          context.getViewRoot().getLocale());
       String msg = "";
       // if number is bigger, get appropriate message
       if ( userNumber.intValue() > randomNumber ) 
@@ -499,7 +504,8 @@
 <faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee
 xmlns:xi="http://www.w3.org/2001/XInclude"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
-xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2_.xsd">
+xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
+        http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2_.xsd">
   
   <navigation-rule>
     <from-view-id>*</from-view-id>
@@ -900,7 +906,8 @@
            <f:validateLongRange minimum="0" maximum="100"/>
       </h:inputText>
      <br/><br/>
-     <h:commandButton value="#{msg.makeguess_button}" action="#{NumberBean.checkGuess}"/>  
+     <h:commandButton value=
+             "#{msg.makeguess_button}" action="#{NumberBean.checkGuess}"/>  
    </h:form>
  </f:view>
 </html>
@@ -922,7 +929,8 @@
        <f:param value="#{NumberBean.userNumber}"/>
      </h:outputFormat>
      <br/><br/>
-     <h:commandButton value="#{msg.trayagain_button}" action="#{NumberBean.playagain}"/>
+     <h:commandButton value=
+             "#{msg.trayagain_button}" action="#{NumberBean.playagain}"/>
    </h:form>
  </f:view>
 </html>




More information about the jbosstools-commits mailing list