How do i assign different title for each page using tiles. Following is my tile layout which
has title "My Site Name". And it has Header, Side Menu, BODY, Footer.
Should i have <title></title> in each BODY jsp ?
Is there any short cut to get the page name and over ride the main layout title ?
Thanks for the help.
Raj
----------------------------------------------------------------------------------------
<title>My Site Name</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="770">
<tiles:insert attribute="header" />
</td>
</tr>
<tr>
<td>
<table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="144" valign="top"><tiles:insert attribute="menu" /></td>
<td width="626" valign="top"><tiles:insert attribute="body" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="770">
<tiles:insert attribute="footer" />
</td>
</tr>
</table>
</body>
</html>
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
|