struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject svn commit: r983442 - /websites/production/struts/content/docs/tiles-plugin.html
Date Tue, 22 Mar 2016 19:18:00 GMT
Author: lukaszlenart
Date: Tue Mar 22 19:18:00 2016
New Revision: 983442

Log:
Updates production

Modified:
    websites/production/struts/content/docs/tiles-plugin.html

Modified: websites/production/struts/content/docs/tiles-plugin.html
==============================================================================
--- websites/production/struts/content/docs/tiles-plugin.html (original)
+++ websites/production/struts/content/docs/tiles-plugin.html Tue Mar 22 19:18:00 2016
@@ -143,7 +143,6 @@ under the License.
   <groupId>org.apache.struts</groupId>
   <artifactId>struts2-tiles-plugin</artifactId>
   <version>${version.tiles}</version>
-  <scope>compile</scope>
 </dependency>
 </pre>
 </div></div></li><li><p>Register the tiles listener. This listener
will typically either be the standard tiles listener (org.apache.tiles.listener.TilesListener)
or the Struts2 replacement (org.apache.struts2.tiles.TilesListener). The latter provides tighter
integration with Struts features such as freemarker integration.</p><div class="code
panel pdl" style="border-width: 1px;"><div class="codeContent panelContent pdl">
@@ -187,7 +186,7 @@ public class FooAction extends ActionSup
     &lt;/definition&gt;
 
 &lt;/tiles-definitions&gt;</pre>
-</div></div></li></ol><h2 id="TilesPlugin-Example">Example</h2><p>This
example shows a Tiles layout page using Struts tags:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
+</div></div></li></ol><div class="confluence-information-macro
confluence-information-macro-information"><span class="aui-icon aui-icon-small aui-iconfont-info
confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>As
from Struts 2.3.28, the plugin automatically loads all Tiles definitions matching the following
pattern <code>tiles*.xml</code> - you don't have to specify them via <code>org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG</code>
in <code>web.xml</code></p></div></div><h2 id="TilesPlugin-Example">Example</h2><p>This
example shows a Tiles layout page using Struts tags:</p><div class="code panel pdl"
style="border-width: 1px;"><div class="codeContent panelContent pdl">
 <script class="brush: xml; gutter: false; theme: Default" type="syntaxhighlighter"><![CDATA[
 &lt;%@ taglib uri=&quot;http://tiles.apache.org/tags-tiles&quot; prefix=&quot;tiles&quot;
%&gt;
 &lt;%@ taglib prefix=&quot;s&quot; uri=&quot;/struts-tags&quot; %&gt;



Mime
View raw message