Author: mck
Date: Thu Nov 7 22:09:46 2013
New Revision: 1539840
URL: http://svn.apache.org/r1539840
Log:
fix documentation after feedback from Emi Lu.
Reference: http://article.gmane.org/gmane.comp.apache.tiles.user/661
Modified:
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/advanced/list-attributes.apt
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/integration/frameworks.apt
Modified:
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/advanced/list-attributes.apt
URL:
http://svn.apache.org/viewvc/tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/advanced/list-attributes.apt?rev=1539840&r1=1539839&r2=1539840&view=diff
==============================================================================
---
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/advanced/list-attributes.apt
(original)
+++
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/advanced/list-attributes.apt
Thu Nov 7 22:09:46 2013
@@ -48,8 +48,9 @@ List Attributes
---------------------------------------
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+<%@ taglib uri="http://tiles.apache.org/tags-tiles-extras" prefix="tilesx" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
-<tiles:useAttribute id="list" name="items" classname="java.util.List" />
+<tilesx:useAttribute id="list" name="items" classname="java.util.List" />
<c:forEach var="item" items="${list}">
<tiles:insertAttribute value="${item}" flush="true" />
<br/>
@@ -93,4 +94,3 @@ List Attributes
* /tiles/credits.jsp
* /tiles/greetings.jsp
-
\ No newline at end of file
Modified:
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/integration/frameworks.apt
URL:
http://svn.apache.org/viewvc/tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/integration/frameworks.apt?rev=1539840&r1=1539839&r2=1539840&view=diff
==============================================================================
---
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/integration/frameworks.apt
(original)
+++
tiles/framework/branches/TILES_3_0_X/src/site/apt/tutorial/integration/frameworks.apt
Thu Nov 7 22:09:46 2013
@@ -25,17 +25,19 @@ Integration with other web Frameworks
Tiles can be integrated with other web frameworks. Usually this kind of
integration is made through extensions/plugins to Tiles.
-
+
* {{{http://struts.apache.org/1.x/index.html}Struts 1}}: Currently under
development. A Struts 1 plugin is available in the SVN trunk, that presumably
will be released along with Struts 1.4.
-
- * {{{http://struts.apache.org/2.x/docs/tiles-plugin.html}Struts 2}}: at the
time of this
+
+ *
{{{http://struts.apache.org/development/2.x/struts2-plugins/struts2-tiles-plugin/apidocs/index.html}Struts
2}}: at the time of this
writing, the Struts 2 Tiles plugin still uses Tiles version 2.
-
- *
{{{http://static.springsource.org/spring/docs/current/spring-framework-reference/html/view.html#view-tiles}Spring
MVC}}:
- At the time of this writing, Spring uses Tiles version 2.
-
- * {{{http://shale.apache.org/shale-tiles/index.html}Shale}}: An integration
- layer is provided, but it needs to be updated to the latest released version
- of Tiles.
+
+ *
{{{http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/view.html#view-tiles}Spring
MVC}}:
+ Spring-3.2 can integration up to Tiles-2 and Tiles-3.
+
+
+
+ For a closer look at custom integrations the
+
{{{https://github.com/spring-projects/spring-framework/tree/master/spring-webmvc-tiles3/src/main/java/org/springframework/web/servlet/view/tiles3}spring
code}}:
+ forms a good example.