2008年12月19日金曜日

Surf Dev. Guide [2.10 テンプレートのレンダラ ]

2.9 テンプレートの種類
本文なし

------------------------------------------------------------------------------
2.10 テンプレートのレンダラ
下記の例は「share」の「search.ftl」である。


<#import "import/alfresco-template.ftl" as template />
<@template.header>
<link rel="stylesheet" type="text/css" href="${url.context}/templates/wiki/wiki.css" />
</@>

<@template.body>
<div id="hd">
<@region id="header" scope="global" protected=true />
<@region id="title" scope="template" protected=true />
</div>
<div id="bd">
<div class="yui-t1">
<div id="yui-main">
<@region id="search" scope="template" protected=true />
</div>
</div>
</div>
</@>

<@template.footer>
<div id="ft">
<@region id="footer" scope="global" protected=true />
</div>
</@>




------------------------------------------------------------------------------
2.11 テーマ
本文なし

0 件のコメント: