Changes for page Tiles 2.2.2 Integration
on 2012/03/20 22:59
on 2012/03/19 07:20
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,14 +1,14 @@ 1 -There are some great new features in Apache Tiles 2.2.2 one of these must -have features is wild card support. For a list of features visit the [[ApacheTilesFeaturesList>>url:http://tiles.apache.org/2.2/framework/whats-new.html]].1 +There are some great new features in Apache Tiles 2.2.2 one of these must have features is wild card support. For a list of features visit the [[apache tiles features list>>url:http://tiles.apache.org/2.2/framework/whats-new.html]]. 2 2 3 -This tutorial requires we have setup a [[ BasicStruts2Project>>doc:Setting up a new Struts2 Project in Netbeans]], and if you have never used tiles before it might be best to start with the [[BasicTilesTutorial>>doc:Basic Tiles Integration]].3 +This tutorial requires we have setup a [[basic struts2 project>>doc:Setting up a new Struts2 Project in Netbeans]], and if you have never used tiles before it might be best to start with the [[basic tiles tutorial>>doc:Basic Tiles Integration]]. 4 4 5 -== Gather the Required Depend encies ==5 +== Gather the Required Dependancies == 6 6 7 -1) Add struts2-tiles-plugin-2.3.1.2.jar or greater added to your Struts2 2.3.1.2 project.7 +1) Add struts2-tiles-plugin-2.3.1.2.jar or greater added to your struts2 2.3.1.2 project. 8 8 9 -2a) [**optional**] Some of the features of tiles are only avail able by adding spring dependencies (you will be able complete this tutorial and get wild card support without these jars). If you wish to have these required dependancies it is recommended that you follow the [[spring tutorial>>doc:Adding Spring Dependancy Injection to Struts2 Project]].9 +2a) [**optional**] Some of the features of tiles are only availible by adding spring dependancies (you will be able complete this tutorial and get wild card support without these jars). If you wish to have these required dependancies it is recommended that you follow the [[spring tutorial>>doc:Adding Spring Dependancy Injection to Struts2 Project]]. 10 10 11 -2b) If 2a was not done then we must add slf4j-api-1.6.1.jar (it is a spring depend ency so would not need to be explicitly added if the spring tutorial was followed)11 +2b) If 2a was not done then we must add slf4j-api-1.6.1.jar (it is a spring dependancy so would not need to be explicitly added if the spring tutorial was followed) 12 12 13 13 3) Add the following tiles jars (For maven they all have a group of //org.apache.tiles//, and the artifact id follows the jar): 14 14 ... ... @@ -90,7 +90,7 @@ 90 90 </definition> 91 91 </tiles-definitions> 92 92 93 -**Note**: With no welcome file specified in the web.xml the empty "" action will be invoked which due to the Struts2 wild cards will in turn call the empty tiles definition.93 +**Note**: With no welcome file specified in the web.xml the empty "" action will be invoked which due to the struts2 wild cards will in turn call the empty tiles defintion. 94 94 95 95 == Add the required JSPs to satisfy the requirements of tiles.xml == 96 96 ... ... @@ -146,3 +146,4 @@ 146 146 147 147 148 148 149 +