You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by nl...@apache.org on 2014/04/29 03:56:01 UTC
svn commit: r1590859 - in /tiles/framework/trunk: ./ assembly/ tiles-api/
tiles-compat/ tiles-core/ tiles-el/ tiles-extras/ tiles-freemarker/
tiles-jsp/ tiles-mvel/ tiles-ognl/ tiles-servlet/ tiles-template/
tiles-test-pom/tiles-test-db/ tiles-test-pom...
Author: nlebas
Date: Tue Apr 29 01:56:00 2014
New Revision: 1590859
URL: http://svn.apache.org/r1590859
Log:
bump to tiles-request-1.0.4 and add integration test for TILES-571
Added:
tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/freemarker/tiles-defs_with_undescore.xml
tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/tiles-defs_with_undescore.xml
tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/velocity/tiles-defs_with_undescore.xml
tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/freemarker/testunderscores_nolocale.ftl
tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/testunderscores_nolocale.jsp
tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/velocity/testunderscores_nolocale.vm
tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/ConfiguredDefinitionWithUnderscoresTest.html
tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/freemarker/ConfiguredDefinitionWithUnderscoresTest.html
tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/velocity/ConfiguredDefinitionWithUnderscoresTest.html
Modified:
tiles/framework/trunk/assembly/pom.xml
tiles/framework/trunk/pom.xml
tiles/framework/trunk/tiles-api/pom.xml
tiles/framework/trunk/tiles-compat/pom.xml
tiles/framework/trunk/tiles-core/pom.xml
tiles/framework/trunk/tiles-el/pom.xml
tiles/framework/trunk/tiles-extras/pom.xml
tiles/framework/trunk/tiles-freemarker/pom.xml
tiles/framework/trunk/tiles-jsp/pom.xml
tiles/framework/trunk/tiles-mvel/pom.xml
tiles/framework/trunk/tiles-ognl/pom.xml
tiles/framework/trunk/tiles-servlet/pom.xml
tiles/framework/trunk/tiles-template/pom.xml
tiles/framework/trunk/tiles-test-pom/tiles-test-db/pom.xml
tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml
tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/index.jsp
tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/TestSuite.html
tiles/framework/trunk/tiles-velocity/pom.xml
Modified: tiles/framework/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/assembly/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/assembly/pom.xml (original)
+++ tiles/framework/trunk/assembly/pom.xml Tue Apr 29 01:56:00 2014
@@ -203,7 +203,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <version>1.5.8</version>
+ <version>1.7.6</version>
<scope>runtime</scope>
</dependency>
Modified: tiles/framework/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/pom.xml (original)
+++ tiles/framework/trunk/pom.xml Tue Apr 29 01:56:00 2014
@@ -217,15 +217,20 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.7.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <version>1.5.8</version>
- <optional>true</optional>
+ <version>1.7.6</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
- <version>1.5.8</version>
- <optional>true</optional>
+ <version>1.7.6</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tiles</groupId>
@@ -313,7 +318,7 @@
<tiles.osgi.private />
<tiles.manifestfile>target/osgi/MANIFEST.MF</tiles.manifestfile>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <tiles.request.version>1.0.1</tiles.request.version>
+ <tiles.request.version>1.0.4</tiles.request.version>
<tiles.autotag.version>1.1.0</tiles.autotag.version>
</properties>
Modified: tiles/framework/trunk/tiles-api/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-api/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-api/pom.xml (original)
+++ tiles/framework/trunk/tiles-api/pom.xml Tue Apr 29 01:56:00 2014
@@ -81,9 +81,13 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-jdk14</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.tiles</groupId>
Modified: tiles/framework/trunk/tiles-compat/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-compat/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-compat/pom.xml (original)
+++ tiles/framework/trunk/tiles-compat/pom.xml Tue Apr 29 01:56:00 2014
@@ -89,8 +89,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-core/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-core/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-core/pom.xml (original)
+++ tiles/framework/trunk/tiles-core/pom.xml Tue Apr 29 01:56:00 2014
@@ -88,13 +88,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-el/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-el/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-el/pom.xml (original)
+++ tiles/framework/trunk/tiles-el/pom.xml Tue Apr 29 01:56:00 2014
@@ -85,8 +85,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-extras/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-extras/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-extras/pom.xml (original)
+++ tiles/framework/trunk/tiles-extras/pom.xml Tue Apr 29 01:56:00 2014
@@ -131,14 +131,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-freemarker/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-freemarker/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-freemarker/pom.xml (original)
+++ tiles/framework/trunk/tiles-freemarker/pom.xml Tue Apr 29 01:56:00 2014
@@ -64,8 +64,19 @@
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-jsp/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-jsp/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-jsp/pom.xml (original)
+++ tiles/framework/trunk/tiles-jsp/pom.xml Tue Apr 29 01:56:00 2014
@@ -127,8 +127,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-mvel/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-mvel/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-mvel/pom.xml (original)
+++ tiles/framework/trunk/tiles-mvel/pom.xml Tue Apr 29 01:56:00 2014
@@ -80,8 +80,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-ognl/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-ognl/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-ognl/pom.xml (original)
+++ tiles/framework/trunk/tiles-ognl/pom.xml Tue Apr 29 01:56:00 2014
@@ -80,8 +80,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-servlet/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-servlet/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-servlet/pom.xml (original)
+++ tiles/framework/trunk/tiles-servlet/pom.xml Tue Apr 29 01:56:00 2014
@@ -95,9 +95,21 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
+
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
Modified: tiles/framework/trunk/tiles-template/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-template/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-template/pom.xml (original)
+++ tiles/framework/trunk/tiles-template/pom.xml Tue Apr 29 01:56:00 2014
@@ -59,8 +59,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>
Modified: tiles/framework/trunk/tiles-test-pom/tiles-test-db/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test-db/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test-db/pom.xml (original)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test-db/pom.xml Tue Apr 29 01:56:00 2014
@@ -40,7 +40,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
- <version>2.5.6</version>
+ <version>3.2.0.RELEASE</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
Modified: tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml (original)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml Tue Apr 29 01:56:00 2014
@@ -66,7 +66,13 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <version>1.5.8</version>
+ <scope>compile</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>compile</scope>
</dependency>
<dependency>
@@ -106,7 +112,7 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
- <version>2.5.6</version>
+ <version>3.2.0.RELEASE</version>
<exclusions>
<exclusion>
<groupId>commons-logging</groupId>
@@ -278,7 +284,7 @@
</goals>
<configuration>
<background>true</background>
- <browser>*firefox</browser>
+ <browser>*googlechrome</browser>
<startURL>http://localhost:8080/tiles-test/</startURL>
<suite>src/test/selenium/TestSuite.html</suite>
</configuration>
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/freemarker/tiles-defs_with_undescore.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/freemarker/tiles-defs_with_undescore.xml?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/freemarker/tiles-defs_with_undescore.xml (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/freemarker/tiles-defs_with_undescore.xml Tue Apr 29 01:56:00 2014
@@ -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="freemarker.test.non.localized.definition" template="/freemarker/layout.ftl">
+ <put-attribute name="title" value="Non localized definition" />
+ <put-attribute name="header" value="/freemarker/header.ftl" />
+ <put-attribute name="body" value="/freemarker/body.ftl" />
+ </definition>
+
+</tiles-definitions>
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/tiles-defs_with_undescore.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/tiles-defs_with_undescore.xml?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/tiles-defs_with_undescore.xml (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/tiles-defs_with_undescore.xml Tue Apr 29 01:56:00 2014
@@ -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.non.localized.definition" template="/layout.jsp">
+ <put-attribute name="title" value="Non localized definition" />
+ <put-attribute name="header" value="/header.jsp" />
+ <put-attribute name="body" value="/body.jsp" />
+ </definition>
+
+</tiles-definitions>
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/velocity/tiles-defs_with_undescore.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/velocity/tiles-defs_with_undescore.xml?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/velocity/tiles-defs_with_undescore.xml (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/WEB-INF/velocity/tiles-defs_with_undescore.xml Tue Apr 29 01:56:00 2014
@@ -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="velocity.test.non.localized.definition" template="/velocity/layout.vm">
+ <put-attribute name="title" value="Non localized definition" />
+ <put-attribute name="header" value="/velocity/header.vm" />
+ <put-attribute name="body" value="/velocity/body.vm" />
+ </definition>
+
+</tiles-definitions>
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/freemarker/testunderscores_nolocale.ftl
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/freemarker/testunderscores_nolocale.ftl?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/freemarker/testunderscores_nolocale.ftl (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/freemarker/testunderscores_nolocale.ftl Tue Apr 29 01:56:00 2014
@@ -0,0 +1,24 @@
+<#--
+/*
+ * $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.
+ *
+ */
+-->
+<@tiles.insertDefinition name="freemarker.test.non.localized.definition" />
Modified: tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/index.jsp?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/index.jsp (original)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/index.jsp Tue Apr 29 01:56:00 2014
@@ -118,6 +118,11 @@
<a href="testinsertdefinition_ognl.jsp">Test Insert Configured Definition with OGNL</a><br/>
<a href="testinsertdefinition_regexp.jsp">Test Insert Configured Definition with Regular Expression</a><br/>
+ <h2>Features in Tiles 3.0.x</h2>
+
+ <h3>TILES-571</h3>
+ <a href="testunderscores_nolocale.jsp">Test underscores without localization</a>
+
<h1>FreeMarker-based tests</h1>
<h2>Features in Tiles 2.0.x</h2>
@@ -205,6 +210,11 @@
<a href="freemarker/testinsertdefinition_regexp.ftl">FreeMarker: Test Insert Configured Definition with Regular Expression</a><br/>
<a href="org/apache/tiles/test/alt/freemarker/testinsertdefinition_alt.ftl">FreeMarker: Test Insert Configured Definition in Module</a><br/>
+ <h2>Features in Tiles 3.0.x</h2>
+
+ <h3>TILES-571</h3>
+ <a href="freemarker/testunderscores_nolocale.ftl">FreeMarker: Test underscores without localization</a>
+
<h1>Velocity-based tests</h1>
<h2>Features in Tiles 2.0.x</h2>
@@ -292,4 +302,9 @@
<a href="velocity/testinsertdefinition_regexp.vm">Velocity: Test Insert Configured Definition with Regular Expression</a><br/>
<a href="org/apache/tiles/test/alt/velocity/testinsertdefinition_alt.vm">Velocity: Test Insert Configured Definition in Module</a><br/>
+ <h2>Features in Tiles 3.0.x</h2>
+
+ <h3>TILES-571</h3>
+ <a href="velocity/testunderscores_nolocale.vm">Velocity: Test underscores without localization</a>
+
</html>
\ No newline at end of file
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/testunderscores_nolocale.jsp
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/testunderscores_nolocale.jsp?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/testunderscores_nolocale.jsp (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/testunderscores_nolocale.jsp Tue Apr 29 01:56:00 2014
@@ -0,0 +1,27 @@
+<%@ 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" %>
+
+<tiles:insertDefinition name="test.non.localized.definition" />
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/velocity/testunderscores_nolocale.vm
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/velocity/testunderscores_nolocale.vm?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/velocity/testunderscores_nolocale.vm (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/main/webapp/velocity/testunderscores_nolocale.vm Tue Apr 29 01:56:00 2014
@@ -0,0 +1,22 @@
+#*
+ * $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.
+ *
+ *#
+#tiles_insertDefinition({"name" : "velocity.test.non.localized.definition"})#end
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/ConfiguredDefinitionWithUnderscoresTest.html
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/ConfiguredDefinitionWithUnderscoresTest.html?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/ConfiguredDefinitionWithUnderscoresTest.html (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/ConfiguredDefinitionWithUnderscoresTest.html Tue Apr 29 01:56:00 2014
@@ -0,0 +1,52 @@
+<!--
+/*
+ * $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>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Configured Definition Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Configured Definition Test</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/tiles-test/index.jsp</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Test underscores without localization</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>Non localized definition</td>
+ <td></td>
+</tr>
+
+
+</tbody></table>
+</body>
+</html>
Modified: tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/TestSuite.html
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/TestSuite.html?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/TestSuite.html (original)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/TestSuite.html Tue Apr 29 01:56:00 2014
@@ -121,6 +121,9 @@
<td><a href="ConfiguredDefinitionRegexpTest.html">Configured Definition Regular Expression Test</a></td>
</tr>
<tr>
+ <td><a href="ConfiguredDefinitionWithUnderscoresTest.html">Configured Definition With Underscores Test</a></td>
+ </tr>
+ <tr>
<td><a href="PutTagTest.html">Put Tag Test</a></td>
</tr>
<tr>
@@ -319,6 +322,9 @@
<td><a href="freemarker/ConfiguredDefinitionRegexpTest.html">FreeMarker: Configured Definition Regular Expression Test</a></td>
</tr>
<tr>
+ <td><a href="freemarker/ConfiguredDefinitionWithUnderscoresTest.html">FreeMarker: Configured Definition With Underscores Test</a></td>
+ </tr>
+ <tr>
<td><a href="freemarker/PutTagTest.html">FreeMarker: Put Tag Test</a></td>
</tr>
<tr>
@@ -517,6 +523,9 @@
<td><a href="velocity/ConfiguredDefinitionRegexpTest.html">Velocity: Configured Definition Regular Expression Test</a></td>
</tr>
<tr>
+ <td><a href="velocity/ConfiguredDefinitionWithUnderscoresTest.html">Velocity: Configured Definition With Underscores Test</a></td>
+ </tr>
+ <tr>
<td><a href="velocity/PutTagTest.html">Velocity: Put Tag Test</a></td>
</tr>
<tr>
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/freemarker/ConfiguredDefinitionWithUnderscoresTest.html
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/freemarker/ConfiguredDefinitionWithUnderscoresTest.html?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/freemarker/ConfiguredDefinitionWithUnderscoresTest.html (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/freemarker/ConfiguredDefinitionWithUnderscoresTest.html Tue Apr 29 01:56:00 2014
@@ -0,0 +1,52 @@
+<!--
+/*
+ * $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>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Configured Definition Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Configured Definition Test</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/tiles-test/index.jsp</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=FreeMarker: Test underscores without localization</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>Non localized definition</td>
+ <td></td>
+</tr>
+
+
+</tbody></table>
+</body>
+</html>
Added: tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/velocity/ConfiguredDefinitionWithUnderscoresTest.html
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/velocity/ConfiguredDefinitionWithUnderscoresTest.html?rev=1590859&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/velocity/ConfiguredDefinitionWithUnderscoresTest.html (added)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/src/test/selenium/velocity/ConfiguredDefinitionWithUnderscoresTest.html Tue Apr 29 01:56:00 2014
@@ -0,0 +1,52 @@
+<!--
+/*
+ * $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>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Configured Definition Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">Configured Definition Test</td></tr>
+</thead><tbody>
+<tr>
+ <td>open</td>
+ <td>/tiles-test/index.jsp</td>
+ <td></td>
+</tr>
+<tr>
+ <td>clickAndWait</td>
+ <td>link=Velocity: Test underscores without localization</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>Non localized definition</td>
+ <td></td>
+</tr>
+
+
+</tbody></table>
+</body>
+</html>
Modified: tiles/framework/trunk/tiles-velocity/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-velocity/pom.xml?rev=1590859&r1=1590858&r2=1590859&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-velocity/pom.xml (original)
+++ tiles/framework/trunk/tiles-velocity/pom.xml Tue Apr 29 01:56:00 2014
@@ -66,8 +66,19 @@
<dependency>
<groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.slf4j</groupId>
<artifactId>slf4j-jdk14</artifactId>
- <optional>true</optional>
+ <scope>test</scope>
</dependency>
<dependency>