-
1. Re: How to set the theme programatically
m.paranjape Sep 25, 2008 8:23 AM (in response to m.paranjape)I have found a partial solution to this problem.
Portal.setDeclaredProperty(ThemeConstants.PORTAL_PROP_THEME, themeName);
This changes the theme. The above line of code sets the theme across users. i.e for any and every user who logs in the portal the theme will be changed. This is not what I want.
My requirement is when the user changes the theme it should be changed for that particular user itself and should not reflect for other users just as it happens in case of dashboard.
Could any one out there help me resolve this problem?
Appreciate if anyone from the JBoss portal team addresses this as I have a deadline to meet. -
2. Re: How to set the theme programatically
m.paranjape Sep 26, 2008 1:41 AM (in response to m.paranjape)Could anyone from the JBoss portal team care to help me? Its a little urgent.
-
3. Re: How to set the theme programatically
andre1001 Oct 27, 2008 5:02 PM (in response to m.paranjape)Hi,
JBoss Portal 2.7.0 CR1.
I have the same question, but I've noticed that it's possible to change the portal theme on a user basis using the dashboard area.
Is it possible to change themes for regular portal objetcs like "admin" and "default" on a user basis?!?
I've also noticed that users are children objects from dashboard object, but there's no users as children objects from "default" portal object, for example.
Thanks for any help.