[jboss-svn-commits] JBL Code SVN: r8011 - labs/jbossforums/branches/forums22/forums/src/resources/portal-forums-war/views/topics
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Dec 1 06:07:39 EST 2006
Author: unibrew
Date: 2006-12-01 06:07:37 -0500 (Fri, 01 Dec 2006)
New Revision: 8011
Modified:
labs/jbossforums/branches/forums22/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml
Log:
[JBFORUMS-150] Now after replying to topic the right page is displayed.
Modified: labs/jbossforums/branches/forums22/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml
===================================================================
--- labs/jbossforums/branches/forums22/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml 2006-12-01 10:55:17 UTC (rev 8010)
+++ labs/jbossforums/branches/forums22/forums/src/resources/portal-forums-war/views/topics/viewtopic_body.xhtml 2006-12-01 11:07:37 UTC (rev 8011)
@@ -567,6 +567,8 @@
<h:commandLink id="replyTopic" action="#{replyTopic.start}" style="text-decoration: none;">
<f:param name="f" value="#{topic.topic.forum.id}"/>
<f:param name="t" value="#{topic.topic.id}"/>
+ <!-- add this reply and navigate to the page that will have this reply -->
+ <input type="hidden" name="page" value="#{topic.pageNavigator.pageAfterAdd}"/>
<f:verbatim>
<img border="0"
src="#{forums:themeURL('resourceReplyNewURL')}"
More information about the jboss-svn-commits
mailing list