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

Shane Bryzak Shane_Bryzak at symantec.com
Wed Jan 10 19:43:53 EST 2007


  User: sbryzak2
  Date: 07/01/10 19:43:53

  Modified:    examples/seamspace/view   profile.xhtml
  Added:       examples/seamspace/view   blog.xhtml
  Log:
  added member blog
  
  Revision  Changes    Path
  1.6       +1 -1      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.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- profile.xhtml	10 Jan 2007 05:20:33 -0000	1.5
  +++ profile.xhtml	11 Jan 2007 00:43:53 -0000	1.6
  @@ -40,7 +40,7 @@
             
             <ui:repeat value="#{blog.latestBlogs}" var="latestBlog">
               <div class="blogSummary">#{latestBlog.title} 
  -              (<h:outputLink value="blogdetail.seam?blogId=#{latestBlog.blogId}">view more</h:outputLink>)
  +              (<h:outputLink value="blogentry.seam?blogId=#{latestBlog.blogId}">view more</h:outputLink>)
               </div>
             </ui:repeat>            
             
  
  
  
  1.1      date: 2007/01/11 00:43:53;  author: sbryzak2;  state: Exp;jboss-seam/examples/seamspace/view/blog.xhtml
  
  Index: blog.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 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="blogMemberCard">
            <h:outputLink value="profile.seam?name=#{selectedMember.name}">
  	          #{selectedMember.name}<br/>
  	          <h:graphicImage value="/content/images?id=#{selectedMember.picture.imageId}&amp;width=90"/>
  	        </h:outputLink>
                             
            <br style="clear:both"/>          
          </s:div>
  
  				<s:div id="blog">
  	        <ui:repeat value="#{memberBlogs}" var="memberBlog">
  	          <div class="blogEntry">
    	          <div class="blogDate">#{memberBlog.formattedEntryDate}</div>
  	            <div class="blogTitle">#{memberBlog.title}</div>
  	            <div class="blogText">#{memberBlog.text}</div>
  	            <div class="blogFooter">
  	              <h:outputLink value="blogentry.seam?blogId=#{memberBlog.blogId}">
  	                #{memberBlog.commentCount} Comments
  	              </h:outputLink>
  	              <s:link value="Add Comment"/>
  	            </div>
  	          </div>
  	        </ui:repeat>
  	      </s:div>
                  
        </s:div>                
            
      </ui:define>
      
    </ui:composition>
  </html>
  
  
  



More information about the jboss-cvs-commits mailing list