[jboss-svn-commits] JBL Code SVN: r5413 - labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/topics

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Aug 2 12:45:16 EDT 2006


Author: unibrew
Date: 2006-08-02 12:45:14 -0400 (Wed, 02 Aug 2006)
New Revision: 5413

Modified:
   labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml
Log:
[JBFORUMS-107] Resolving editcount bug of displaying null instead of userName.

Modified: labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml
===================================================================
--- labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml	2006-08-02 16:01:15 UTC (rev 5412)
+++ labs/jbossforums/trunk/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml	2006-08-02 16:45:14 UTC (rev 5413)
@@ -327,14 +327,14 @@
                                       <c:choose>
                                         <c:when test="${postrow.editCount eq 1}">
                                            <h:outputFormat value="#{resource.Edited_time_total}">
-                                              <f:param value="${postrow.user.userName}"/>
+                                              <f:param value="${postrow.poster.user.userName}"/>
                                               <f:param value="${postrow.editDate}"/>
                                               <f:param value="${postrow.editCount}"/>
                                            </h:outputFormat>
                                         </c:when>
                                         <c:otherwise>
                                            <h:outputFormat value="#{resource.Edited_times_total}">
-                                              <f:param value="${postrow.user.userName}"/>
+                                              <f:param value="${postrow.poster.user.userName}"/>
                                               <f:param value="${postrow.editDate}"/>
                                               <f:param value="${postrow.editCount}"/>
                                            </h:outputFormat>                                            




More information about the jboss-svn-commits mailing list