[jboss-cvs] jboss-seam/examples/blog/view ...

Gavin King gavin.king at jboss.com
Mon Dec 18 11:50:13 EST 2006


  User: gavin   
  Date: 06/12/18 11:50:13

  Modified:    examples/blog/view   login.xhtml post.xhtml
  Log:
  transparent navigation
  
  Revision  Changes    Path
  1.3       +6 -3      jboss-seam/examples/blog/view/login.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: login.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/blog/view/login.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- login.xhtml	22 Jun 2006 06:16:28 -0000	1.2
  +++ login.xhtml	18 Dec 2006 16:50:13 -0000	1.3
  @@ -10,11 +10,14 @@
      <div class="blogEntry">
         <h:form>
            <div>
  -            <h:outputLabel for="password">Password: </h:outputLabel>
  +            <h:outputLabel for="password">Password:</h:outputLabel>
            </div>
            <div>
  -            <h:inputSecret id="password" value="#{loginAction.password}" size="15" maxlength="15"/>
  -            <h:commandButton value="Login" action="#{loginAction.login}"/>
  +            <h:inputSecret id="password" 
  +                        value="#{loginAction.password}" 
  +                         size="15" 
  +                    maxlength="15"/>
  +            <h:commandButton value="Login"/>
               <span class="errors"><h:message for="password"/></span>
               <span class="errors"><h:messages globalOnly="true"/></span>
            </div>
  
  
  
  1.10      +4 -1      jboss-seam/examples/blog/view/post.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: post.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/blog/view/post.xhtml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- post.xhtml	2 Oct 2006 18:16:25 -0000	1.9
  +++ post.xhtml	18 Dec 2006 16:50:13 -0000	1.10
  @@ -10,6 +10,9 @@
   <ui:define name="content">
      <div class="blogEntry">
         <h:form>
  +      
  +         <h:messages globalOnly="true" styleClass="errors"/>
  +         
            <f:facet name="afterInvalidField">
               <s:span>
                  &#160;Error:&#160;
  @@ -56,7 +59,7 @@
            </s:validateAll>
            
            <div>
  -            <h:commandButton value="Post" action="#{postAction.post}"/>
  +            <h:commandButton value="Post"/>
            </div>
   
         </h:form>
  
  
  



More information about the jboss-cvs-commits mailing list