applyLayout

Purpose

Applies the specified layout to either the body, a given template and an arbitrary URL allowing the development of "portlet" style applications and mashups

Examples

<g:applyLayout name="myLayout" template="displaybook" collection="${books}" />

or

<g:applyLayout name="myLayout" url="http://www.google.com" />

or

<g:applyLayout name="myLayout">
The content to apply a layout to
</g:applyLayout>

Description

Attributes

Source

Show Source