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 2008/10/02 17:22:30 UTC
svn commit: r701152 - in /tiles/framework/trunk/src/site/apt:
getting_started.apt migration/index.apt tutorial/configuration.apt
Author: apetrelli
Date: Thu Oct 2 08:22:30 2008
New Revision: 701152
URL: http://svn.apache.org/viewvc?rev=701152&view=rev
Log:
TILES-301
Fixed discrepancies between the API and the docs.
Modified:
tiles/framework/trunk/src/site/apt/getting_started.apt
tiles/framework/trunk/src/site/apt/migration/index.apt
tiles/framework/trunk/src/site/apt/tutorial/configuration.apt
Modified: tiles/framework/trunk/src/site/apt/getting_started.apt
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/getting_started.apt?rev=701152&r1=701151&r2=701152&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/getting_started.apt (original)
+++ tiles/framework/trunk/src/site/apt/getting_started.apt Thu Oct 2 08:22:30 2008
@@ -38,10 +38,11 @@
* if you downloaded the binary distribution, unpack it;
- * copy the <<<tiles-core-VERSION.jar>>> and <<<tiles-api-VERSION.jar>>> files
- in the <<<WEB-INF/lib>>> directory of your web application. It is <<not
- reccomended>> to put them in a location where they are shared across the
- container;
+ * copy the <<<tiles-core-VERSION.jar>>>, <<<tiles-api-VERSION.jar>>>,
+ <<<tiles-servlet-VERSION.jar>>> and <<<tiles-jsp-VERSION.jar>>> files
+ in the <<<WEB-INF/lib>>> directory of your web application. It is
+ <<not reccomended>> to put them in a location where they are shared
+ across the container;
* copy the Tiles dependencies JARs:
@@ -58,7 +59,22 @@
distribution;
* if you need JSP support, copy the <<<tiles-jsp-VERSION.jar>>> in the
- <<<WEB-INF/lib>>> directory of your web application.
+ <<<WEB-INF/lib>>> directory of your web application;
+
+ * if you need to load Tiles definition files using wildcards, copy the
+ <<<spring-web-VERSION.jar>>>, <<<spring-core-VERSION.jar>>>,
+ <<<spring-context-VERSION.jar>>>, <<<spring-beans-VERSION.jar>>>,
+ <<<aopalliance-VERSION.jar>>> files under the <<<WEB-INF/lib>>> directory;
+
+ * if you need to load Tiles definition files using wildcards under a
+ <<portlet environment>>, copy the <<<spring-webmvc-portlet-VERSION.jar>>>,
+ <<<spring-core-VERSION.jar>>>, <<<spring-context-VERSION.jar>>>,
+ <<<spring-beans-VERSION.jar>>>, <<<aopalliance-VERSION.jar>>> files under the
+ <<<WEB-INF/lib>>> directory;
+
+ * if you need to use EL in XML definition files under a Servlet 2.4/JSP 2.0
+ environment, copy <<<el-api-VERSION.jar>>> and <<<jasper-el-VERSION.jar>>>
+ files under the <<<WEB-INF/lib>>> directory.
Usage
Modified: tiles/framework/trunk/src/site/apt/migration/index.apt
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/migration/index.apt?rev=701152&r1=701151&r2=701152&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/migration/index.apt (original)
+++ tiles/framework/trunk/src/site/apt/migration/index.apt Thu Oct 2 08:22:30 2008
@@ -33,9 +33,14 @@
* <<<tiles-core.jar>>>: it contains the "engine" of Tiles, and the basic
implementation of the APIs.
+
+ * <<<tiles-servlet.jar>>>: it contains the servlet support in Tiles.
* <<<tiles-jsp.jar>>>: it contains the JSP support to Tiles, i.e. JSP specific
classes and the tag library.
+
+ * <<<tiles-compat.jar>>>: it contains the compatibility layer of Tiles to
+ support Struts-Tiles 1.x XML definition files.
* Further steps
Modified: tiles/framework/trunk/src/site/apt/tutorial/configuration.apt
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/tutorial/configuration.apt?rev=701152&r1=701151&r2=701152&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/tutorial/configuration.apt (original)
+++ tiles/framework/trunk/src/site/apt/tutorial/configuration.apt Thu Oct 2 08:22:30 2008
@@ -46,7 +46,7 @@
<servlet-class>org.apache.tiles.web.startup.TilesServlet</servlet-class>
<init-param>
<param-name>
- org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG
+ org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG
</param-name>
<param-value>
/WEB-INF/tiles-defs.xml,/org/apache/tiles/classpath-defs.xml
@@ -57,7 +57,7 @@
--------------------------
As you can see, the init parameter
- <<<org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG>>>
+ <<<org.apache.tiles.definition.DefinitionsFactory.DEFINITIONS_CONFIG>>>
specifies the path of the {{{basic/index.html}Tiles configuration files}}.
You can specify it also as a context parameters.