Author: apetrelli
Date: Wed Apr  7 18:31:09 2010
New Revision: 931637

URL: http://svn.apache.org/viewvc?rev=931637&view=rev
Log:
TILES-496
Applied patch by Mck SembWever.

Removed:
    tiles/framework/trunk/tiles-velocity/src/site/
Modified:
    tiles/framework/trunk/src/site/apt/tutorial/integration/velocity.apt
    tiles/framework/trunk/tiles-freemarker/pom.xml

Modified: tiles/framework/trunk/src/site/apt/tutorial/integration/velocity.apt
URL: 
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/tutorial/integration/velocity.apt?rev=931637&r1=931636&r2=931637&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/tutorial/integration/velocity.apt 
(original)
+++ tiles/framework/trunk/src/site/apt/tutorial/integration/velocity.apt Wed 
Apr  7 18:31:09 2010
@@ -139,4 +139,26 @@ $tilesAlt.endAttributeContext()
 #end
 ----------------------------------
 
+  Other <<<tiles>>> directives are:
+  
+      * <<<getAsString(String attributeName)>>> - get the value of named 
attribute as string.
+
+      * <<<importAttribute(String attributeName, String toName)>>> - import 
the named attribute into the scope of
+       template context under the (optional) custom name.
+
+      * <<<insertAttribute(String attributeName)>>> - inserts given attribute 
in the output in its own context.
+        If this is a string a string is printed, if this is a definition - it 
is included in the output.
+
+      * <<<insertAttribute(String attributeName, boolean ownContext)>>> - 
inserts given attribute in the output.
+        If this is a string a string is printed, if this is a definition - it 
is included in the output. You can specify whether
+        a separate context is created for rendering the definition - in this 
case variables with duplicate names
+        will not be inherited from the parent definition
+
+      * <<<insertDefinition(String definitionName)>>> - renders a definition 
in its own context.
+
+      * <<<insertDefinition(String definitionName, boolean ownContext)>>> - 
inserts definition, optionally in the shared context.
+
+      * <<<insertTemplate(String template)>>> - inserts a named page, 
equivalent to Velocity's <<<#parse>>>.
+
+
   For details about the tool and directives see the 
{{{../../apidocs/index.html}Javadocs}}.

Modified: tiles/framework/trunk/tiles-freemarker/pom.xml
URL: 
http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-freemarker/pom.xml?rev=931637&r1=931636&r2=931637&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-freemarker/pom.xml (original)
+++ tiles/framework/trunk/tiles-freemarker/pom.xml Wed Apr  7 18:31:09 2010
@@ -26,7 +26,7 @@
   <groupId>org.apache.tiles</groupId>
   <artifactId>tiles-freemarker</artifactId>
   <name>Tiles - FreeMarker Support</name>
-  <description>Support for FreeMarker in Tiles</description>
+  <description>Support for FreeMarker in Tiles 2. For more read 
http://tiles.apache.org/framework/tutorial/integration/freemarker.html</description>
   <parent>
        <artifactId>tiles-parent</artifactId>
        <groupId>org.apache.tiles</groupId>
@@ -83,4 +83,4 @@
        <scope>test</scope>
     </dependency>
   </dependencies>
-</project>
\ No newline at end of file
+</project>


Reply via email to