viewPageURL.setParameter("mvcRenderCommandName", "/wiki/view");
viewPageURL.setParameter("nodeName", nodeName);
viewPageURL.setParameter("title", title);
viewPageURL.setPortletMode(PortletMode.VIEW);
viewPageURL.setWindowState(WindowState.MAXIMIZED);
<BUG>PortletURL editPageURL = new PortletURLImpl(
</BUG>
actionRequest, portletConfig.getPortletName(),
themeDisplay.getPlid(), PortletRequest.RENDER_PHASE);
editPageURL.setParameter("mvcRenderCommandName", "/wiki/edit_page");

viewPageURL.setParameter("mvcRenderCommandName", "/wiki/view");
viewPageURL.setParameter("nodeName", nodeName);
viewPageURL.setParameter("title", title);
viewPageURL.setPortletMode(PortletMode.VIEW);
viewPageURL.setWindowState(WindowState.MAXIMIZED);
PortletURL editPageURL = PortletURLFactoryUtil.create(
actionRequest, portletConfig.getPortletName(),
themeDisplay.getPlid(), PortletRequest.RENDER_PHASE);
editPageURL.setParameter("mvcRenderCommandName", "/wiki/edit_page");
