[jboss-user] [JBoss Portal] - Howto change theme of Configure Dashboard page?

esmith1 do-not-reply at jboss.com
Thu Oct 2 10:21:37 EDT 2008

I have not been able to find a simple way to change the theme of the Configure Dashboard page.  Changing the theme.id of the dashboard context in default-object.xml only changes it for the dashboard pages.  Changing the theme.id for the default changes it for the portal and the Admin pages, but not Configure Dashboard.

I tried unsuccessfully adding a dashboard-object.xml to portal-admin.sar\portal-admin.war\WEB-INF, guessing the parent-ref
  |    <deployment>
  |       <if-exists>overwrite</if-exists>
  |       <parent-ref>default.configure</parent-ref>
  |             <properties>
  | 	       <property>
  | 	          <name>theme.id</name>
  | 	          <value>mytheme</value>
  | 	       </property>
  |             </properties>
  |    </deployment>
  | </deployments>

The only approach I found that worked was altering portal-core.war\layouts\generic\maximized.jsp by changing the default theme name, but this is less than desirable since it impacts more than Configure Dashboard and is a hardcoded solution <p:theme themeName="mytheme"/>

Is there a configurable way to specify the theme used by Configure Dashboard?
Alternatively, is there a configurable way to adjust the layout page being used for Configure Dashboard (e.g. not use generic\maximized.jsp)?
In the future wouldnt it be best if Configure Dashboard simply used the theme defined for the user's dashboard?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180041#4180041

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180041

More information about the jboss-user mailing list