You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by ap...@apache.org on 2009/02/08 15:13:58 UTC
svn commit: r742100 [1/3] - in
/tiles/sandbox/trunk/tiles-test-sandbox/src/main:
java/org/apache/tiles/test/factory/ webapp/ webapp/WEB-INF/freemarker/
webapp/freemarker/
Author: apetrelli
Date: Sun Feb 8 14:13:55 2009
New Revision: 742100
URL: http://svn.apache.org/viewvc?rev=742100&view=rev
Log:
TILESSB-5
Defining structure of the new test webapp.
Added:
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-alt-defs.xml (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs-1.1.xml (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs.xml (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_GB.xml (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_US.xml (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_fr.xml (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_it.xml (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/alternate-header.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/body.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/classpath.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale_db.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/errorInclude.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/exception.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/header.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/index.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutOne.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutTwo.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_alt_title.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_closebody.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_default.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_flush.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_ignore.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_list.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_nobody.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_override.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_preparer.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/override.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/putallattributeslayout.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/putattributeslayout.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/selectlocale.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/selectlocale_db.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testdecorationfilter.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testdef.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testdef_extend.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testdef_list_inherit.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testdef_preparer.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testimportattribute.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testimportattribute_all.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testimportattribute_inherit.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_attribute_preparer.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_attribute_roles.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_cascaded.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_cascaded_list.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_cascaded_overridden.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_cascaded_template.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_classpath.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_composite.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_composite_tags.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_composite_tags_includes_configured.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_composite_tags_includes_configured_notype.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_composite_tags_notype.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_db.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_defaultvalues.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_el.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_el_singleeval.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_exception.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_extended_db.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_flush.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_freemarker.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_ignore.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_inline.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_old.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_openbody.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_override.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_override_and_not.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_override_template.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_preparer.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_preparer_configured.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_reversed.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_reversed_explicit.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_role.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_role_tag.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertdefinition_wildcard.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertnesteddefinition.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertnesteddefinition_tags.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertnestedlistdefinition.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testinsertnestedlistdefinition_tags.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_cascaded.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_cascaded_overridden.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_cascaded_template.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_el.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_el_singleeval.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_flush.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_reversed.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_reversed_explicit.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testput_servlet.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testputlist.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testputlist_cascaded.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testputlist_inherit.ftl (with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/testsetcurrentcontainer.ftl (with props)
Modified:
tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestTilesContainerFactory.java
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/index.jsp
Modified: tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java?rev=742100&r1=742099&r2=742100&view=diff
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java (original)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java Sun Feb 8 14:13:55 2009
@@ -44,7 +44,7 @@
/**
* The number of URLs to load..
*/
- private static final int URL_COUNT = 1;
+ private static final int URL_COUNT = 2;
/** {@inheritDoc} */
@Override
@@ -53,6 +53,7 @@
List<URL> urls = new ArrayList<URL>(URL_COUNT);
try {
urls.add(applicationContext.getResource("/WEB-INF/tiles-alt-defs.xml"));
+ urls.add(applicationContext.getResource("/WEB-INF/freemarker/tiles-alt-defs.xml"));
} catch (IOException e) {
throw new DefinitionsFactoryException(
"Cannot load definition URLs", e);
Modified: tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestTilesContainerFactory.java
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestTilesContainerFactory.java?rev=742100&r1=742099&r2=742100&view=diff
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestTilesContainerFactory.java (original)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/java/org/apache/tiles/test/factory/TestTilesContainerFactory.java Sun Feb 8 14:13:55 2009
@@ -64,7 +64,7 @@
/**
* The number of URLs to load..
*/
- private static final int URL_COUNT = 3;
+ private static final int URL_COUNT = 6;
/** {@inheritDoc} */
@Override
@@ -142,7 +142,7 @@
List<URL> urls = new ArrayList<URL>(URL_COUNT);
try {
Set<URL> urlSet = applicationContext
- .getResources("/WEB-INF/tiles-defs*.xml");
+ .getResources("/WEB-INF/**/tiles-defs*.xml");
for (URL url : urlSet) {
String externalForm = url.toExternalForm();
if (externalForm.indexOf('_', externalForm.lastIndexOf("/")) < 0) {
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-alt-defs.xml
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-alt-defs.xml?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-alt-defs.xml (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-alt-defs.xml Sun Feb 8 14:13:55 2009
@@ -0,0 +1,40 @@
+<?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="test.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This definition is from an alternate container."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+ <definition name="test.definition*.message*" template="/layout{1}.jsp">
+ <put-attribute name="title" value="This definition has a message: {2}."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+</tiles-definitions>
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-alt-defs.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-alt-defs.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs-1.1.xml
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs-1.1.xml?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs-1.1.xml (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs-1.1.xml Sun Feb 8 14:13:55 2009
@@ -0,0 +1,39 @@
+<?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 1.1//EN"
+ "http://struts.apache.org/dtds/tiles-config_1_1.dtd">
+
+<!-- Definitions for Tiles documentation -->
+
+<tiles-definitions>
+
+ <definition name="test.definition.old_format" template="/layout.jsp">
+ <put name="title" value="This is a definition configured in 1.1 format."/>
+ <put name="header" value="/header.jsp"/>
+ <put name="body" value="/body.jsp"/>
+ </definition>
+
+</tiles-definitions>
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs-1.1.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs-1.1.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs.xml
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs.xml?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs.xml (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs.xml Sun Feb 8 14:13:55 2009
@@ -0,0 +1,251 @@
+<?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">
+
+<!-- Definitions for Tiles documentation -->
+
+<tiles-definitions>
+
+ <!-- ======================================================= -->
+ <!-- Master definition -->
+ <!-- ======================================================= -->
+
+ <!-- Doc index page description -->
+ <definition name="test.inner.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is a configured inner definition."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.definition.ignore" template="/layout_ignore.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.definition.freemarker" template="/layout.ftl">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.definition.flush" template="/layout_flush.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.definition.exception" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/exception.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.composite.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is a configured composite definition."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="test.inner.definition"/>
+ </definition>
+
+ <definition name="test.putAttributes" template="/putattributeslayout.jsp">
+ <put-attribute name="stringTest" value="This is a string" type="string" />
+ <put-list-attribute name="list">
+ <add-attribute value="valueOne" type="string" />
+ <add-attribute value="valueTwo" type="string" />
+ <add-attribute value="valueThree" type="string" />
+ </put-list-attribute>
+ </definition>
+
+ <definition name="test.putAttributes.inherit" extends="test.putAttributes">
+ <put-list-attribute name="list" inherit="true">
+ <add-attribute value="valueFour" type="string" />
+ </put-list-attribute>
+ </definition>
+
+ <definition name="test.putAttributes.inherit" extends="test.putAttributes">
+ <put-list-attribute name="list" inherit="true">
+ <add-attribute value="valueFour" type="string" />
+ </put-list-attribute>
+ </definition>
+
+ <definition name="test.putAttributes.inherit" extends="test.putAttributes">
+ <put-list-attribute name="list" inherit="true">
+ <add-attribute value="valueFour" type="string" />
+ </put-list-attribute>
+ </definition>
+
+ <definition name="test.putAllAttributes" template="/putallattributeslayout.jsp">
+ <put-attribute name="one" value="There should be three more strings" type="string" />
+ <put-attribute name="two" value="One" type="string" />
+ <put-attribute name="three" value="Two" type="string" />
+ <put-attribute name="four" value="Three" type="string" />
+ </definition>
+
+ <definition name="preparer.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ </definition>
+
+ <definition name="testdispatchservlet" extends="test.definition"/>
+
+ <definition name="preparer.definition.configured" extends="preparer.definition" preparer="org.apache.tiles.test.preparer.TestViewPreparer" />
+
+ <definition name="test.localized.definition" template="/layout.jsp">
+ <put-attribute name="title" value="Default locale" />
+ <put-attribute name="header" value="/header.jsp" />
+ <put-attribute name="body" value="/defaultlocale.jsp" />
+ </definition>
+
+ <definition name="test.definition.appears" extends="test.definition">
+ <put-attribute name="title" value="This definition appears."/>
+ </definition>
+
+ <definition name="test.definition.does_not_appear" extends="test.definition">
+ <put-attribute name="title" value="This definition does
+ not appear."/>
+ </definition>
+
+ <definition name="test.definition.appears.configured"
+ extends="test.definition.appears" role="goodrole" />
+
+ <definition name="test.definition.does_not_appear.configured"
+ extends="test.definition.does_not_appear" role="badrole" />
+
+ <definition name="test.definition.roles" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp" role="goodrole" />
+ <put-attribute name="body" value="/body.jsp" role="badrole" />
+ </definition>
+
+ <!-- Tests for cascaded attributes -->
+ <definition name="test.overridden.cascaded.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title." cascade="true" />
+ <put-attribute name="header" value="/alternate-header.jsp" cascade="true"/>
+ <put-attribute name="body" value="test.inner.definition"/>
+ </definition>
+
+ <definition name="test.inner.cascadable.definition" template="/layout.jsp">
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.cascaded.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title." cascade="true" />
+ <put-attribute name="header" value="/header.jsp" cascade="true"/>
+ <put-attribute name="body" value="test.inner.cascadable.definition"/>
+ </definition>
+
+ <definition name="test.cascaded.template.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title." cascade="true" />
+ <put-attribute name="header" value="/header.jsp" cascade="true"/>
+ <put-attribute name="body" value="/layout_nobody.jsp"/>
+ </definition>
+
+ <definition name="test.cascaded.list.definition" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title." cascade="true" />
+ <put-attribute name="header" value="/header.jsp" cascade="true"/>
+ <put-attribute name="body" value="/putattributeslayout.jsp"/>
+ <put-attribute name="stringTest" value="This is a string" type="string" cascade="true" />
+ <put-list-attribute name="list" cascade="true">
+ <add-attribute value="valueOne" type="string" />
+ <add-attribute value="valueTwo" type="string" />
+ <add-attribute value="valueThree" type="string" />
+ </put-list-attribute>
+ </definition>
+
+ <definition name="test.reversed.definition" template="/layout_alt_title.jsp">
+ <put-attribute name="title" value="This is the title." type="reversed"/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.reversed.explicit.definition" template="/layout_alt_title.jsp">
+ <put-attribute name="title" value="This is the title."
+ type="org.apache.tiles.test.renderer.ReverseStringAttributeRenderer"/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+
+ <definition name="test.nesting.definitions" template="/layout.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body">
+ <definition template="/layout.jsp">
+ <put-attribute name="title" value="This is a nested definition."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+ </put-attribute>
+ </definition>
+
+ <definition name="test.nesting.list.definitions" template="/layout_list.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-list-attribute name="list">
+ <add-attribute>
+ <definition template="/layout.jsp">
+ <put-attribute name="title" value="This is a nested definition."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/body.jsp"/>
+ </definition>
+ </add-attribute>
+ </put-list-attribute>
+ </definition>
+
+ <definition name="test.composite.el.definition" templateExpression="${layout}"
+ preparer="org.apache.tiles.test.preparer.RequestSettingViewPreparer">
+ <put-attribute name="title" value="This is a configured composite definition."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" expression="${requestScope.body}"/>
+ </definition>
+
+ <definition name="test.composite.el.doNotShow.definition" templateExpression="${layout}"
+ preparer="org.apache.tiles.test.preparer.RequestSettingViewPreparer">
+ <put-attribute name="title" value="This is a configured definition."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" expression="${requestScope.doNotShowBody}"/>
+ </definition>
+
+ <definition name="test.definition.attribute.preparer" template="/layout_preparer.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ </definition>
+
+ <definition name="test.openbody.definition" template="/layout_closebody.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ <put-attribute name="header" value="/header.jsp"/>
+ <put-attribute name="body" value="/layout.jsp" />
+ </definition>
+
+ <definition name="test.defaultvalues.definition" template="/layout_default.jsp">
+ <put-attribute name="title" value="This is the title."/>
+ </definition>
+</tiles-definitions>
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_GB.xml
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_GB.xml?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_GB.xml (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_GB.xml Sun Feb 8 14:13:55 2009
@@ -0,0 +1,38 @@
+<?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.0//EN"
+ "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
+
+<!-- Definitions for Tiles documentation -->
+
+<tiles-definitions>
+ <definition name="test.localized.definition" template="/layout.jsp">
+ <put-attribute name="title" value="British English locale" />
+ <put-attribute name="header" value="/header.jsp" />
+ <put-attribute name="body" value="/defaultlocale.jsp" />
+ </definition>
+
+</tiles-definitions>
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_GB.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_GB.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_US.xml
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_US.xml?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_US.xml (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_US.xml Sun Feb 8 14:13:55 2009
@@ -0,0 +1,38 @@
+<?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.0//EN"
+ "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
+
+<!-- Definitions for Tiles documentation -->
+
+<tiles-definitions>
+ <definition name="test.localized.definition" template="/layout.jsp">
+ <put-attribute name="title" value="American English locale" />
+ <put-attribute name="header" value="/header.jsp" />
+ <put-attribute name="body" value="/defaultlocale.jsp" />
+ </definition>
+
+</tiles-definitions>
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_US.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_en_US.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_fr.xml
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_fr.xml?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_fr.xml (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_fr.xml Sun Feb 8 14:13:55 2009
@@ -0,0 +1,38 @@
+<?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.0//EN"
+ "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
+
+<!-- Definitions for Tiles documentation -->
+
+<tiles-definitions>
+ <definition name="test.localized.definition" template="/layout.jsp">
+ <put-attribute name="title" value="French locale" />
+ <put-attribute name="header" value="/header.jsp" />
+ <put-attribute name="body" value="/defaultlocale.jsp" />
+ </definition>
+
+</tiles-definitions>
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_fr.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_fr.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_it.xml
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_it.xml?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_it.xml (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_it.xml Sun Feb 8 14:13:55 2009
@@ -0,0 +1,38 @@
+<?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.0//EN"
+ "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
+
+<!-- Definitions for Tiles documentation -->
+
+<tiles-definitions>
+ <definition name="test.localized.definition" template="/layout.jsp">
+ <put-attribute name="title" value="Italian locale" />
+ <put-attribute name="header" value="/header.jsp" />
+ <put-attribute name="body" value="/defaultlocale.jsp" />
+ </definition>
+
+</tiles-definitions>
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_it.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/freemarker/tiles-defs_it.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/alternate-header.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/alternate-header.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/alternate-header.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/alternate-header.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,26 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<strong>This is the alternate header</strong>
+
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/alternate-header.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/alternate-header.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/body.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/body.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/body.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/body.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,25 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<div align="center"><b><i>This is a body</i></b></div>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/body.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/body.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/classpath.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/classpath.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/classpath.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/classpath.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,25 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<div align="center"><b><i>This tile was loaded from the classpath</i></b></div>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/classpath.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/classpath.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,28 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<div align="center"><b><i>
+<div id="defaultLocaleMessage">Your default Locale is <%=request.getLocale().toString() %></div>
+</i></b></div>
+<a href="../selectlocale.jsp">Select another locale</a>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale_db.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale_db.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale_db.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale_db.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,28 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<div align="center"><b><i>
+<div id="defaultLocaleMessage">Your default Locale is <%=request.getLocale().toString() %></div>
+</i></b></div>
+<a href="../selectlocale_db.jsp">Select another locale</a>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale_db.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/defaultlocale_db.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/errorInclude.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/errorInclude.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/errorInclude.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/errorInclude.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,25 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+The "force include" attribute has not been set.
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/errorInclude.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/errorInclude.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/exception.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/exception.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/exception.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/exception.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,26 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<strong>This throws an exception</strong>
+<% throw new Exception("This is a test exception"); %>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/exception.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/exception.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/header.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/header.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/header.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/header.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,26 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<strong>This is the header</strong>
+
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/header.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/header.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/index.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/index.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/index.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/index.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,114 @@
+<%@ page session="false" %>
+<!--
+/*
+ * $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.
+ *
+ */
+-->
+<html>
+<head>
+ <title>Tiles 2 Test Application</title>
+</head>
+
+<body>
+ <h1>Tiles 2 Test Application</h1>
+
+ <h2>Features in Tiles 2.0.x</h2>
+
+ <h3>Standard Render/Attribute Tests</h3>
+ <a href="testinsertdefinition.jsp">Test Insert Configured Definition</a><br/>
+ <a href="testinsertdefinition_ignore.jsp">Test Insert Configured Definition with Ignore</a><br/>
+ <a href="testinsertdefinition_flush.jsp">Test Insert Configured Definition with Flush</a><br/>
+ <a href="testinsertdefinition_preparer.jsp">Test Insert Configured Definition with Preparer</a><br/>
+ <a href="testinsertdefinition_preparer_configured.jsp">Test Insert Configured Definition with Preparer configured in the definition itself</a><br/>
+ <a href="testinsertdefinition_classpath.jsp">Test Insert Configured Classpath Definition</a><br/>
+ <a href="testinsertdefinition_override.jsp">Test Insert Configured Definition with an overridden content</a><br/>
+ <a href="testinsertdefinition_override_and_not.jsp">Test Insert Configured Definition with an overridden content and one with original content</a><br/>
+ <a href="testinsertdefinition_inline.jsp">Test Insert Configured Definition with an inline content</a><br/>
+ <a href="testinsertdefinition_composite.jsp">Test Insert Configured Definition that contains another definition inside</a><br/>
+ <a href="testinsertdefinition_exception.jsp">Test Insert Configured Definition with an exception in an attribute page</a><br/>
+ <a href="testinsertdefinition_freemarker.jsp">Test Insert Configured Definition with FreeMarker</a><br/>
+ <a href="testinsertdefinition_openbody.jsp">Test Insert Configured Definition with Open Body</a><br/>
+ <a href="testput.jsp">Test Put Tag</a><br/>
+ <a href="testput_flush.jsp">Test Put Tag with Flush</a><br/>
+ <a href="testput_el.jsp">Test Put Tag using EL</a><br/>
+ <a href="testput_servlet.jsp">Test Put Tag using a servlet mapping as a template</a><br/>
+ <a href="testputlist.jsp">Test Put List Tag</a><br/>
+ <a href="testimportattribute.jsp">Test importAttribute Tag</a><br/>
+ <a href="testimportattribute_all.jsp">Test importAttribute Tag with no name</a><br/>
+ <a href="testdecorationfilter.jsp">Test Tiles Definition Filter</a><br/>
+ <a href="testdispatchservlet.tiles">Test Tiles Dispatch Servlet</a><br/>
+ <a href="selectlocale.jsp">Test Localization</a><br/>
+
+ <h3>Mutable Container Tests</h3>
+ <a href="testinitcontainer.jsp">Test Initialize Container</a><br/>
+ <a href="testdef.jsp">Test Definition Tag</a><br/>
+ <a href="testdef_extend.jsp">Test Definition Tag extending configured and custom definitions</a><br/>
+ <a href="testdef_preparer.jsp">Test Definition Tag with Preparer</a><br/>
+ <a href="testinsertdefinition_composite_tags_includes_configured.jsp">Test Insert Definition that contains another definition inside (configured via tiles-defs.xml) using JSP tags</a><br/>
+ <a href="testinsertdefinition_composite_tags.jsp">Test Insert Definition that contains another definition inside using JSP tags</a><br/>
+ <a href="testinsertdefinition_composite_tags_includes_configured_notype.jsp">Test Insert Definition that contains another definition inside (configured via tiles-defs.xml) using JSP tags without types</a><br/>
+ <a href="testinsertdefinition_composite_tags_notype.jsp">Test Insert Definition that contains another definition inside using JSP tags without types</a><br/></body>
+
+ <h3>Roles Verification tests</h3>
+ <a href="testinsertdefinition_role.jsp">Test Insert Configured Definition with Specified Role</a><br/>
+ <a href="testinsertdefinition_role_tag.jsp">Test Insert Configured Definition with Specified Role in Tag</a><br/>
+ <a href="testinsertdefinition_attribute_roles.jsp">Test Insert Configured Definition with Attribute that have Roles</a><br/>
+
+ <h2>Features in Tiles 2.1.x</h2>
+
+ <h3>Standard Render/Attribute Tests</h3>
+ <a href="testinsertdefinition_override_template.jsp">Test Insert Configured Definition with an overridden template</a><br/>
+ <a href="testinsertdefinition_old.jsp">Test Insert Configured Definition in Old Format</a><br/>
+ <a href="testinsertdefinition_cascaded.jsp">Test Insert Configured Cascaded Definition</a><br/>
+ <a href="testinsertdefinition_cascaded_overridden.jsp">Test Insert Configured Cascaded Definition with Override</a><br/>
+ <a href="testinsertdefinition_cascaded_template.jsp">Test Insert Configured Cascaded Definition with Template</a><br/>
+ <a href="testinsertdefinition_cascaded_list.jsp">Test Insert Configured Cascaded Definition with List</a><br/>
+ <a href="testinsertdefinition_reversed.jsp">Test Insert Configured Definition with Reversed Attribute</a><br/>
+ <a href="testinsertdefinition_reversed_explicit.jsp">Test Insert Configured Definition with Reversed Explicit Attribute</a><br/>
+ <a href="testinsertdefinition_attribute_preparer.jsp">Test Insert Configured Definition with Attribute Preparer</a><br/>
+ <a href="testinsertnesteddefinition.jsp">Test Insert Nested Definition</a><br/>
+ <a href="testinsertnesteddefinition_tags.jsp">Test Insert Nested Definition only using JSP tags</a><br/>
+ <a href="testinsertnestedlistdefinition.jsp">Test Insert Nested List Definition</a><br/>
+ <a href="testinsertnestedlistdefinition_tags.jsp">Test Insert Nested List Definition only using JSP tags</a><br/>
+ <a href="testinsertdefinition_el.jsp">Test Insert Configured Definition with EL</a><br/>
+ <a href="testinsertdefinition_el_singleeval.jsp">Test Insert Configured Definition with EL to test Single Evaluation</a><br/>
+ <a href="testinsertdefinition_wildcard.jsp">Test Insert Configured Definition with Wildcards</a><br/>
+ <a href="testinsertdefinition_defaultvalues.jsp">Test Insert Configured Definition with Default Values</a><br/>
+ <a href="testput_cascaded.jsp">Test Put Tag with Cascaded Attributes</a><br/>
+ <a href="testput_cascaded_overridden.jsp">Test Put Tag with Overridden Cascaded Attributes</a><br/>
+ <a href="testput_cascaded_template.jsp">Test Put Tag with Cascaded Attributes and Template</a><br/>
+ <a href="testput_el_singleeval.jsp">Test Put Tag using EL to test Single Evaluation</a><br/>
+ <a href="testput_reversed.jsp">Test Put Tag with Reversed Attribute</a><br/>
+ <a href="testput_reversed_explicit.jsp">Test Put Tag with Reversed Explicit Attribute</a><br/>
+ <a href="testputlist_cascaded.jsp">Test Put List Cascaded Tag</a><br/>
+ <a href="testputlist_inherit.jsp">Test Put List Tag with Inherit</a><br/>
+ <a href="testimportattribute_inherit.jsp">Test importAttribute Tag with List Inherit</a><br/>
+ <a href="testsetcurrentcontainer.jsp">Test setCurrentContainer Tag</a><br/>
+
+ <h3>Mutable Container Tests</h3>
+ <a href="testdef_list_inherit.jsp">Test Definition Tag with a List Inherit</a><br/>
+
+ <h3>Database Verification tests</h3>
+ <a href="testinsertdefinition_db.jsp">Test Insert Configured Definition from DB</a><br/>
+ <a href="testinsertdefinition_extended_db.jsp">Test Insert Extended Configured Definition from DB</a><br/>
+ <a href="selectlocale_db.jsp">Test Localization from DB</a><br/>
+
+</html>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/index.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/index.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,37 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header"/></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="body"/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutOne.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutOne.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutOne.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutOne.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,40 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="yellow">This is layout one.</td>
+ </tr>
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header"/></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="body"/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutOne.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutOne.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutTwo.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutTwo.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutTwo.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutTwo.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,40 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="yellow">This is layout two.</td>
+ </tr>
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header"/></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="body"/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutTwo.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layoutTwo.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_alt_title.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_alt_title.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_alt_title.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_alt_title.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,37 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:insertAttribute name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header"/></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="body"/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_alt_title.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_alt_title.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_closebody.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_closebody.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_closebody.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_closebody.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,43 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header"/></td>
+ </tr>
+ <tr>
+ <td>
+ <tiles:insertAttribute name="body">
+ <tiles:putAttribute name="title" value="This is a customized context" />
+ <tiles:putAttribute name="header" value="/header.jsp" />
+ <tiles:putAttribute name="body" value="/body.jsp" />
+ </tiles:insertAttribute>
+ </td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_closebody.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_closebody.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_default.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_default.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_default.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_default.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,37 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:insertAttribute name="title" defaultValue="This is the default title."/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header" defaultValue="alternate-header.jsp" defaultValueType="template"/></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="body" defaultValue="This is the default body in the tag."/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_default.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_default.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_flush.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_flush.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_flush.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_flush.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,37 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header" flush="true"/></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="body" flush="true"/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_flush.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_flush.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_ignore.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_ignore.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_ignore.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_ignore.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,37 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header" ignore="true"/></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="body"/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_ignore.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_ignore.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_list.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_list.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_list.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_list.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,43 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header"/></td>
+ </tr>
+ <tr>
+ <td>
+ <tiles:importAttribute name="list"/>
+ <c:forEach var="attribute" items="${list}">
+ <tiles:insertAttribute value="${attribute}" />
+ </c:forEach>
+ </td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_list.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_list.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_nobody.ftl
URL: http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_nobody.ftl?rev=742100&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_nobody.ftl (added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_nobody.ftl Sun Feb 8 14:13:55 2009
@@ -0,0 +1,34 @@
+<%@ page session="false" %>
+<%--
+/*
+ * $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.
+ *
+ */
+--%>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+
+<table border="2" width="300" bordercolor="Gray">
+ <tr>
+ <td bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
+ </tr>
+ <tr>
+ <td><tiles:insertAttribute name="header"/></td>
+ </tr>
+</table>
\ No newline at end of file
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_nobody.ftl
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/freemarker/layout_nobody.ftl
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL