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

Shane Bryzak Shane_Bryzak at symantec.com
Fri Jan 12 08:24:40 EST 2007


  User: sbryzak2
  Date: 07/01/12 08:24:40

  Modified:    examples/seamspace/view    blogentry.xhtml home.xhtml
  Added:       examples/seamspace/view    register.xhtml
  Log:
  initial support for adding blog comments, some security stuff
  
  Revision  Changes    Path
  1.2       +1 -1      jboss-seam/examples/seamspace/view/blogentry.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: blogentry.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/blogentry.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- blogentry.xhtml	11 Jan 2007 02:23:17 -0000	1.1
  +++ blogentry.xhtml	12 Jan 2007 13:24:39 -0000	1.2
  @@ -31,7 +31,7 @@
               <div class="blogText">#{selectedBlog.text}</div>
               <div class="blogFooter">
                 #{selectedBlog.commentCount} Comment#{selectedBlog.commentCount != 1 ? "s" : ""}
  -              - <s:link value="Add Comment"/>
  +              - <s:link value="Add Comment" action="#{commentAction.create(selectedBlog)}"/>
               </div>
             </div>
                       
  
  
  
  1.9       +6 -2      jboss-seam/examples/seamspace/view/home.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: home.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/home.xhtml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- home.xhtml	10 Jan 2007 05:20:33 -0000	1.8
  +++ home.xhtml	12 Jan 2007 13:24:39 -0000	1.9
  @@ -7,7 +7,8 @@
     <ui:composition template="template.xhtml">
       <ui:define name="content">
         <div id="contentMain">
  -        Main content
  +        Welcome to seamspace, a mock-up of a well known social networking site.  This example application
  +        makes use of the Seam Security API.
         </div>
   
         <div id="contentDivider">
  @@ -40,7 +41,10 @@
                 <h:message for="password"/>
               </div>          
               
  +            <div class="loginButtons">
               <h:commandButton value="LOGIN" action="#{login.login}" styleClass="loginButton"/>
  +              <h:commandButton value="SIGN UP!" action="/register.seam" styleClass="registerButton"/>
  +            </div>
   
               <br class="clear"/>
             
  
  
  
  1.1      date: 2007/01/12 13:24:40;  author: sbryzak2;  state: Exp;jboss-seam/examples/seamspace/view/register.xhtml
  
  Index: register.xhtml
  ===================================================================
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:s="http://jboss.com/products/seam/taglib">
  
    <ui:composition template="template.xhtml">
      <ui:define name="content">
        <div id="contentMain">
          <div class="errors"><h:messages globalOnly="true"/></div> 
          
          <div id="register">
            <div class="registerHeader">
              JOIN SEAMSPACE HERE!
            </div>
            
            <h:form>
            
            
            </h:form>
            
            <br class="clear"/>
          </div>
        </div>
       
      </ui:define>
      
    </ui:composition>
  </html>
  
  
  



More information about the jboss-cvs-commits mailing list