From: <jbo...@li...> - 2006-04-27 00:27:13
|
Author: unibrew Date: 2006-04-26 20:26:58 -0400 (Wed, 26 Apr 2006) New Revision: 3981 Modified: labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/ForumsJSFPortlet.java Log: [JBFORUMS-38] Adding userId request parameter forwarding in JSFPortlet. Modified: labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/ForumsJSFPortlet.java =================================================================== --- labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/ForumsJSFPortlet.java 2006-04-26 21:16:39 UTC (rev 3980) +++ labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/ForumsJSFPortlet.java 2006-04-27 00:26:58 UTC (rev 3981) @@ -61,6 +61,7 @@ String pollDelete = ForumUtil.getParameter(request,Constants.p_poll_delete); String attachment = ForumUtil.getParameter(request,Constants.p_attachment); String topicId = ForumUtil.getParameter(request,Constants.p_topicId); + String userId = ForumUtil.getParameter(request,Constants.p_userId); if(categoryId!=null && categoryId.trim().length()>0) { response.setRenderParameter(Constants.p_categoryId,categoryId); @@ -89,5 +90,9 @@ { response.setRenderParameter(Constants.p_topicId,topicId); } + if(userId!=null && userId.trim().length()>0) + { + response.setRenderParameter(Constants.p_userId,userId); + } } } |