(Quick Reference)

theme:layout

Purpose

Sets the desired theme layout for the current request.

Call this tag to indicate which Theme layout your page requires.

Example

<html>
<head>
    <theme:layout name="dialog"/>
</head>
<body>
    <theme:zone name="body">
        <g:render template="/mycommon/loginForm"/>
    </theme:zone>
</body>
</html>

Attributes

NameRequired?Description
nameYesThe name of the theme layout desired.