[jboss-cvs] jboss-seam/examples/seamspace/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Sun Jan 28 00:26:37 EST 2007
User: sbryzak2
Date: 07/01/28 00:26:37
Modified: examples/seamspace/view blogentry.xhtml
Log:
moved role permissions from config to rules
Revision Changes Path
1.7 +4 -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.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- blogentry.xhtml 18 Jan 2007 12:28:56 -0000 1.6
+++ blogentry.xhtml 28 Jan 2007 05:26:37 -0000 1.7
@@ -30,7 +30,10 @@
<div class="blogTitle">#{selectedBlog.title}</div>
<div class="blogText"><s:formattedText value="#{selectedBlog.text}"/></div>
<div class="blogFooter">
- <s:link value="Add Comment" action="#{blog.createComment}"/>
+ <h:outputLink rendered="#{s:hasPermission('blog','createComment', null)}"
+ value="comment.seam?name=#{selectedMember.memberName}&blogId=#{selectedBlog.blogId}">
+ Add Comment
+ </h:outputLink>
</div>
</div>
More information about the jboss-cvs-commits
mailing list