You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ap...@apache.org on 2006/10/27 13:19:04 UTC

svn commit: r468346 - /struts/sandbox/trunk/tiles/src/site/fml/faq.fml

Author: apetrelli
Date: Fri Oct 27 04:19:03 2006
New Revision: 468346

URL: http://svn.apache.org/viewvc?view=rev&rev=468346
Log:
SB-55
Added FAQ entry for the removal of <tiles:insert> tag.

Modified:
    struts/sandbox/trunk/tiles/src/site/fml/faq.fml

Modified: struts/sandbox/trunk/tiles/src/site/fml/faq.fml
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/src/site/fml/faq.fml?view=diff&rev=468346&r1=468345&r2=468346
==============================================================================
--- struts/sandbox/trunk/tiles/src/site/fml/faq.fml (original)
+++ struts/sandbox/trunk/tiles/src/site/fml/faq.fml Fri Oct 27 04:19:03 2006
@@ -19,6 +19,25 @@
 <faqs title="Tiles 2 FAQ">
     <part id="taglib-faq">
         <title>Tiles 2 Taglib</title>
+        <faq id="insert">
+            <question>What happened to <code>&amp;lt;tiles:insert&amp;gt;</code> tag?
+            </question>
+            <answer>
+                <p>The <code>&amp;lt;tiles:insert&amp;gt;</code> has been split
+                into three tags:</p>
+                <ul>
+                  <li><code>&amp;lt;tiles:insertTemplate&amp;gt;</code>, to
+                  insert a template,</li>
+                  <li><code>&amp;lt;tiles:insertDefinition&amp;gt;</code>, to
+                  insert a definition,</li>
+                  <li><code>&amp;lt;tiles:attribute&amp;gt;</code>, to define an
+                  attribute.</li>
+                </ul>
+                <p>Notice that the <code>type</code> attribute is not present in
+                any of these tags: it was removed because the type is implicit
+                in tags themselves.</p>
+            </answer>
+        </faq>
         <faq id="get">
             <question>What happened to <code>&amp;lt;tiles:get&amp;gt;</code> tag?
             </question>