"yantriki" wrote : ... and when I access the forum, I want to still have access to the user and menu portlets. I think I found the problem and this is not possible with the ForumsPortlet at the moment.
To see user and menu portlet with the forums, you need to call the forums in 'normal' windowstate - which works for the default OP_MAIN. But for the further request to show the forums index, the ForumsPortlet sets the windowstate to maximised: protected void doView([...] { | [...] | if (req.getWindowState() != WindowState.MAXIMIZED) | { | writer.write("<table width=\"100%\" cellpadding=\"2\" cellspacing=\"2\"><tr class=\"portlet-section-body\">"); | | // Window is is normal mode | // Check if the user is an administrator | boolean isAdmin = req.hasPermission("Admin"); | if (isAdmin) | { | [...] } | else | { | writer.write("<td align=\"center\" class=\"portlet-menu-item\">"); | } | | //Create a link to the forum index | PortletURL showForumsURL = resp.createRenderURL(); | showForumsURL.setWindowState(WindowState.MAXIMIZED); | [...] The code fragement marked red always puts the further requests to the forums from normal into maximised state and no user portlet etc will be rendered. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891417#3891417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3891417 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user