43 lines
1.3 KiB
XML
43 lines
1.3 KiB
XML
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||
|
|
||
|
<!DOCTYPE tiles-definitions PUBLIC
|
||
|
"-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
|
||
|
"http://jakarta.apache.org/struts/dtds/tiles-config_1_1.dtd">
|
||
|
|
||
|
|
||
|
<!--
|
||
|
This is a blank Tiles definition file with a commented example.
|
||
|
-->
|
||
|
|
||
|
<tiles-definitions>
|
||
|
|
||
|
<!-- sample tiles definitions
|
||
|
<definition name=".mainLayout" path="/common/layouts/classicLayout.jsp">
|
||
|
<put name="title" value="Sample Page Title" />
|
||
|
<put name="header" value="/common/header.jsp" />
|
||
|
<put name="menu" value=".mainMenu" />
|
||
|
<put name="footer" value="/common/footer.jsp" />
|
||
|
<put name="body" value=".portal.body" />
|
||
|
</definition>
|
||
|
|
||
|
<definition name=".mainMenu" path="/common/layouts/vboxLayout.jsp" >
|
||
|
<putList name="list" >
|
||
|
<add value=".menu.links" />
|
||
|
<add value=".menu.taglib.references" />
|
||
|
<add value=".menu.printer.friendly" />
|
||
|
<add value=".menu.old.documents" />
|
||
|
</putList>
|
||
|
</definition>
|
||
|
|
||
|
<definition name="aPage" extends=".mainLayout">
|
||
|
<put name="title" value="Another Title" />
|
||
|
<put name="body" value=".aPage.body" />
|
||
|
</definition>
|
||
|
|
||
|
end samples -->
|
||
|
|
||
|
<definition name="${YOUR_DEFINITION_HERE}">
|
||
|
</definition>
|
||
|
|
||
|
</tiles-definitions>
|