Author: apetrelli
Date: Fri Oct  6 04:58:20 2006
New Revision: 453564

URL: http://svn.apache.org/viewvc?view=rev&rev=453564
Log:
SB-21

Removed <tiles:get> and GetTag and added a FAQ entry to explain how to replace 
that tag in existing code.

Removed:
    
struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/taglib/GetTag.java
Modified:
    struts/sandbox/trunk/tiles/src/site/fml/faq.fml
    
struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META-INF/tiles-core.tld

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=453564&r1=453563&r2=453564
==============================================================================
--- struts/sandbox/trunk/tiles/src/site/fml/faq.fml (original)
+++ struts/sandbox/trunk/tiles/src/site/fml/faq.fml Fri Oct  6 04:58:20 2006
@@ -19,6 +19,18 @@
 <faqs title="Tiles 2 FAQ">

     <part id="taglib-faq">

         <title>Tiles 2 Taglib</title>

+        <faq id="get">

+            <question>What happened to <code>&amp;lt;tiles:get&amp;gt;</code> 
tag?

+            </question>

+            <answer>

+                <p>The <code>&amp;lt;tiles:get&amp;gt;</code> has been removed,

+                    along with its class GetTag. Use

+                    <code>&amp;lt;tiles:insert&amp;gt;</code> instead,

+                    eventually specifiying <code>ignore="true"</code>, that was

+                    the default in <code>&amp;lt;tiles:get&amp;gt;</code>.

+                </p>

+            </answer>

+        </faq>

         <faq id="name">

             <question>What happened to 'attribute' and 'definition'?</question>

             <answer>


Modified: 
struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META-INF/tiles-core.tld
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META-INF/tiles-core.tld?view=diff&rev=453564&r1=453563&r2=453564
==============================================================================
--- 
struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META-INF/tiles-core.tld
 (original)
+++ 
struts/sandbox/trunk/tiles/tiles-core/src/main/resources/META-INF/tiles-core.tld
 Fri Oct  6 04:58:20 2006
@@ -351,68 +351,6 @@
       </attribute>
    </tag>
    <tag>
-      <name>get</name>
-      <tag-class>org.apache.tiles.taglib.GetTag</tag-class>
-      <body-content>empty</body-content>
-      <description>
-      <![CDATA[
-      <p><strong>
-      Gets the content from request scope that was put there by a
-      put tag.</strong></p>
-      <p>Retrieve content from tile context and include it.</p>
-      <p>Take into account the 'type' attribute.</p>
-      ]]>
-      </description>
-      <attribute>
-         <name>name</name>
-         <required>true</required>
-         <rtexprvalue>true</rtexprvalue>
-         <description>
-         <![CDATA[
-         <p>The name of the content to get from template scope.</p>
-         ]]>
-         </description>
-      </attribute>
-      <attribute>
-         <name>ignore</name>
-         <required>false</required>
-         <rtexprvalue>true</rtexprvalue>
-         <type>boolean</type>
-         <description>
-         <![CDATA[
-         <p>
-         If this attribute is set to true, and the attribute specified by the 
name
-         does not exist, simply return without writing anything. The default 
value is false, which will
-         cause a runtime exception to be thrown.
-         </p>
-         ]]>
-         </description>
-      </attribute>
-      <attribute>
-         <name>flush</name>
-         <required>false</required>
-         <rtexprvalue>false</rtexprvalue>
-         <type>boolean</type>
-         <description>
-         <![CDATA[
-         <p>True or false. If true, current page  out stream is flushed before 
-         insertion.</p>
-         ]]>
-         </description>
-      </attribute>
-      <attribute>
-         <name>role</name>
-         <required>false</required>
-         <rtexprvalue>true</rtexprvalue>
-         <description>
-         <![CDATA[
-         <p>If the user is in the specified role, the tag is taken into 
account;
-         otherwise, the tag is ignored (skipped).</p>
-         ]]>
-         </description>
-      </attribute>
-   </tag>
-   <tag>
       <name>getAsString</name>
       <tag-class>org.apache.tiles.taglib.GetAttributeTag</tag-class>
       <body-content>empty</body-content>


Reply via email to