Changes for page Basic Tiles Integration
on 2012/03/18 23:46
on 2012/03/18 23:48
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 1 == About Apache Tiles == 2 2 3 -This is background for people new to templates. If you know you want to integrate tiles skip to the nextheading.3 +This is background for people new to templates. If you know you want to integrate tiles skip to the heading Adding Tiles to your Struts2 Project. 4 4 5 5 If you are here you are aware of the problem: Web pages share a lot of commonality. Being Java programmers we are well versed in the problems of code duplication (because object oriented programming has excelent tools to combat this issue we are ever vigilent), simply it makes reuse and maintinence difficult. Two tools we use without hardly a thought in our Object Oriented arsenal is Composition and Inherietance. 6 6 ... ... @@ -117,19 +117,25 @@ 117 117 118 118 **Create file /WEB-INF/tiles/body.jsp** 119 119 120 -<div>** 120 +<div> 121 + 122 +* 121 121 ** This is the default body.** 122 122 **</div> 123 123 124 124 **Create file /WEB-INF/tiles/header.jsp** 125 125 126 -<div>** 128 +<div> 129 + 130 +* 127 127 ** This is the default header.** 128 128 **</div> 129 129 130 130 **Create file /WEB-INF/tiles/footer.jsp** 131 131 132 -<div>** 136 +<div> 137 + 138 +* 133 133 ** This is the default body.** 134 134 **</div> 135 135