While the example I referenced before was for dashboards, I'd hope that something like this would work with non-dashboard pages. I've not tried this however, as we define static portal pages via the portal-object.xml. This example assumes you want to implement via a servlet, rather than a portlet.
| MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); | portalObjectContainer = (PortalObjectContainer)MBeanProxy.get(PortalObjectContainer.class, | new ObjectName("portal:container=PortalObject"), mbeanServer); | | Portal portal = portalObjectContainer.getContext().getPortal(portalName); | Page page = portal.getPage(pageName); | | Window win = page.createWindow(winName, ContentType.PORTLET, instanceID); | win.setDeclaredProperty("theme.region", "left"); | win.setDeclaredProperty("theme.order", "0"); | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226318#4226318 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226318 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user