-
1. Re: HOWTO Dynamically Create Portal Pages
jssteux Feb 29, 2008 4:40 AM (in response to kahotep)You can use the internal API to create/modify dynamically pages
Items such as pages, windows are represented by PortalObject in JBoss Portal. Once you have retrieved your page through the PortalObjectContainer, you can modify its contents.
For example, page.createWindow( ...) or window.setDeclaredProperty(ThemeConstants.PORTAL_PROP_ORDER, "1") -
2. Re: HOWTO Dynamically Create Portal Pages
kahotep Feb 29, 2008 2:36 PM (in response to kahotep)Thank you for your response. It gives me confidence that I will be able to figure out how to do this in a timely fashion.
Now I just have to figure out how to get a handle to the PortalObjectContainer that you're talking about.
I just looked and I don't see exactly how one does that. I see a getPortletConfig() and getPortletContext() in my portlet, but that's it.. -
3. Re: HOWTO Dynamically Create Portal Pages
kahotep Feb 29, 2008 2:48 PM (in response to kahotep)It appears as if this page may hold the answer to my question:
http://docs.jboss.com/jbportal/v2.6.4/javadoc/org/jboss/portal/core/admin/ui/PortalObjectManagerBean.html#getPortalObjectContainer() -
4. Re: HOWTO Dynamically Create Portal Pages
jssteux Mar 3, 2008 8:40 AM (in response to kahotep)yes, the admin portlet is a good place to understand how to modify dynamically portal objects