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 2007/04/26 17:46:13 UTC
svn commit: r532783 - in /tiles/site/src/site: ./ apt/ apt/tutorial/
apt/tutorial/advanced/ apt/tutorial/basic/
Author: apetrelli
Date: Thu Apr 26 08:46:12 2007
New Revision: 532783
URL: http://svn.apache.org/viewvc?view=rev&rev=532783
Log:
TILESSHARED-10
Added more tutorial pages.
Added:
tiles/site/src/site/apt/tutorial/advanced/list-attributes.apt (with props)
tiles/site/src/site/apt/tutorial/advanced/nesting-extending.apt (with props)
Modified:
tiles/site/src/site/apt/config-reference.apt
tiles/site/src/site/apt/tutorial/advanced/index.apt
tiles/site/src/site/apt/tutorial/basic/concepts.apt
tiles/site/src/site/apt/tutorial/basic/index.apt
tiles/site/src/site/apt/tutorial/basic/pages.apt
tiles/site/src/site/apt/tutorial/index.apt
tiles/site/src/site/site.xml
Modified: tiles/site/src/site/apt/config-reference.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/config-reference.apt?view=diff&rev=532783&r1=532782&r2=532783
==============================================================================
--- tiles/site/src/site/apt/config-reference.apt (original)
+++ tiles/site/src/site/apt/config-reference.apt Thu Apr 26 08:46:12 2007
@@ -92,7 +92,7 @@
Specifies the container factory class name to use.
* <<Specified in>>:
- {{{apidocs/org/apache/tiles/factory/TilesContainerFactory.html#CONTAINER_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
+ {{{framework/apidocs/org/apache/tiles/factory/TilesContainerFactory.html#CONTAINER_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
* <<Default>>: <<<org.apache.tiles.factory.TilesContainerFactory>>>.
@@ -104,7 +104,7 @@
Flag to use a mutable container.
* <<Specified in>>:
- {{{apidocs/org/apache/tiles/factory/TilesContainerFactory.html#CONTAINER_FACTORY_MUTABLE_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
+ {{{framework/apidocs/org/apache/tiles/factory/TilesContainerFactory.html#CONTAINER_FACTORY_MUTABLE_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
* <<Default>>: <<<false>>> (the container is not mutable).
@@ -116,7 +116,7 @@
Specifies the context factory class name to use.
* <<Specified in>>:
- {{{apidocs/org/apache/tiles/factory/TilesContainerFactory.html#CONTEXT_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
+ {{{framework/apidocs/org/apache/tiles/factory/TilesContainerFactory.html#CONTEXT_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
* <<Default>>: <<<org.apache.tiles.context.ChainedTilesContextFactory>>>.
@@ -128,7 +128,7 @@
Specifies the context factory class name to use.
* <<Specified in>>:
- {{{apidocs/org/apache/tiles/factory/TilesContainerFactory.html#DEFINITIONS_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
+ {{{framework/apidocs/org/apache/tiles/factory/TilesContainerFactory.html#DEFINITIONS_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
* <<Default>>: <<<org.apache.tiles.definition.UrlDefinitionsFactory>>>.
@@ -140,7 +140,7 @@
Specifies the definitions factory class name to use.
* <<Specified in>>:
- {{{apidocs/org/apache/tiles/factory/TilesContainerFactory.html#DEFINITIONS_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
+ {{{framework/apidocs/org/apache/tiles/factory/TilesContainerFactory.html#DEFINITIONS_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
* <<Default>>: <<<org.apache.tiles.definition.UrlDefinitionsFactory>>>.
@@ -152,7 +152,7 @@
Specifies the view preparer factory class name to use.
* <<Specified in>>:
- {{{apidocs/org/apache/tiles/factory/TilesContainerFactory.html#PREPARER_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
+ {{{framework/apidocs/org/apache/tiles/factory/TilesContainerFactory.html#PREPARER_FACTORY_INIT_PARAM}<<<org.apache.tiles.factory.TilesContainerFactory>>>}}.
* <<Default>>: <<<org.apache.tiles.preparer.BasicPreparerFactory>>>.
Modified: tiles/site/src/site/apt/tutorial/advanced/index.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/tutorial/advanced/index.apt?view=diff&rev=532783&r1=532782&r2=532783
==============================================================================
--- tiles/site/src/site/apt/tutorial/advanced/index.apt (original)
+++ tiles/site/src/site/apt/tutorial/advanced/index.apt Thu Apr 26 08:46:12 2007
@@ -21,6 +21,22 @@
Tiles Advanced Topics
-----------
-Introduction
+Tiles Advanced Topics
- This is the introduction
+ In this section, advanced usage of Tiles is discussed. These topics let you
+ do more complicated tasks, like composing pages one inside another, localize
+ your pages, etc.
+
+ [[1]] {{{nesting-extending.html}Nesting and Extending Definitions}}
+
+ [[2]] {{{list-attributes.html}List Attributes}}
+
+ [[3]] {{{preparer.html}View Preparers}}
+
+ [[4]] {{{l10n.html}Tiles Localization}}
+
+ [[5]] {{{runtime.html}Creating Definitions at Runtime}}
+
+ [[6]] {{{beans.html}Using Beans as attributes}}
+
+ [[7]] {{{menu.html}Menu-ing support}}
Added: tiles/site/src/site/apt/tutorial/advanced/list-attributes.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/tutorial/advanced/list-attributes.apt?view=auto&rev=532783
==============================================================================
--- tiles/site/src/site/apt/tutorial/advanced/list-attributes.apt (added)
+++ tiles/site/src/site/apt/tutorial/advanced/list-attributes.apt Thu Apr 26 08:46:12 2007
@@ -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.
+~~
+ -----------
+ List Attributes
+ -----------
+
+List Attributes
+
+ Up to now we have seen simple attributes, i.e. attributes that have a simple
+ value: a template, a string or a definition. But there are cases where you
+ need a <collection> of values, for example a list of definitions to be
+ redendered one below the other.
+
+ To include a list attribute you can use the <<<\<put-list-attribute\>>>> tag
+ in your Tiles definitions file:
+
+---------------------------------------
+<definition name="myapp.homepage.body" template="/layouts/variable_rows.jsp">
+ <put-list-attribute name="items">
+ <add-attribute value="/tiles/banner.jsp" />
+ <add-attribute value="/tiles/common_menu.jsp" />
+ <add-attribute value="/tiles/credits.jsp" />
+ </put-list-attribute>
+</definition>
+---------------------------------------
+
+ In your template page, you can read the list attribute iterating over its
+ elements:
+
+---------------------------------------
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
+<tiles:useAttribute id="list" name="items" classname="java.util.List" />
+<c:forEach var="item" items="${list}">
+ <tiles:insertAttribute value="${item}" flush="true" />
+ <br/>
+</c:forEach>
+---------------------------------------
+
+ The list attribute is first converted into a scripting variable; after that
+ it is iterated using the <<<\<c:forEach\>>>> tag. The compound attributes are
+ then rendered one after the other.
Propchange: tiles/site/src/site/apt/tutorial/advanced/list-attributes.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/site/src/site/apt/tutorial/advanced/list-attributes.apt
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: tiles/site/src/site/apt/tutorial/advanced/nesting-extending.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/tutorial/advanced/nesting-extending.apt?view=auto&rev=532783
==============================================================================
--- tiles/site/src/site/apt/tutorial/advanced/nesting-extending.apt (added)
+++ tiles/site/src/site/apt/tutorial/advanced/nesting-extending.apt Thu Apr 26 08:46:12 2007
@@ -0,0 +1,108 @@
+~~ $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.
+~~
+ -----------
+ Nesting and Extending Definitions
+ -----------
+
+Nesting Definitions
+
+ Sometimes it is useful to have a structured page with, say, a structured body.
+ Tipically, there is a main layout (for example, the "classic" layout) and the
+ body is made of certain number of sections. In this case, nesting a definition
+ (the one for the body) inside another definition (the main layout) can be
+ useful.
+
+ Tiles supports nesting definitions natively. The inner definition must be put
+ as an attribute value of a template. For example:
+
+------------------------------------
+<definition name="myapp.homepage.body" template="/layouts/three_rows.jsp">
+ <put-attribute name="one" value="/tiles/headlines.jsp" />
+ <put-attribute name="two" value="/tiles/topics.jsp" />
+ <put-attribute name="one" value="/tiles/comments.jsp" />
+</definition>
+
+<definition name="myapp.homepage" template="/layouts/classic.jsp">
+ <put-attribute name="title" value="Tiles tutorial homepage" />
+ <put-attribute name="header" value="/tiles/banner.jsp" />
+ <put-attribute name="menu" value="/tiles/common_menu.jsp" />
+ <put-attribute name="body" value="myapp.homepage.body" />
+ <put-attribute name="footer" value="/tiles/credits.jsp" />
+</definition>
+------------------------------------
+
+ The <<<myapp.homepage.body>>> definition will be put inside the
+ <<<myapp.homepage>>>, by putting it inside its <<<body>>> attribute. You will
+ be seeing the definition one inside the other.
+
+Extending Definitions
+
+ You can extend definitions like a Java class. The concepts of <abstract
+ definition>, <extension> and <override> are available.
+
+ * <<Abstract definition>>: it is a definition in which the template attributes
+ are not completely filled. They are useful to create a base page and a number
+ of extending definitions, reusing already created layout. For example:
+
+------------------------------------
+<definition name="myapp.page.common" template="/layouts/classic.jsp">
+ <put-attribute name="header" value="/tiles/banner.jsp" />
+ <put-attribute name="menu" value="/tiles/common_menu.jsp" />
+ <put-attribute name="footer" value="/tiles/credits.jsp" />
+</definition>
+------------------------------------
+
+ * <<Definition extension>>: a definition can inherit from another definition,
+ to reuse an already made (abstract or not) definition:
+
+------------------------------------
+<definition name="myapp.homepage" extends="myapp.page.common">
+ <put-attribute name="title" value="Tiles tutorial homepage" />
+ <put-attribute name="body" value="myapp.homepage.body" />
+</definition>
+------------------------------------
+
+ In this case, the <<<header>>>, <<<menu>>> and <<<footer>>> are inherited from
+ the <<<myapp.page.common>>> definition, while the rest is defined inside the
+ "concrete" definition.
+
+ * <<Template and attribute override>>: when extending a definition, its
+ template and attributes can be overridden.
+
+ ** Overriding a template:
+
+------------------------------------
+<definition name="myapp.homepage.alternate" extends="myapp.homepage"
+ template="/layouts/alternate.jsp" />
+------------------------------------
+
+ The definition has the same attributes, but its template changed. The result
+ is that the content is the same, but the layout is different.
+
+ ** Overriding attributes:
+
+------------------------------------
+<definition name="myapp.homepage.customer" extends="myapp.homepage">
+ <put-attribute name="menu" value="/tiles/common_menu_for_customers.jsp" />
+</definition>
+------------------------------------
+
+ In this case, the page will have the same appearance as the
+ <<<myapp.homepage>>> definition, but its menu subpage is different.
Propchange: tiles/site/src/site/apt/tutorial/advanced/nesting-extending.apt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: tiles/site/src/site/apt/tutorial/advanced/nesting-extending.apt
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Modified: tiles/site/src/site/apt/tutorial/basic/concepts.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/tutorial/basic/concepts.apt?view=diff&rev=532783&r1=532782&r2=532783
==============================================================================
--- tiles/site/src/site/apt/tutorial/basic/concepts.apt (original)
+++ tiles/site/src/site/apt/tutorial/basic/concepts.apt Thu Apr 26 08:46:12 2007
@@ -21,6 +21,103 @@
Tiles Concepts
-----------
-Introduction
+Tiles concepts
- This is the introduction
+ Tiles is an implementation of the {{{../pattern.html}Composite View pattern}}.
+ Tiles adds to this pattern its own concepts to make the pattern concrete. The
+ implementation of Tiles around the <Composite View> pattern consists of the
+ {{{concepts.html#Template}Template}}, {{{concepts.html#Attribute}Attribute}}
+ and {{{concepts.html#Definition}Definition}} concepts. The <View Helper>
+ pattern is implemented by the {{{concepts.html#View Preparer}View Preparer}}
+ concept.
+
+* {Template}
+
+ In Tiles, a <<template>> is the layout part of a page. You can see as a page
+ structure with some gaps, called <<attributes>>, to be filled.
+
+ For instance, consider the "classic layout" page structure.
+
+[../../images/tiled_page.png] The "classic layout", a typical structure of a web
+page.
+
+ You can replicate this structure by creating a JSP page, as you can see below.
+
+-------------------------------
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+<table>
+ <tr>
+ <td colspan="2">
+ <tiles:insertAttribute name="header" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <tiles:insertAttribute name="menu" />
+ </td>
+ <td>
+ <tiles:insertAttribute name="body" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <tiles:insertAttribute name="footer" />
+ </td>
+ </tr>
+</table>
+-------------------------------
+
+ Notice that a template <<can have no attributes>>: in this case it can be used
+ directly.
+
+* {Attribute}
+
+ An <<attribute>> is a gap in a template that needs to be filled in your
+ application. An attribute can be of three types:
+
+ * <<string>>: it is a string to be directly rendered as it is.
+
+ * <<template>>: it is a template, with or without attributes. If it has
+ attributes, you have to fill them too to render a page.
+
+ * <<definition>>: it is a reusable composed page, with all (or some)
+ attributes filled (see below).
+
+* {Definition}
+
+ A <<definition>> is a composition to be rendered to the end user; essentially
+ a definition is composed of a <<template>> and completely or partially
+ <<filled attributes>>.
+
+ * If <<all>> of its attributes are filled, it can be rendered to the end user.
+
+ * If <<not all>> of its attributes are filled, it is called an <<abstract
+ definition>>, and it can be used as a base definition for extended
+ definitions, or their missing attributes can be filled at runtime.
+
+ []
+
+ For example, you can create a page using the <classic layout> as seen before,
+ by modifying the {{{pages.html}Tiles configuration file}}.
+
+------------------------------------
+<definition name="myapp.homepage" template="/layouts/classic.jsp">
+ <put-attribute name="header" value="/tiles/banner.jsp" />
+ <put-attribute name="menu" value="/tiles/common_menu.jsp" />
+ <put-attribute name="body" value="/tiles/home_body.jsp" />
+ <put-attribute name="footer" value="/tiles/credits.jsp" />
+</definition>
+------------------------------------
+
+* {View Preparer}
+
+ Sometimes a definition, before it is rendered, needs to be "prepared". For
+ example when showing a menu, the menu structure must be created and stored
+ in the request scope.
+
+ For this reason, a <<View Preparer>> can be used: it is called <<before>> the
+ definition is rendered, so all the things needed to render correctly the
+ definition can be prepared.
+
+ See the {{{../advanced/preparer.html}Tiles View Preparer configuration}} for
+ more information.
Modified: tiles/site/src/site/apt/tutorial/basic/index.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/tutorial/basic/index.apt?view=diff&rev=532783&r1=532782&r2=532783
==============================================================================
--- tiles/site/src/site/apt/tutorial/basic/index.apt (original)
+++ tiles/site/src/site/apt/tutorial/basic/index.apt Thu Apr 26 08:46:12 2007
@@ -21,6 +21,12 @@
Tiles Basic Usage
-----------
-Introduction
+Tiles Basic Usage
+
+ In this part of the tutorial, you will learn the basics of Tiles and its
+ simple usage in the most common cases.
+
+ * {{{concepts.html}Tiles concepts}}.
+
+ * {{{pages.html}Building Tiles-enabled pages}}.
- This is the introduction
Modified: tiles/site/src/site/apt/tutorial/basic/pages.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/tutorial/basic/pages.apt?view=diff&rev=532783&r1=532782&r2=532783
==============================================================================
--- tiles/site/src/site/apt/tutorial/basic/pages.apt (original)
+++ tiles/site/src/site/apt/tutorial/basic/pages.apt Thu Apr 26 08:46:12 2007
@@ -21,6 +21,121 @@
Creating Tiles Pages
-----------
-Introduction
+Creating and using Tiles pages
- This is the introduction
+ After installing and learning some of Tiles concepts, it is time to create
+ some pages. Here you will find the steps to create reusable Tiles pieces and
+ complete pages.
+
+* Create a template
+
+ Let's take the <<classic layout>> page structure:
+
+[../../images/tiled_page.png] The "classic layout", a typical structure of a web
+page.
+
+ Create a JSP page that acts as this layout and place it under
+ <<</layouts/classic.jsp>>> file.
+
+-------------------------------
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+<html>
+ <head>
+ <title><tiles:getAsString name="title"/></title>
+ </head>
+ <body>
+ <table>
+ <tr>
+ <td colspan="2">
+ <tiles:insertAttribute name="header" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <tiles:insertAttribute name="menu" />
+ </td>
+ <td>
+ <tiles:insertAttribute name="body" />
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <tiles:insertAttribute name="footer" />
+ </td>
+ </tr>
+ </table>
+ </body>
+</html>
+-------------------------------
+
+ This template has five attributes: <<<title>>> (of <<<string>>> type),
+ <<<header>>>, <<<menu>>>, <<<body>>> and <<<footer>>>.
+
+* Create the composing pages
+
+ In this phase, you have to create four JSP pages, that will take place of
+ <<<header>>>, <<<menu>>>, <<<body>>> and <<<footer>>> attributes in the
+ previously created template.
+
+ You can put everything you want in this pages, they are just a test.
+
+* Create a definition
+
+ Supposing that you configured Tiles, in <<<web.xml>>>, to startup using the
+ <<<TilesServlet>>>, you need to specify what will be the files containing the
+ Tiles definitions to load:
+
+------------------------------------
+<servlet>
+ <servlet-name>tiles</servlet-name>
+ <servlet-class>org.apache.tiles.servlet.TilesServlet</servlet-class>
+ <init-param>
+ <param-name>org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG</param-name>
+ <param-value>/WEB-INF/tiles-defs.xml</param-value>
+ </init-param>
+ <load-on-startup>2</load-on-startup>
+</servlet>
+------------------------------------
+
+ Create the <<</WEB-INF/tiles-defs.xml>>> file:
+
+------------------------------------
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE tiles-definitions PUBLIC
+ "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
+ "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
+<definition name="myapp.homepage" template="/layouts/classic.jsp">
+ <put-attribute name="title" value="Tiles tutorial homepage" />
+ <put-attribute name="header" value="/tiles/banner.jsp" />
+ <put-attribute name="menu" value="/tiles/common_menu.jsp" />
+ <put-attribute name="body" value="/tiles/home_body.jsp" />
+ <put-attribute name="footer" value="/tiles/credits.jsp" />
+</definition>
+------------------------------------
+
+* Render the definition
+
+ After creating the definition, you can render it:
+
+ * by using the <<<\<tiles:insertDefinition /\>>>> tag, inserting it in a JSP
+ page:
+
+-------------------------------------
+<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
+<tiles:insertDefinition name="myapp.homepage" />
+-------------------------------------
+
+ * in other cases, you can render directly in the response, by using the Tiles
+ container:
+
+-----------------------------------
+TilesContainer container = TilesAccess.getContainer(
+ request.getSession().getServletContext());
+container.render("myapp.homepage", request, response);
+-----------------------------------
+
+ []
+
+ * by using a supporting framework. See
+ {{{../integration/index.html}Integrations}} for a list of supporting
+ frameworks.
Modified: tiles/site/src/site/apt/tutorial/index.apt
URL: http://svn.apache.org/viewvc/tiles/site/src/site/apt/tutorial/index.apt?view=diff&rev=532783&r1=532782&r2=532783
==============================================================================
--- tiles/site/src/site/apt/tutorial/index.apt (original)
+++ tiles/site/src/site/apt/tutorial/index.apt Thu Apr 26 08:46:12 2007
@@ -41,15 +41,19 @@
[[5]] {{{advanced/index.html}Advanced Topics}}
- [[1]] {{{advanced/l10n.html}Tiles Localization}}
+ [[1]] {{{advanced/nesting-extending.html}Nesting and Extending Definitions}}
+
+ [[2]] {{{advanced/list-attributes.html}List Attributes}}
+
+ [[3]] {{{advanced/preparer.html}View Preparers}}
- [[2]] {{{advanced/preparer.html}View Preparers}}
+ [[4]] {{{advanced/l10n.html}Tiles Localization}}
- [[3]] {{{advanced/runtime.html}Creating Definitions at Runtime}}
+ [[5]] {{{advanced/runtime.html}Creating Definitions at Runtime}}
- [[4]] {{{advanced/beans.html}Using Beans as attributes}}
+ [[6]] {{{advanced/beans.html}Using Beans as attributes}}
- [[5]] {{{advanced/menu.html}Menu-ing support}}
+ [[7]] {{{advanced/menu.html}Menu-ing support}}
[[6]] {{{integration/index.html}Integration with other technologies}}
Modified: tiles/site/src/site/site.xml
URL: http://svn.apache.org/viewvc/tiles/site/src/site/site.xml?view=diff&rev=532783&r1=532782&r2=532783
==============================================================================
--- tiles/site/src/site/site.xml (original)
+++ tiles/site/src/site/site.xml Thu Apr 26 08:46:12 2007
@@ -86,11 +86,17 @@
href="/tutorial/advanced/index.html"
collapse="true">
<item
- name="Localization"
- href="/tutorial/advanced/l10n.html"/>
+ name="Nesting and Extending"
+ href="/tutorial/advanced/nesting-extending.html"/>
+ <item
+ name="List Attributes"
+ href="/tutorial/advanced/list-attributes.html"/>
<item
name="View Preparers"
href="/tutorial/advanced/preparer.html"/>
+ <item
+ name="Localization"
+ href="/tutorial/advanced/l10n.html"/>
<item
name="Creating Definitions at Runtime"
href="/tutorial/advanced/runtime.html"/>