[jboss-cvs] jboss-seam/examples/seamspace/view ...
Shane Bryzak
Shane_Bryzak at symantec.com
Fri Jan 26 08:24:44 EST 2007
User: sbryzak2
Date: 07/01/26 08:24:44
Modified: examples/seamspace/view profile.xhtml
Log:
added friend comments
Revision Changes Path
1.14 +18 -0 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.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- profile.xhtml 26 Jan 2007 12:54:28 -0000 1.13
+++ profile.xhtml 26 Jan 2007 13:24:44 -0000 1.14
@@ -70,6 +70,24 @@
<s:div id="friendComments">
<div class="sectionHeader">#{selectedMember.memberName}'s friend's comments</div>
+ <ui:repeat value="#{profile.friendComments}" var="c">
+ <table class="friendComments">
+ <tr>
+ <td>
+ <h:outputLink value="profile.seam?name=#{c.friend.memberName}">
+ #{c.friend.memberName}<br/>
+ <h:graphicImage value="/content/images?id=#{c.friend.picture.imageId}&width=90"/>
+ </h:outputLink>
+ </td>
+
+ <td style="text-align: left">
+ <b>#{c.formattedCommentDate}</b><br/>
+ <p><s:formattedText value="#{c.comment}"/></p>
+ </td>
+ </tr>
+ </table>
+ </ui:repeat>
+
</s:div>
</s:div>
More information about the jboss-cvs-commits
mailing list