-
1. Re: Role based landing page/portal for user
vivek_saini07 May 1, 2009 3:40 PM (in response to souravm)We also required this feature in our project and we implemented it by making some changes in CustomizationManagerService.
I want to vote in favour of this feature. -
2. Re: Role based landing page/portal for user
pathuri Aug 27, 2009 9:52 AM (in response to souravm)Hi vivek_saini07,
Can you give some details on how this is done? We do have such a requirement and are wondering on how to accomplish.
Thanks"vivek_saini07" wrote:
We also required this feature in our project and we implemented it by making some changes in CustomizationManagerService.
I want to vote in favour of this feature. -
3. Re: Role based landing page/portal for user
vivek_saini07 Aug 27, 2009 12:08 PM (in response to souravm)Well... 4 months old thread!! what made u posting here after so long time??
Had you asked me it four months back, I would have told u this in more detail as I had lots of time (and energy) at that time.
In short, we did it by modifying customizationManagerService. There are number of threads in this forum explaining how to do this.
In that class somewhere it is written that a portal named "Template" would always be copied to dashboard of logged in user.
U can change that piece, some conditional tweak........... on certain condition copy this portal ....otherwise copy some other portal.
We maintained a table in DB that had mapping between users and their portal.
And after doing all this, there is a property in property file of "conf" folder (this is documented in reference guide) by setting that property user will always land to his dashboard after log-in instead of (public)portal.
Hope this would help. -
4. Re: Role based landing page/portal for user
mars76 Aug 27, 2009 12:11 PM (in response to souravm)Hi All,
I need to implement similar feature ( changing the landing page based in User profile info)..
Could some one pls post more details on how you are able to customize the portal code..
I couldn't find the Class "DefaultPortalObjectCommand" in the portal source..
I did find the class CustomizationManagerService and it is true that one need to override is getDashboard() to display a custom Landing Page!!
Thanks
Mars -
5. Re: Role based landing page/portal for user
pathuri Aug 27, 2009 3:56 PM (in response to souravm)Hi vivek_saini07,
I wish I had known this issue 4 months ago to ask for help :-) We are new to portal and are working our way thru.
We are on to building a large CRM based application using JBoss Portal and came across this issue only few days ago.
Thanks a lot for the lead. I think these details are valuable and we will see if we can make the necessary changes and make it to work.
Thanks again."vivek_saini07" wrote:
Well... 4 months old thread!! what made u posting here after so long time??
Had you asked me it four months back, I would have told u this in more detail as I had lots of time (and energy) at that time.
In short, we did it by modifying customizationManagerService. There are number of threads in this forum explaining how to do this.
In that class somewhere it is written that a portal named "Template" would always be copied to dashboard of logged in user.
U can change that piece, some conditional tweak........... on certain condition copy this portal ....otherwise copy some other portal.
We maintained a table in DB that had mapping between users and their portal.
And after doing all this, there is a property in property file of "conf" folder (this is documented in reference guide) by setting that property user will always land to his dashboard after log-in instead of (public)portal.
Hope this would help. -
6. Re: Role based landing page/portal for user
vivek_saini07 Aug 28, 2009 12:07 PM (in response to souravm)In case u haven't gone through it.
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252168#4252168 -
7. Re: Role based landing page/portal for user
amritap Oct 12, 2009 8:37 AM (in response to souravm)We have trying for the role based landing page in our project we implemented in by
extending DefaultPortalCommandFactory class.When we make above changes we land
successfully on the desired page but the default functionalities of the portal
server doesn't work.If we override the doMapping method of
DefaultPortalCommandFactory Class it throws Null Pointer Exception.:(
We are using jboss-portal-2.7.2 version
Any help would be appreciated.
Thanks in Advance
Amrita