Last updated by admin 4 years ago
?? - layoutHead
?? Description
Used in layouts to output the contents of the head tag of the decorated page. Equivalent to the SiteMesh <decorator:head /> tag. ????????????????????????????????SiteMesh <decorator:head />??????????? Parameters
None ??? Examples
Example decorated page: ????????????<html> <head> <meta name="layout" content="myLayout" /> <script src="myscript.js" /> </head> <body>Page to be decorated</body> </html>
<html> <head> <script src="global.js" /> <g:layoutHead /> </head> <body><g:layoutBody /></body> </html>
<html> <head> <script src="global.js" /> <script src="myscript.js" /> </head> <body>Page to be decorated</body> </html>



