Author: apetrelli
Date: Fri May 23 12:05:32 2008
New Revision: 659628
URL: http://svn.apache.org/viewvc?rev=659628&view=rev
Log:
TILES-275
Fixed TilesListener.
Added setCurrentContainer JSP tag.
Added Selenium test.
Added:
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/SetCurrentContainerTag.java
(with props)
tiles/framework/trunk/tiles-test/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
(with props)
tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/tiles-defs-alt.xml
(with props)
tiles/framework/trunk/tiles-test/src/main/webapp/testsetcurrentcontainer.jsp
(with props)
tiles/framework/trunk/tiles-test/src/test/selenium/SetCurrentContainerTagTest.html
(with props)
Modified:
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/startup/TilesListener.java
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/DestroyContainerTag.java
tiles/framework/trunk/tiles-jsp/src/main/resources/META-INF/tld/tiles-jsp.tld
tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web-24.xml
tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web.xml
tiles/framework/trunk/tiles-test/src/main/webapp/index.jsp
tiles/framework/trunk/tiles-test/src/test/selenium/TestSuite.html
Modified:
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/startup/TilesListener.java
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/startup/TilesListener.java?rev=659628&r1=659627&r2=659628&view=diff
==============================================================================
---
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/startup/TilesListener.java
(original)
+++
tiles/framework/trunk/tiles-core/src/main/java/org/apache/tiles/web/startup/TilesListener.java
Fri May 23 12:05:32 2008
@@ -64,8 +64,8 @@
ServletContext servletContext = event.getServletContext();
String key = servletContext.getInitParameter(
CONTAINER_KEY_INIT_PARAMETER);
- TilesContainer container = createContainer(servletContext, key);
- TilesAccess.setContainer(servletContext, container);
+ TilesContainer container = createContainer(servletContext);
+ TilesAccess.setContainer(servletContext, container, key);
}
/**
@@ -87,22 +87,8 @@
*
* @param context The servlet context to use.
* @return The created container
- * @deprecated Use [EMAIL PROTECTED]
#createContainer(ServletContext,String)} instead.
*/
- @Deprecated
protected TilesContainer createContainer(ServletContext context) {
- return createContainer(context, null);
- }
-
- /**
- * Creates a Tiles container.
- *
- * @param context The servlet context to use.
- * @param containerKey The key under which the container will be stored.
- * @return The created container
- */
- protected TilesContainer createContainer(ServletContext context,
- String containerKey) {
AbstractTilesContainerFactory factory =
AbstractTilesContainerFactory.getTilesContainerFactory(context);
return factory.createContainer(context);
Modified:
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/DestroyContainerTag.java
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/DestroyContainerTag.java?rev=659628&r1=659627&r2=659628&view=diff
==============================================================================
---
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/DestroyContainerTag.java
(original)
+++
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/DestroyContainerTag.java
Fri May 23 12:05:32 2008
@@ -32,12 +32,12 @@
public class DestroyContainerTag extends TagSupport {
/**
- * The key under which the container will be stored.
+ * The key of the container to destroy.
*/
private String containerKey;
/**
- * Returns the key under which the container will be stored.
+ * Returns the key of the container to destroy.
*
* @return the containerKey The container key.
* @since 2.1.0
@@ -47,7 +47,7 @@
}
/**
- * Sets the key under which the container will be stored.
+ * Sets the key of the container to destroy.
*
* @param containerKey the containerKey The container key.
* @since 2.1.0
Added:
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/SetCurrentContainerTag.java
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/SetCurrentContainerTag.java?rev=659628&view=auto
==============================================================================
---
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/SetCurrentContainerTag.java
(added)
+++
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/SetCurrentContainerTag.java
Fri May 23 12:05:32 2008
@@ -0,0 +1,74 @@
+/*
+ * $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.
+ */
+
+package org.apache.tiles.jsp.taglib.definition;
+
+import javax.servlet.jsp.JspException;
+import javax.servlet.jsp.tagext.TagSupport;
+
+import org.apache.tiles.jsp.context.JspUtil;
+
+/**
+ * Sets the current container, to be used by Tiles tags.
+ *
+ * @version $Rev$ $Date$
+ * @since 2.1.0
+ */
+public class SetCurrentContainerTag extends TagSupport {
+
+ /**
+ * The key under which the container is stored.
+ */
+ private String containerKey;
+
+ /**
+ * Returns the key under which the container is stored.
+ *
+ * @return the containerKey The container key.
+ * @since 2.1.0
+ */
+ public String getContainerKey() {
+ return containerKey;
+ }
+
+ /**
+ * Sets the key under which the container is stored.
+ *
+ * @param containerKey the containerKey The container key.
+ * @since 2.1.0
+ */
+ public void setContainerKey(String containerKey) {
+ this.containerKey = containerKey;
+ }
+
+ /** [EMAIL PROTECTED] */
+ @Override
+ public void release() {
+ this.containerKey = null;
+ }
+
+ /** [EMAIL PROTECTED] */
+ @Override
+ public int doEndTag() throws JspException {
+ JspUtil.setCurrentContainer(pageContext, containerKey);
+ return SKIP_BODY;
+ }
+}
Propchange:
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/SetCurrentContainerTag.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/trunk/tiles-jsp/src/main/java/org/apache/tiles/jsp/taglib/definition/SetCurrentContainerTag.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified:
tiles/framework/trunk/tiles-jsp/src/main/resources/META-INF/tld/tiles-jsp.tld
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-jsp/src/main/resources/META-INF/tld/tiles-jsp.tld?rev=659628&r1=659627&r2=659628&view=diff
==============================================================================
---
tiles/framework/trunk/tiles-jsp/src/main/resources/META-INF/tld/tiles-jsp.tld
(original)
+++
tiles/framework/trunk/tiles-jsp/src/main/resources/META-INF/tld/tiles-jsp.tld
Fri May 23 12:05:32 2008
@@ -839,5 +839,22 @@
<p>If not defined, the destroyed container will be the default
container</p> ]]> </description>
</attribute>
</tag>
+ <tag>
+ <name>setCurrentContainer</name>
+
<tag-class>org.apache.tiles.jsp.taglib.definition.SetCurrentContainerTag</tag-class>
+ <body-content>empty</body-content>
+ <description>
+ <![CDATA[
+ <p><strong>Sets the current Tiles container to use in Tiles
tags.</strong></p>
+ ]]>
+ </description>
+ <attribute>
+ <name>containerKey</name>
+ <required>false</required>
+ <rtexprvalue>true</rtexprvalue>
+ <description> <![CDATA[ <p>The key of the container that will be
set as "current".</p>
+ <p>If not defined, the current container will be the default
container</p> ]]> </description>
+ </attribute>
+ </tag>
</taglib>
Added:
tiles/framework/trunk/tiles-test/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java?rev=659628&view=auto
==============================================================================
---
tiles/framework/trunk/tiles-test/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
(added)
+++
tiles/framework/trunk/tiles-test/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
Fri May 23 12:05:32 2008
@@ -0,0 +1,59 @@
+/*
+ * $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.
+ */
+
+package org.apache.tiles.test.factory;
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+
+import org.apache.tiles.TilesApplicationContext;
+import org.apache.tiles.context.TilesContextFactory;
+import org.apache.tiles.definition.DefinitionsFactoryException;
+
+/**
+ * Test alternate Tiles container factory to customize Tiles behaviour.
+ *
+ * @version $Rev$ $Date$
+ */
+public class TestAlternateTilesContainerFactory extends
TestTilesContainerFactory {
+
+ /**
+ * The number of URLs to load..
+ */
+ private static final int URL_COUNT = 1;
+
+ /** [EMAIL PROTECTED] */
+ @Override
+ protected List<URL> getSourceURLs(Object context,
+ TilesApplicationContext applicationContext,
+ TilesContextFactory contextFactory) {
+ List<URL> urls = new ArrayList<URL>(URL_COUNT);
+ try {
+
urls.add(applicationContext.getResource("/WEB-INF/tiles-defs-alt.xml"));
+ } catch (IOException e) {
+ throw new DefinitionsFactoryException(
+ "Cannot load definition URLs", e);
+ }
+ return urls;
+ }
+}
Propchange:
tiles/framework/trunk/tiles-test/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/trunk/tiles-test/src/main/java/org/apache/tiles/test/factory/TestAlternateTilesContainerFactory.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added:
tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/tiles-defs-alt.xml
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/tiles-defs-alt.xml?rev=659628&view=auto
==============================================================================
--- tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/tiles-defs-alt.xml
(added)
+++ tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/tiles-defs-alt.xml
Fri May 23 12:05:32 2008
@@ -0,0 +1,35 @@
+<?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>
+</tiles-definitions>
Propchange:
tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/tiles-defs-alt.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/tiles-defs-alt.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web-24.xml
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web-24.xml?rev=659628&r1=659627&r2=659628&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web-24.xml
(original)
+++ tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web-24.xml Fri May
23 12:05:32 2008
@@ -30,11 +30,6 @@
<display-name>Tiles 2 Test Application</display-name>
<distributable/>
- <context-param>
-
<param-name>org.apache.tiles.factory.AbstractTilesContainerFactory</param-name>
-
<param-value>org.apache.tiles.test.factory.TestTilesContainerFactory</param-value>
- </context-param>
-
<filter>
<filter-name>Tiles Decoration Filter</filter-name>
<filter-class>org.apache.tiles.web.util.TilesDecorationFilter</filter-class>
@@ -70,6 +65,23 @@
<servlet-name>tiles</servlet-name>
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
<load-on-startup>2</load-on-startup>
+ <init-param>
+
<param-name>org.apache.tiles.factory.AbstractTilesContainerFactory</param-name>
+
<param-value>org.apache.tiles.test.factory.TestTilesContainerFactory</param-value>
+ </init-param>
+ </servlet>
+ <servlet>
+ <servlet-name>tiles-alt</servlet-name>
+
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
+ <load-on-startup>3</load-on-startup>
+ <init-param>
+
<param-name>org.apache.tiles.factory.AbstractTilesContainerFactory</param-name>
+
<param-value>org.apache.tiles.test.factory.TestAlternateTilesContainerFactory</param-value>
+ </init-param>
+ <init-param>
+
<param-name>org.apache.tiles.web.startup.TilesListener.CONTAINER_KEY</param-name>
+ <param-value>alternate</param-value>
+ </init-param>
</servlet>
<servlet>
<servlet-name>freemarker</servlet-name>
Modified: tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web.xml?rev=659628&r1=659627&r2=659628&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web.xml (original)
+++ tiles/framework/trunk/tiles-test/src/main/webapp/WEB-INF/web.xml Fri May 23
12:05:32 2008
@@ -30,11 +30,6 @@
<display-name>Tiles 2 Test Application</display-name>
<distributable/>
- <context-param>
-
<param-name>org.apache.tiles.factory.AbstractTilesContainerFactory</param-name>
-
<param-value>org.apache.tiles.test.factory.TestTilesContainerFactory</param-value>
- </context-param>
-
<filter>
<filter-name>Tiles Decoration Filter</filter-name>
<filter-class>org.apache.tiles.web.util.TilesDecorationFilter</filter-class>
@@ -70,6 +65,23 @@
<servlet-name>tiles</servlet-name>
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
<load-on-startup>2</load-on-startup>
+ <init-param>
+
<param-name>org.apache.tiles.factory.AbstractTilesContainerFactory</param-name>
+
<param-value>org.apache.tiles.test.factory.TestTilesContainerFactory</param-value>
+ </init-param>
+ </servlet>
+ <servlet>
+ <servlet-name>tiles-alt</servlet-name>
+
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
+ <load-on-startup>3</load-on-startup>
+ <init-param>
+
<param-name>org.apache.tiles.factory.AbstractTilesContainerFactory</param-name>
+
<param-value>org.apache.tiles.test.factory.TestAlternateTilesContainerFactory</param-value>
+ </init-param>
+ <init-param>
+
<param-name>org.apache.tiles.web.startup.TilesListener.CONTAINER_KEY</param-name>
+ <param-value>alternate</param-value>
+ </init-param>
</servlet>
<servlet>
<servlet-name>freemarker</servlet-name>
@@ -103,7 +115,7 @@
<param-value>0.##########</param-value>
</init-param>
- <load-on-startup>3</load-on-startup>
+ <load-on-startup>4</load-on-startup>
</servlet>
<servlet>
Modified: tiles/framework/trunk/tiles-test/src/main/webapp/index.jsp
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/webapp/index.jsp?rev=659628&r1=659627&r2=659628&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test/src/main/webapp/index.jsp (original)
+++ tiles/framework/trunk/tiles-test/src/main/webapp/index.jsp Fri May 23
12:05:32 2008
@@ -75,6 +75,7 @@
<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/>
+ <a href="testsetcurrentcontainer.jsp">Test setCurrentContainer Tag</a><br/>
<h3>Mutable Container Tests</h3>
<a href="testinitcontainer.jsp">Test Initialize Container</a><br/>
Added:
tiles/framework/trunk/tiles-test/src/main/webapp/testsetcurrentcontainer.jsp
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/webapp/testsetcurrentcontainer.jsp?rev=659628&view=auto
==============================================================================
---
tiles/framework/trunk/tiles-test/src/main/webapp/testsetcurrentcontainer.jsp
(added)
+++
tiles/framework/trunk/tiles-test/src/main/webapp/testsetcurrentcontainer.jsp
Fri May 23 12:05:32 2008
@@ -0,0 +1,29 @@
+<%@ 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:setCurrentContainer containerKey="alternate" />
+<tiles:insertDefinition name="test.definition" />
+<tiles:setCurrentContainer />
+<tiles:insertDefinition name="test.definition" />
Propchange:
tiles/framework/trunk/tiles-test/src/main/webapp/testsetcurrentcontainer.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/trunk/tiles-test/src/main/webapp/testsetcurrentcontainer.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added:
tiles/framework/trunk/tiles-test/src/test/selenium/SetCurrentContainerTagTest.html
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/test/selenium/SetCurrentContainerTagTest.html?rev=659628&view=auto
==============================================================================
---
tiles/framework/trunk/tiles-test/src/test/selenium/SetCurrentContainerTagTest.html
(added)
+++
tiles/framework/trunk/tiles-test/src/test/selenium/SetCurrentContainerTagTest.html
Fri May 23 12:05:32 2008
@@ -0,0 +1,66 @@
+<!--
+/*
+ * $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>setCurrentContainer Tag Test</title>
+</head>
+<body>
+<table cellpadding="1" cellspacing="1" border="1">
+<thead>
+<tr><td rowspan="1" colspan="3">setCurrentContainer Tag 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 setCurrentContainer Tag</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>This definition is from an alternate container.</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>This is the title.</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>This is the header</td>
+ <td></td>
+</tr>
+<tr>
+ <td>assertTextPresent</td>
+ <td>This is a body</td>
+ <td></td>
+</tr>
+
+</tbody></table>
+</body>
+</html>
Propchange:
tiles/framework/trunk/tiles-test/src/test/selenium/SetCurrentContainerTagTest.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/framework/trunk/tiles-test/src/test/selenium/SetCurrentContainerTagTest.html
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: tiles/framework/trunk/tiles-test/src/test/selenium/TestSuite.html
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/test/selenium/TestSuite.html?rev=659628&r1=659627&r2=659628&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test/src/test/selenium/TestSuite.html (original)
+++ tiles/framework/trunk/tiles-test/src/test/selenium/TestSuite.html Fri May
23 12:05:32 2008
@@ -157,6 +157,9 @@
<td><a href="TilesDispatchServletTest.html">Tiles Dispatch Servlet
Test</a></td>
</tr>
<tr>
+ <td><a href="SetCurrentContainerTagTest.html">setCurrentContainer Tag
Test</a></td>
+ </tr>
+ <tr>
<td><a href="DefinitionTagTest.html">Definition Tag Test</a></td>
</tr>
<tr>