theme:set
Purpose
Sets the theme to use for the current request.You may want to set the theme in use from inside a controller action or a GSP view. Use this tag to do so. Note that a controller can also call directly into thegrailsThemes.setRequestTheme
method to do the same without tag overheads.Example
<theme:set name="customAdmin"/>
Attributes
Name | Required? | Description |
---|---|---|
name | yes | The theme name |