blob: 6590b7e380ecd63ca7f500f654bfa659e1c8deb7 [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!--
/*
* $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
-->
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
"http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
<!-- Definitions for Tiles documentation -->
<tiles-definitions>
<definition name="test.def3" template="/test.jsp">
<put-attribute name="title" value="Tiles Library Documentation" />
<put-attribute name="header" value="/common/header.jsp" />
<put-attribute name="menu" value="doc.menu.main" />
<put-attribute name="footer" value="/common/footer.jsp" />
<put-attribute name="body" value="doc.portal.body" />
</definition>
<definition name="test.def*.sub*" template="/test{1}.jsp">
<put-attribute name="country" value="default"/>
<put-attribute name="title" value="Tiles Library Documentation" />
<put-attribute name="header" value="/common/header{2}.jsp" />
<put-attribute name="menu" value="doc.menu.main" />
<put-attribute name="footer" value="/common/footer.jsp" />
<put-attribute name="body" value="doc.portal.body" />
</definition>
<definition name="test.def*.noAttribute" template="/test{1}.jsp" />
<!-- Never used on purpose, if there is the TILES-416 the test will fail -->
<definition name="test.def*" template="/test{1}.jsp">
<put-attribute name="country" value="default"/>
<put-attribute name="title" value="Tiles Library Documentation" />
<put-attribute name="header" value="/common/header-sub.jsp" />
<put-attribute name="menu" value="doc.menu.main" />
<put-attribute name="footer" value="/common/footer.jsp" />
<put-attribute name="body" value="doc.portal.body" />
</definition>
<definition name="test.extended.def*.sub*" extends="test.def{1}.sub{2}">
<put-attribute name="title" value="Overridden Title" />
</definition>
</tiles-definitions>