- 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
By portal.war you mean gatein.ear\02portal.war\WEB-INF\conf\portal\portal\classic\ ?
1 of 1 people found this helpful
Yes, when you run GateIn on JBoss. on Tomcat, we only have portal.war