Japanese GSP Tag - layoutTitle

Last updated by admin 4 years ago

?? - layoutTitle

?? Description

Used in layouts to output the contents of the title tag of the decorated page. Equivalent to the SiteMesh <decorator:title /> tag. ?????????????????????????????????SiteMesh <decorator:title />??????

????? Parameters

None ??

? Examples

Example decorated page: ????????????

<html>
<head>
<meta name="layout" content="myLayout" />
<title>Hello World!</title>
<script src="myscript.js" />
</head>
<body>Page to be decorated</body>
</html>

Example decorator layout: ?????????????

<html>
<head>
<title><g:layoutTitle default="Some Title" /></title>
<script src="global.js" />
<g:layoutHead />
</head>
<body><g:layoutBody /></body>
</html>

Results in: ????

<html>
<head>
<title>Hello World!</title>
<script src="global.js" />
<script src="myscript.js" />
</head>
<body>Page to be decorated</body>
</html>