[jboss-cvs] jboss-seam/examples/seamspace/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Thu Dec 21 08:05:01 EST 2006
User: sbryzak2
Date: 06/12/21 08:05:01
Modified: examples/seamspace/view profile.xhtml
Log:
display member's picture on profile page using content servlet
Revision Changes Path
1.2 +1 -8 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.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- profile.xhtml 20 Dec 2006 11:40:25 -0000 1.1
+++ profile.xhtml 21 Dec 2006 13:05:01 -0000 1.2
@@ -11,15 +11,8 @@
<div class="errors"><h:messages globalOnly="true"/></div>
+ <h:graphicImage value="/content/images?id=#{selectedMember.picture.imageId}"/>
-
- <s:div rendered="#{s:hasRole('user')}">
- You are a member of the 'user' role.
- </s:div>
-
- <s:div rendered="#{s:hasRole('admin')}">
- You are a member of the 'admin' role.
- </s:div>
</div>
</ui:define>
More information about the jboss-cvs-commits
mailing list