-
1. Re: Is it possible to create userbased page in GateIn
nttuyen266 Sep 16, 2013 4:56 AM (in response to anishantony)1 of 1 people found this helpfulWhen a user click on Dashboard (i mean My Page as you mention), a user page will be created automatically, you don't need to create it yourself.
Or what else user page do you need to create programatically?
-
2. Re: Is it possible to create userbased page in GateIn
anishantony Sep 18, 2013 12:55 AM (in response to nttuyen266)Yes, I want tor create user page programatically.
-
3. Re: Is it possible to create userbased page in GateIn
nttuyen266 Sep 23, 2013 11:03 PM (in response to anishantony)Hi Anish,
You can create user page programmatically, to create user page you need:
- Create user site if is not exist
- Create user page
- Create user node refer to user page have been created.
You can refer to Dashboard - an user page is created programmatically too.
With dashboard, user page will be created in org.exoplatform.portal.application.UserSiteLifeCycle#onStartRequest(), this is an app lifecycle, it is configured in https://github.com/gatein/gatein-portal/blob/3.6.3.Final/web/portal/src/main/webapp/WEB-INF/webui-configuration.xml