(Quick Reference)

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 the grailsThemes.setRequestTheme method to do the same without tag overheads.

Example

<theme:set name="customAdmin"/>

Attributes

NameRequired?Description
nameyesThe theme name