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

Shane Bryzak Shane_Bryzak at symantec.com
Mon Jan 15 05:27:20 EST 2007


  User: sbryzak2
  Date: 07/01/15 05:27:20

  Modified:    examples/seamspace/view   blog.xhtml blogentry.xhtml
  Log:
  improved interface security
  
  Revision  Changes    Path
  1.4       +1 -1      jboss-seam/examples/seamspace/view/blog.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: blog.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/blog.xhtml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- blog.xhtml	15 Jan 2007 09:48:20 -0000	1.3
  +++ blog.xhtml	15 Jan 2007 10:27:20 -0000	1.4
  @@ -34,7 +34,7 @@
   	              <h:outputLink value="blogentry.seam?name=#{selectedMember.name}&amp;blogId=#{memberBlog.blogId}">
   	                #{memberBlog.commentCount} Comment#{memberBlog.commentCount != 1 ? "s" : ""}
   	              </h:outputLink>
  -	              <h:outputLink value="comment.seam?name=#{selectedMember.name}&amp;blogId=#{memberBlog.blogId}">
  +	              <h:outputLink rendered="#{s:hasPermission('blog','createComment', null)}" value="comment.seam?name=#{selectedMember.name}&amp;blogId=#{memberBlog.blogId}">
   	                Add Comment
   	              </h:outputLink>
   	            </div>
  
  
  
  1.4       +1 -2      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.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- blogentry.xhtml	15 Jan 2007 09:48:20 -0000	1.3
  +++ blogentry.xhtml	15 Jan 2007 10:27:20 -0000	1.4
  @@ -30,8 +30,7 @@
               <div class="blogTitle">#{selectedBlog.title}</div>
               <div class="blogText">#{selectedBlog.text}</div>
               <div class="blogFooter">
  -              #{selectedBlog.commentCount} Comment#{selectedBlog.commentCount != 1 ? "s" : ""}
  -              - <s:link value="Add Comment" action="#{blog.createComment}"/>
  +              <s:link value="Add Comment" action="#{blog.createComment}"/>
               </div>
             </div>
                       
  
  
  



More information about the jboss-cvs-commits mailing list