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

Shane Bryzak Shane_Bryzak at symantec.com
Wed Jan 10 00:20:33 EST 2007


  User: sbryzak2
  Date: 07/01/10 00:20:33

  Modified:    examples/seamspace/view   home.xhtml profile.xhtml
  Log:
  added member blog summary
  
  Revision  Changes    Path
  1.8       +2 -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.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- home.xhtml	10 Jan 2007 03:13:16 -0000	1.7
  +++ home.xhtml	10 Jan 2007 05:20:33 -0000	1.8
  @@ -46,7 +46,7 @@
             
             </div>
             
  -          <span>Tip: You can log in using <b>demo/demo</b> as the username/password</span><br/><br/>
  +          <span>Tip: You can log in using <b>demo/demo</b> as the username/password</span>
           </h:form>
           
           <div class="newMembers">
  @@ -56,7 +56,7 @@
               <div class="newMember">
               
                 <h:outputLink value="profile.seam?name=#{newMember.name}">
  -                <b>#{newMember.name}</b><br/>
  +                #{newMember.name}<br/>
                   <h:graphicImage value="/content/images?id=#{newMember.picture.imageId}&amp;width=90"/>
                 </h:outputLink>
                 
  
  
  
  1.5       +36 -26    jboss-seam/examples/seamspace/view/profile.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: profile.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/profile.xhtml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- profile.xhtml	22 Dec 2006 06:53:47 -0000	1.4
  +++ profile.xhtml	10 Jan 2007 05:20:33 -0000	1.5
  @@ -6,10 +6,13 @@
   
     <ui:composition template="template.xhtml">
       <ui:define name="content">
  -      <div id="contentMain">
         
           <div class="errors"><h:messages globalOnly="true"/></div>       
         
  +      <s:div rendered="#{selectedMember == null}">
  +        Sorry, but this member does not exist.
  +      </s:div>
  +    
           <s:div rendered="#{selectedMember != null}">
           
             <s:div id="memberCard">
  @@ -32,13 +35,20 @@
               
             </s:div>
             
  -        </s:div>
  +        <s:div id="memberBlog">
  +          <div class="sectionHeader">#{selectedMember.name}'s latest blog entries</div>
  +          
  +          <ui:repeat value="#{blog.latestBlogs}" var="latestBlog">
  +            <div class="blogSummary">#{latestBlog.title} 
  +              (<h:outputLink value="blogdetail.seam?blogId=#{latestBlog.blogId}">view more</h:outputLink>)
  +            </div>
  +          </ui:repeat>            
  +          
  +          [<h:outputLink value="blog.seam?name=#{selectedMember.name}">View all blog entries</h:outputLink>]
           
  -        <s:div rendered="#{selectedMember == null}">
  -          Sorry, but this member does not exist.
           </s:div>
           
  -      </div>
  +      </s:div>                
       
       </ui:define>
       
  
  
  



More information about the jboss-cvs-commits mailing list