-
1. Re: How do I add a new page without PageManagement GUI?
vstorm83 Apr 1, 2013 9:41 PM (in response to mpakhomo)- GateIn default data: (pages, navigation...) is initialized during the first boot of AS. With configuration files in portal.war/WEB-INF/conf/portal --> there are files such as: pages.xml, navigation.xml... that is used to init data for each site in GateIn. After this first data initialization, those config will not be read anymore. You can still use extension machanism (add configuration files) to insert, override, or merge data to GateIn. The service component that is configured for this task is : org.exoplatform.portal.config.UserPortalConfigService Please find more information in the docs: here and here
- To programatically add page, you can use org.exoplatform.portal.config.DataStorage and org.exoplatform.portal.mop.page.PageService components. Please take a look at the source code of UserPortalConfigService, it also delegate the task for these two data services
-
2. Re: How do I add a new page without PageManagement GUI?
mpakhomo Apr 1, 2013 7:06 AM (in response to vstorm83)Vu,
By portal.war you mean gatein.ear\02portal.war\WEB-INF\conf\portal\portal\classic\ ?
-
3. Re: How do I add a new page without PageManagement GUI?
vstorm83 Apr 1, 2013 9:37 PM (in response to mpakhomo)1 of 1 people found this helpfulYes, when you run GateIn on JBoss. on Tomcat, we only have portal.war
-
4. Re: How do I add a new page without PageManagement GUI?
mpakhomo Apr 2, 2013 6:07 AM (in response to vstorm83)Thanks for your help Vu!
Now I'm learning a couple of guides on the gatein wiki
Create a new portal using extension
and
Create a new portal container using extension
I beleive, this what I'm actually looking for.