Changes for page Tiles 2.2.2 Integration
on 2012/03/19 07:20
on 2012/03/20 22:59
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 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 ancies ==5 +== Gather the Required Dependencies == 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 ible 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]].9 +2a) [**optional**] Some of the features of tiles are only available 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]]. 10 10 11 -2b) If 2a was not done then we must add slf4j-api-1.6.1.jar (it is a spring depend ancy 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 dependency 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 defintion.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. 94 94 95 95 == Add the required JSPs to satisfy the requirements of tiles.xml == 96 96 ... ... @@ -146,4 +146,3 @@ 146 146 147 147 148 148 149 -