Home > FAQs > Can I change theme on a per-page basis |
The default theme is passed to the page through a theme
variable. To change the theme for a page, use the set
tag to change the theme
variable. The variable can be changed using a static value or property.
Change to the "simple" theme.
<s:set name="theme" value="'simple'" scope="page" />
Change to the theme name indicated by the myTheme
property.
<s:set name="theme" value="%{myTheme}" scope="page" />
See also Selecting Themes