<html>
<head>
<meta name="layout" content="myLayout" />
<script src="myscript.js"></script>
</head>
<body>Page to be decorated</body>
</html>
layoutBody
Purpose
Used in layouts to output the contents of the body tag of the decorated page.
Examples
Example decorated page:
Example decorator layout:
<html>
<head>
<script src="global.js"></script>
<g:layoutHead />
</head>
<body><g:layoutBody /></body>
</html>
Results in:
<html>
<head>
<script src="global.js"></script>
<script src="myscript.js"></script>
</head>
<body>Page to be decorated</body>
</html>