blob: e230658a74a2443d8b34fb9bdef7d487c6aee91e [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 2.1//EN"
"http://tiles.apache.org/dtds/tiles-config_2_1.dtd">
<tiles-definitions>
<definition name="freemarker.test.definition" template="/freemarker/layout.ftl">
<put-attribute name="title" value="This definition is from an alternate container."/>
<put-attribute name="header" value="/freemarker/header.ftl"/>
<put-attribute name="body" value="/freemarker/body.ftl"/>
</definition>
<definition name="freemarker.test.definition.alt" template="/freemarker/layout.ftl">
<put-attribute name="title" value="This definition is from an alternate container."/>
<put-attribute name="header" value="/freemarker/header.ftl"/>
<put-attribute name="body" value="/org/apache/tiles/test/alt/freemarker/body.ftl"/>
</definition>
<definition name="WILDCARD:freemarker.test.definition*.message*" template="/freemarker/layout{1}.ftl">
<put-attribute name="title" value="This definition has a message: {2}."/>
<put-attribute name="header" value="/freemarker/header.ftl"/>
<put-attribute name="body" value="/freemarker/body.ftl"/>
</definition>
<definition name="REGEXP:freemarker\.test\.regexp\.definition(.*)\.message(.*)" template="/freemarker/layout{1}.ftl">
<put-attribute name="title" value="This definition has a message: {2}."/>
<put-attribute name="header" value="/freemarker/header.ftl"/>
<put-attribute name="body" value="/freemarker/body.ftl"/>
</definition>
</tiles-definitions>