Dashboard > WebWork > ... > FAQ > Can I change theme on a per-page basis
  WebWork Log In View a printable version of the current page.  
  Can I change theme on a per-page basis
Added by tm_jee, last edited by Eric Molitor on Jan 26, 2006  (view change)
Labels: 
(None)

Yes, by using the <ww:set name="theme" value="myTheme" scope="page" />.

This will set the attribute 'theme' in the page scope, with the value of what that is returned by 'myTheme' in the stack, eg. the action class might have a getMyTheme method that return a String called simple, to indicate simple theme.

Another way would be <ww:set name="theme" value="'simple'" scope="page" />

This will set the attribute 'theme' in the page scope with the value 'simple' to indicate a simple theme.

See Selecting Themes

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request - Contact Administrators