-
1. Re: User specific navigation using navigation.xml
vstorm83 Sep 22, 2013 10:55 PM (in response to poornima.abhi)There are configuration files for user navigation in portal.war. Here is the src code: https://github.com/gatein/gatein-portal/tree/3.6.3.Final/web/portal/src/main/webapp/WEB-INF/conf/portal/user
To create navigation for specific user, for example: "root" --> we have root/navigation.xml. We also have "template" folder, for any user navigation create programatically, notice about @owner@ --> it will be replaced by the real user name. You can see that in gatein, when a newly created user log-in, then he click to "Dashboard" link --> A new user navigation will be create for him based on the navigation.xml in "template" folder. Thanks to org.exoplatform.portal.application.UserSiteLifeCycle --> this is an app lifecycle, that is configured in https://github.com/gatein/gatein-portal/blob/3.6.3.Final/web/portal/src/main/webapp/WEB-INF/webui-configuration.xml