You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by he...@apache.org on 2006/11/21 22:52:24 UTC

svn commit: r477914 [3/26] - in /jakarta/velocity/tools/trunk: ./ docs/ docs/generic/ docs/javadoc/ docs/javadoc/org/apache/velocity/tools/generic/ docs/javadoc/org/apache/velocity/tools/generic/log/ docs/javadoc/org/apache/velocity/tools/struts/ docs/...

Modified: jakarta/velocity/tools/trunk/docs/generic/MathTool.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/generic/MathTool.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/generic/MathTool.html (original)
+++ jakarta/velocity/tools/trunk/docs/generic/MathTool.html Tue Nov 21 13:52:11 2006
@@ -101,14 +101,14 @@
 <ul>
             <li>Most methods return numbers wrapped as Double
                 which automatically render the decimal places even
-                for whole numbers (e.g. new Double(1).toString() -&gt; '1.0'). 
-                This is intentional. This tool is for floating 
+                for whole numbers (e.g. new Double(1).toString() -&gt; '1.0').
+                This is intentional. This tool is for floating
                 point arithmetic. Integer arithmetic is already supported
-                by the Velocity template language. If you really need '1' 
-                instead of '1.0', just call intValue() on the result.</li> 
+                by the Velocity template language. If you really need '1'
+                instead of '1.0', just call intValue() on the result.</li>
             <li>No null pointer, number format, or divide by zero
                 exceptions are thrown here. This is because such exceptions
-                halt template rendering. It should be sufficient debugging 
+                halt template rendering. It should be sufficient debugging
                 feedback that Velocity will render the reference
                 literally. (e.g. $math.div(1, 0) renders as '$math.div(1, 0)')</li>
             <li>Class <code>java.lang.Math</code> is used to perform the
@@ -303,7 +303,7 @@
     <dd>
         <parameter name="num1, num2">
                     Operands of the addition. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -362,7 +362,7 @@
     <dd>
         <parameter name="num1, num2">
                     Operands of the subtraction. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -421,7 +421,7 @@
     <dd>
         <parameter name="num1, num2">
                     Factors of the multiplication. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -480,7 +480,7 @@
     <dd>
         <parameter name="num1, num2">
                     Input for the division. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -539,7 +539,7 @@
     <dd>
         <parameter name="num1, num2">
                     Operands. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -552,7 +552,7 @@
     <dt><strong>Returns</strong></dt>
     <dd>
         <returns>
-                A <code>java.lang.Double</code> representing the first number raised to 
+                A <code>java.lang.Double</code> representing the first number raised to
                 the power of the second or <code>null</code> if the input paramters are not valid.
             </returns>
     </dd>
@@ -598,7 +598,7 @@
     <dd>
         <parameter name="num1, num2">
                     Operands. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -657,7 +657,7 @@
     <dd>
         <parameter name="num1, num2">
                     Operands. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -716,7 +716,7 @@
     <dd>
         <parameter name="num">
                     Operand. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -775,7 +775,7 @@
     <dd>
         <parameter name="num">
                     Operand. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -788,7 +788,7 @@
     <dt><strong>Returns</strong></dt>
     <dd>
         <returns>
-                A <code>java.lang.Double</code> representing the input number or 
+                A <code>java.lang.Double</code> representing the input number or
                 <code>null</code> if the input paramter is not valid.
             </returns>
     </dd>
@@ -834,7 +834,7 @@
     <dd>
         <parameter name="num">
                     Operand. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -847,7 +847,7 @@
     <dt><strong>Returns</strong></dt>
     <dd>
         <returns>
-                A <code>java.lang.Integer</code> representing the input number or 
+                A <code>java.lang.Integer</code> representing the input number or
                 <code>null</code> if the input paramter is not valid.
             </returns>
     </dd>
@@ -893,7 +893,7 @@
     <dd>
         <parameter name="decimals">
                     The number of decimal places. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -902,7 +902,7 @@
     <dd>
         <parameter name="num">
                     The number to round. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -915,8 +915,8 @@
     <dt><strong>Returns</strong></dt>
     <dd>
         <returns>
-                A <code>java.lang.Double</code> representing the input number 
-                rounded to the specified number of decimal places or 
+                A <code>java.lang.Double</code> representing the input number
+                rounded to the specified number of decimal places or
                 <code>null</code> if the input paramter is not valid.
             </returns>
     </dd>
@@ -924,8 +924,8 @@
 
       <p>This method is particulary useful for simple display formatting.
                 If you want to round an number to the nearest integer, it
-                is better to use method <code><a href="#roundToInt()">roundToInt()</a></code>, 
-                as that will return an <code>java.lang.Integer</code> rather than 
+                is better to use method <code><a href="#roundToInt()">roundToInt()</a></code>,
+                as that will return an <code>java.lang.Integer</code> rather than
                 a <code>java.lang.Double</code>.</p>
 
 
@@ -968,7 +968,7 @@
     <dd>
         <parameter name="num">
                     The number to round. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -981,7 +981,7 @@
     <dt><strong>Returns</strong></dt>
     <dd>
         <returns>
-                A <code>java.lang.Integer</code> representing the input number 
+                A <code>java.lang.Integer</code> representing the input number
                 rounded to nearest whole Integer or <code>null</code> if the input paramter is not valid.
             </returns>
     </dd>
@@ -1023,7 +1023,7 @@
     <dt><strong>Returns</strong></dt>
     <dd>
         <returns>
-                A <code>java.lang.Double</code> 
+                A <code>java.lang.Double</code>
                 greater than or equal to 0.0 and less than 1.0.
             </returns>
     </dd>
@@ -1069,7 +1069,7 @@
     <dd>
         <parameter name="num1, num2">
                     First and last number of range. Valid input is any number (primitive
-                    types or objects, Velocity automatically converts primitives types 
+                    types or objects, Velocity automatically converts primitives types
                     to objects) or a string representation of a number.
                 </parameter>
     </dd>
@@ -1083,7 +1083,7 @@
     <dd>
         <returns>
                 A <code>java.lang.Integer</code> greater than or equal to the first
-                number and less than the second number or <code>null</code> if the input paramter 
+                number and less than the second number or <code>null</code> if the input paramter
                 is not valid.
             </returns>
     </dd>

Modified: jakarta/velocity/tools/trunk/docs/generic/RenderTool.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/generic/RenderTool.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/generic/RenderTool.html (original)
+++ jakarta/velocity/tools/trunk/docs/generic/RenderTool.html Tue Nov 21 13:52:11 2006
@@ -1,339 +1,339 @@
-
-            
-    <html>
-    <head>
-      <title>Velocity - RenderTool</title>
-
-               <meta name="author" value="Shinobu Kawai"/>
-        <meta name="email" value="shinobu.kawai@gmail.com" />
-               
-    
-    </head>
-
-    <body bgcolor="#ffffff" text="#000000" link="#525D76"
-          alink="#525D76" vlink="#525D76">
-
-    <table border="0" width="100%" cellspacing="4">
-
-            <tr><td colspan="2">
-
-                <a href="http://jakarta.apache.org/">
-          <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
-             align="left" alt="The Jakarta Project" border="0"/>
-        </a>
-
-        
-          
-                    <a href="index.html">
-            <img src="../images/velocitygenerictools.png" align="right" alt="< Velocity Tools - Library >" border="0"/>
-          </a>
-        
-      </td></tr>
-
-            <tr>
-        <td colspan="2">
-          <hr noshade="" size="1"/>
-        </td>
-      </tr>
-
-      <tr>
-
-                        <td width="20%" valign="top" nowrap="true">
-            
-                <p><strong><a href="../">Velocity Tools</a></strong></p>
-
-            <p>
-    <strong>Generic Tools</strong>
-</p>
-<ul>
-        <li><a href="index.html">Overview</a></li>
-    <li><a href="../index.html#Download">Download</a></li>
-    <li><a href="index.html#Contributions">Contributions</a></li>
-    <li><a href="../javadoc/index.html">Javadoc</a></li>
-
-</ul>
-<p>
-    <strong>Tool Documentation</strong>
-</p>
-<ul>
-        <li><a href="../javadoc/org/apache/velocity/tools/generic/DateTool.html">DateTool</a></li>
-    <li><a href="MathTool.html">MathTool</a></li>
-    <li><a href="../javadoc/org/apache/velocity/tools/generic/NumberTool.html">NumberTool</a></li>
-    <li><a href="RenderTool.html">RenderTool</a></li>
-    <li><a href="EscapeTool.html">EscapeTool</a></li>
-    <li><a href="../javadoc/org/apache/velocity/tools/generic/Alternator.html">Alternator</a></li>
-    <li><a href="../javadoc/org/apache/velocity/tools/generic/AlternatorTool.html">AlternatorTool</a></li>
-    <li><a href="../javadoc/org/apache/velocity/tools/generic/ValueParser.html">ValueParser</a></li>
-    <li><a href="../javadoc/org/apache/velocity/tools/generic/ListTool.html">ListTool</a></li>
-    <li><a href="../javadoc/org/apache/velocity/tools/generic/SortTool.html">SortTool</a></li>
-    <li><a href="../javadoc/org/apache/velocity/tools/generic/IteratorTool.html">IteratorTool</a></li>
-
-</ul>
-<p>
-    <strong>Other Subprojects</strong>
-</p>
-<ul>
-        <li><a href="../view/">VelocityView</a></li>
-    <li><a href="../struts/">VelocityStruts</a></li>
-
-</ul>
-
-            <p>
-</p>
-
-        </td>
-        
-        <!-- RIGHT SIDE MAIN BODY -->
-        <td colspan="1" valign="top" align="left">
-          <table border="0" cellspacing="0" cellpadding="2" width="100%">
-  <tr>
-    <td colspan="2" bgcolor="#525D76">
-      <font color="#ffffff" face="arial,helvetica.sanserif">
-      <a name="RenderTool Reference Documentation">
-      <strong>RenderTool Reference Documentation</strong></a></font>
-    </td>
-  </tr>
-  <tr>
-    <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
-    <td>
-      <p>This tool exposes methods to evaluate the given strings as VTL
-        (Velocity Template Language) and automatically using the current context.</p>
-<table cellpadding="0" cellspacing="0">
-  <tr><td colspan="2"><strong>Class</strong></td></tr>
-  <tr><td>&nbsp;</td><td>org.apache.velocity.tools.generic.RenderTool</td></tr>
-
-  <tr><td colspan="2"><strong>Name</strong></td></tr>
-  <tr><td>&nbsp;</td><td>$render (this is the recommended name of the tool in 
-      the Velocity context)</td></tr>
-
-  <tr><td colspan="2"><strong>Toolbox Configuration Example</strong></td></tr>
-  <tr><td>&nbsp;</td><td><pre>&lt;tool&gt;
-  &lt;key&gt;render&lt;/key&gt;
-  &lt;scope&gt;application&lt;/scope&gt;
-  &lt;class&gt;org.apache.velocity.tools.generic.RenderTool&lt;/class&gt;
-&lt;/tool&gt;</pre></td></tr>
-
-  <tr><td colspan="2"><strong>Author(s)</strong></td></tr>
-  <tr><td>&nbsp;</td><td><a href="mailto:nathan@esha.com">Nathan Bubna</a><br></td></tr>
-</table>
-<dl>
-  <dt><strong>Method Overview</strong></dt>
-  <dd>
-    <table cellpadding="2" cellspacing="2" border="0">
-                            <tr>
-          <td bgcolor="EEEEEE" nowrap>
-            <a href="#eval()">eval()</a></td>
-          <td bgcolor="EEEEEE">
-            
-                Evaluates a String containing VTL using the current context, and
-                returns the result as a String.
-            
-          </td>
-        </tr>
-                        <tr>
-          <td bgcolor="EEEEEE" nowrap>
-            <a href="#recurse()">recurse()</a></td>
-          <td bgcolor="EEEEEE">
-            
-                Recursively evaluates a String containing VTL using the
-                current context, and returns the result as a String.
-
-            
-          </td>
-        </tr>
-              </table>
-  </dd>
-</dl>
-
-    </td>
-  </tr>
-</table>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-  <tr>
-    <td colspan="2" bgcolor="#525D76">
-      <font color="#ffffff" face="arial,helvetica.sanserif">
-      <a name="eval()">
-      <strong>eval()</strong></a></font>
-    </td>
-  </tr>
-  <tr>
-    <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
-    <td>
-      
-        <p>
-        <abstract>
-                Evaluates a String containing VTL using the current context, and
-                returns the result as a String.
-            </abstract>
-    </p>
-    <p>
-    <table width="100%"><tr><td bgcolor="EEEEEE">
-    <font size="+1"><code>
-        <signature>
-                String eval(Context ctx, String vtl)
-            </signature>
-    </code></font>
-    </td></tr></table>
-    </p>
-    <dl>
-    <dt><strong>Parameters</strong></dt>
-    <dd>
-      <dl>
-              <dt>ctx</dt>
-    <dd>
-        <parameter name="ctx">
-                    The Context to be evaluate the vtl with.
-                </parameter>
-    </dd>
-
-    <dt>vtl</dt>
-    <dd>
-        <parameter name="vtl">
-                    The code to be evaluated.
-                </parameter>
-    </dd>
-
-
-      </dl>
-    </dd>
-    </dl>
-    <dl>
-    <dt><strong>Returns</strong></dt>
-    <dd>
-        <returns>
-                The evaluated code as a String.
-            </returns>
-    </dd>
-    </dl>
-
-      <p>Evaluates a String containing VTL using the given context, and
-                returns the result as a String.  If this fails, then <code>null</code>
-                will be returned.  This evaluation is not recursive.</p>
-<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
-  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
-    <pre><sourcecode>#set( $list = [1,2,3] )
-#set( $object = '$list' )
-#set( $method = 'size()' )
-$render.eval($ctx, "${object}.$method")</sourcecode></pre>
-  </td></tr></table>
-</td></tr></table>
-<p>This will produce the following output:</p>
-<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
-  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
-    <pre><sourcecode>3</sourcecode></pre>
-  </td></tr></table>
-</td></tr></table>
-
-
-    <br clear="all">
-
-    </td>
-  </tr>
-</table>
-<table border="0" cellspacing="0" cellpadding="2" width="100%">
-  <tr>
-    <td colspan="2" bgcolor="#525D76">
-      <font color="#ffffff" face="arial,helvetica.sanserif">
-      <a name="recurse()">
-      <strong>recurse()</strong></a></font>
-    </td>
-  </tr>
-  <tr>
-    <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
-    <td>
-      
-        <p>
-        <abstract>
-                Recursively evaluates a String containing VTL using the
-                current context, and returns the result as a String.
-
-            </abstract>
-    </p>
-    <p>
-    <table width="100%"><tr><td bgcolor="EEEEEE">
-    <font size="+1"><code>
-        <signature>
-                String recurse(Context ctx, String vtl)
-            </signature>
-    </code></font>
-    </td></tr></table>
-    </p>
-    <dl>
-    <dt><strong>Parameters</strong></dt>
-    <dd>
-      <dl>
-              <dt>vtl</dt>
-    <dd>
-        <parameter name="vtl">
-                    The code to be evaluated.
-                </parameter>
-    </dd>
-
-    <dt>ctx</dt>
-    <dd>
-        <parameter name="ctx">
-                    The Context to be evaluate the vtl with.
-                </parameter>
-    </dd>
-
-
-      </dl>
-    </dd>
-    </dl>
-    <dl>
-    <dt><strong>Returns</strong></dt>
-    <dd>
-        <returns>
-                The evaluated code as a String.
-            </returns>
-    </dd>
-    </dl>
-
-      <p>Recursively evaluates a String containing VTL using the
-                given context, and returns the result as a String. It
-                will continue to re-evaluate the output of the last
-                evaluation until an evaluation returns the same code
-                that was fed into it.</p>
-<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
-  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
-    <pre><sourcecode>#macro( say_hi )hello world!#end
-#set( $foo = '#say_hi()' )
-#set( $bar = '$foo' )
-$render.recurse($ctx, '$bar')</sourcecode></pre>
-  </td></tr></table>
-</td></tr></table>
-<p>This will produce the following output:</p>
-<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
-  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
-    <pre><sourcecode>hello world!</sourcecode></pre>
-  </td></tr></table>
-</td></tr></table>
-
-
-    <br clear="all">
-
-    </td>
-  </tr>
-</table>
-
-        </td>
-
-      </tr>
-
-      <!-- FOOTER SEPARATOR --> 
-      <tr>
-        <td colspan="2">
-          <hr noshade="" size="1"/>
-        </td>
-      </tr>
-
-      <!-- PAGE FOOTER -->
-      <tr><td colspan="2">
-        <div align="center"><font color="#525D76" size="-1"><em>
-        Copyright &#169; 1999-2003, Apache Software Foundation
-        </em></font></div>
-      </td></tr>
-
-    </table>
-    </body>
-    </html>
+
+            
+    <html>
+    <head>
+      <title>Velocity - RenderTool</title>
+
+               <meta name="author" value="Shinobu Kawai"/>
+        <meta name="email" value="shinobu.kawai@gmail.com" />
+               
+    
+    </head>
+
+    <body bgcolor="#ffffff" text="#000000" link="#525D76"
+          alink="#525D76" vlink="#525D76">
+
+    <table border="0" width="100%" cellspacing="4">
+
+            <tr><td colspan="2">
+
+                <a href="http://jakarta.apache.org/">
+          <img src="http://jakarta.apache.org/images/jakarta-logo.gif"
+             align="left" alt="The Jakarta Project" border="0"/>
+        </a>
+
+        
+          
+                    <a href="index.html">
+            <img src="../images/velocitygenerictools.png" align="right" alt="< Velocity Tools - Library >" border="0"/>
+          </a>
+        
+      </td></tr>
+
+            <tr>
+        <td colspan="2">
+          <hr noshade="" size="1"/>
+        </td>
+      </tr>
+
+      <tr>
+
+                        <td width="20%" valign="top" nowrap="true">
+            
+                <p><strong><a href="../">Velocity Tools</a></strong></p>
+
+            <p>
+    <strong>Generic Tools</strong>
+</p>
+<ul>
+        <li><a href="index.html">Overview</a></li>
+    <li><a href="../index.html#Download">Download</a></li>
+    <li><a href="index.html#Contributions">Contributions</a></li>
+    <li><a href="../javadoc/index.html">Javadoc</a></li>
+
+</ul>
+<p>
+    <strong>Tool Documentation</strong>
+</p>
+<ul>
+        <li><a href="../javadoc/org/apache/velocity/tools/generic/DateTool.html">DateTool</a></li>
+    <li><a href="MathTool.html">MathTool</a></li>
+    <li><a href="../javadoc/org/apache/velocity/tools/generic/NumberTool.html">NumberTool</a></li>
+    <li><a href="RenderTool.html">RenderTool</a></li>
+    <li><a href="EscapeTool.html">EscapeTool</a></li>
+    <li><a href="../javadoc/org/apache/velocity/tools/generic/Alternator.html">Alternator</a></li>
+    <li><a href="../javadoc/org/apache/velocity/tools/generic/AlternatorTool.html">AlternatorTool</a></li>
+    <li><a href="../javadoc/org/apache/velocity/tools/generic/ValueParser.html">ValueParser</a></li>
+    <li><a href="../javadoc/org/apache/velocity/tools/generic/ListTool.html">ListTool</a></li>
+    <li><a href="../javadoc/org/apache/velocity/tools/generic/SortTool.html">SortTool</a></li>
+    <li><a href="../javadoc/org/apache/velocity/tools/generic/IteratorTool.html">IteratorTool</a></li>
+
+</ul>
+<p>
+    <strong>Other Subprojects</strong>
+</p>
+<ul>
+        <li><a href="../view/">VelocityView</a></li>
+    <li><a href="../struts/">VelocityStruts</a></li>
+
+</ul>
+
+            <p>
+</p>
+
+        </td>
+        
+        <!-- RIGHT SIDE MAIN BODY -->
+        <td colspan="1" valign="top" align="left">
+          <table border="0" cellspacing="0" cellpadding="2" width="100%">
+  <tr>
+    <td colspan="2" bgcolor="#525D76">
+      <font color="#ffffff" face="arial,helvetica.sanserif">
+      <a name="RenderTool Reference Documentation">
+      <strong>RenderTool Reference Documentation</strong></a></font>
+    </td>
+  </tr>
+  <tr>
+    <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
+    <td>
+      <p>This tool exposes methods to evaluate the given strings as VTL
+        (Velocity Template Language) and automatically using the current context.</p>
+<table cellpadding="0" cellspacing="0">
+  <tr><td colspan="2"><strong>Class</strong></td></tr>
+  <tr><td>&nbsp;</td><td>org.apache.velocity.tools.generic.RenderTool</td></tr>
+
+  <tr><td colspan="2"><strong>Name</strong></td></tr>
+  <tr><td>&nbsp;</td><td>$render (this is the recommended name of the tool in 
+      the Velocity context)</td></tr>
+
+  <tr><td colspan="2"><strong>Toolbox Configuration Example</strong></td></tr>
+  <tr><td>&nbsp;</td><td><pre>&lt;tool&gt;
+  &lt;key&gt;render&lt;/key&gt;
+  &lt;scope&gt;application&lt;/scope&gt;
+  &lt;class&gt;org.apache.velocity.tools.generic.RenderTool&lt;/class&gt;
+&lt;/tool&gt;</pre></td></tr>
+
+  <tr><td colspan="2"><strong>Author(s)</strong></td></tr>
+  <tr><td>&nbsp;</td><td><a href="mailto:nathan@esha.com">Nathan Bubna</a><br></td></tr>
+</table>
+<dl>
+  <dt><strong>Method Overview</strong></dt>
+  <dd>
+    <table cellpadding="2" cellspacing="2" border="0">
+                            <tr>
+          <td bgcolor="EEEEEE" nowrap>
+            <a href="#eval()">eval()</a></td>
+          <td bgcolor="EEEEEE">
+            
+                Evaluates a String containing VTL using the current context, and
+                returns the result as a String.
+            
+          </td>
+        </tr>
+                        <tr>
+          <td bgcolor="EEEEEE" nowrap>
+            <a href="#recurse()">recurse()</a></td>
+          <td bgcolor="EEEEEE">
+            
+                Recursively evaluates a String containing VTL using the
+                current context, and returns the result as a String.
+
+            
+          </td>
+        </tr>
+              </table>
+  </dd>
+</dl>
+
+    </td>
+  </tr>
+</table>
+<table border="0" cellspacing="0" cellpadding="2" width="100%">
+  <tr>
+    <td colspan="2" bgcolor="#525D76">
+      <font color="#ffffff" face="arial,helvetica.sanserif">
+      <a name="eval()">
+      <strong>eval()</strong></a></font>
+    </td>
+  </tr>
+  <tr>
+    <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
+    <td>
+      
+        <p>
+        <abstract>
+                Evaluates a String containing VTL using the current context, and
+                returns the result as a String.
+            </abstract>
+    </p>
+    <p>
+    <table width="100%"><tr><td bgcolor="EEEEEE">
+    <font size="+1"><code>
+        <signature>
+                String eval(Context ctx, String vtl)
+            </signature>
+    </code></font>
+    </td></tr></table>
+    </p>
+    <dl>
+    <dt><strong>Parameters</strong></dt>
+    <dd>
+      <dl>
+              <dt>ctx</dt>
+    <dd>
+        <parameter name="ctx">
+                    The Context to be evaluate the vtl with.
+                </parameter>
+    </dd>
+
+    <dt>vtl</dt>
+    <dd>
+        <parameter name="vtl">
+                    The code to be evaluated.
+                </parameter>
+    </dd>
+
+
+      </dl>
+    </dd>
+    </dl>
+    <dl>
+    <dt><strong>Returns</strong></dt>
+    <dd>
+        <returns>
+                The evaluated code as a String.
+            </returns>
+    </dd>
+    </dl>
+
+      <p>Evaluates a String containing VTL using the given context, and
+                returns the result as a String.  If this fails, then <code>null</code>
+                will be returned.  This evaluation is not recursive.</p>
+<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
+  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
+    <pre><sourcecode>#set( $list = [1,2,3] )
+#set( $object = '$list' )
+#set( $method = 'size()' )
+$render.eval($ctx, "${object}.$method")</sourcecode></pre>
+  </td></tr></table>
+</td></tr></table>
+<p>This will produce the following output:</p>
+<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
+  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
+    <pre><sourcecode>3</sourcecode></pre>
+  </td></tr></table>
+</td></tr></table>
+
+
+    <br clear="all">
+
+    </td>
+  </tr>
+</table>
+<table border="0" cellspacing="0" cellpadding="2" width="100%">
+  <tr>
+    <td colspan="2" bgcolor="#525D76">
+      <font color="#ffffff" face="arial,helvetica.sanserif">
+      <a name="recurse()">
+      <strong>recurse()</strong></a></font>
+    </td>
+  </tr>
+  <tr>
+    <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
+    <td>
+      
+        <p>
+        <abstract>
+                Recursively evaluates a String containing VTL using the
+                current context, and returns the result as a String.
+
+            </abstract>
+    </p>
+    <p>
+    <table width="100%"><tr><td bgcolor="EEEEEE">
+    <font size="+1"><code>
+        <signature>
+                String recurse(Context ctx, String vtl)
+            </signature>
+    </code></font>
+    </td></tr></table>
+    </p>
+    <dl>
+    <dt><strong>Parameters</strong></dt>
+    <dd>
+      <dl>
+              <dt>vtl</dt>
+    <dd>
+        <parameter name="vtl">
+                    The code to be evaluated.
+                </parameter>
+    </dd>
+
+    <dt>ctx</dt>
+    <dd>
+        <parameter name="ctx">
+                    The Context to be evaluate the vtl with.
+                </parameter>
+    </dd>
+
+
+      </dl>
+    </dd>
+    </dl>
+    <dl>
+    <dt><strong>Returns</strong></dt>
+    <dd>
+        <returns>
+                The evaluated code as a String.
+            </returns>
+    </dd>
+    </dl>
+
+      <p>Recursively evaluates a String containing VTL using the
+                given context, and returns the result as a String. It
+                will continue to re-evaluate the output of the last
+                evaluation until an evaluation returns the same code
+                that was fed into it.</p>
+<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
+  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
+    <pre><sourcecode>#macro( say_hi )hello world!#end
+#set( $foo = '#say_hi()' )
+#set( $bar = '$foo' )
+$render.recurse($ctx, '$bar')</sourcecode></pre>
+  </td></tr></table>
+</td></tr></table>
+<p>This will produce the following output:</p>
+<table width="100%" cellpadding="1" cellspacing="0" border="0"><tr><td bgcolor="#000000">
+  <table width="100%" cellpadding="5" cellspacing="0" border="0"><tr><td bgcolor="#FFFFFF">
+    <pre><sourcecode>hello world!</sourcecode></pre>
+  </td></tr></table>
+</td></tr></table>
+
+
+    <br clear="all">
+
+    </td>
+  </tr>
+</table>
+
+        </td>
+
+      </tr>
+
+      <!-- FOOTER SEPARATOR --> 
+      <tr>
+        <td colspan="2">
+          <hr noshade="" size="1"/>
+        </td>
+      </tr>
+
+      <!-- PAGE FOOTER -->
+      <tr><td colspan="2">
+        <div align="center"><font color="#525D76" size="-1"><em>
+        Copyright &#169; 1999-2003, Apache Software Foundation
+        </em></font></div>
+      </td></tr>
+
+    </table>
+    </body>
+    </html>

Modified: jakarta/velocity/tools/trunk/docs/generic/index.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/generic/index.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/generic/index.html (original)
+++ jakarta/velocity/tools/trunk/docs/generic/index.html Tue Nov 21 13:52:11 2006
@@ -97,10 +97,10 @@
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
       <p>
-          GenericTools contains a collection of reusable and well 
+          GenericTools contains a collection of reusable and well
           documented tools and utility classes of general interest
           to Velocity users.  These classes and tools have no dependency
-          on the VelocityView or VelocityStruts sub-projects. The tools may 
+          on the VelocityView or VelocityStruts sub-projects. The tools may
           be used as you would any other POJO ("plain old java object").
         </p>
 <p>
@@ -128,7 +128,7 @@
 
             <dt><a href="../javadoc/org/apache/velocity/tools/generic/ValueParser.html"><strong>ValueParser</strong></a></dt>
             <dd>A tool to retrieve and parse String values pulled from a map. This provides
-            the basis for the <a href="../view/ParameterParser.html">ParameterParser</a> in 
+            the basis for the <a href="../view/ParameterParser.html">ParameterParser</a> in
             <a href="../view/index.html">VelocityView</a>.</dd>
 
             <dt><a href="../javadoc/org/apache/velocity/tools/generic/ListTool.html"><strong>ListTool</strong></a></dt>
@@ -136,12 +136,12 @@
 
             <dt><a href="../javadoc/org/apache/velocity/tools/generic/SortTool.html"><strong>SortTool</strong></a></dt>
             <dd>A tool that allows a user to sort a collection (or array, iterator, etc)
-            on any arbitary set of properties exposed by the objects contained within 
+            on any arbitary set of properties exposed by the objects contained within
             the collection.</dd>
 
             <dt><a href="../javadoc/org/apache/velocity/tools/generic/IteratorTool.html"><strong>IteratorTool</strong></a></dt>
             <dd>A convenience tool to use with #foreach loops. It wraps a list
-            to let the designer specify a condition to terminate the loop, 
+            to let the designer specify a condition to terminate the loop,
             and reuse the same list in different loops.</dd>
           </dl>
           <br clear="all"/>
@@ -172,7 +172,7 @@
   <tr>
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
-      <p>We welcome your contributions to this library.  Patches can be sent to the 
+      <p>We welcome your contributions to this library.  Patches can be sent to the
         mailing list or attached to a
         <a href="http://issues.apache.org/jira/browse/VELTOOLS">JIRA</a>
         issue.  The <a href="http://wiki.apache.org/jakarta-velocity/VelocityTools">Wiki</a>

Modified: jakarta/velocity/tools/trunk/docs/index.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/index.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/index.html (original)
+++ jakarta/velocity/tools/trunk/docs/index.html Tue Nov 21 13:52:11 2006
@@ -100,9 +100,9 @@
   <tr>
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
-      <p><a href="generic/">GenericTools</a> is a group of reuseable and 
-            documented tools that can be added to a Velocity context. A 
-            <b>tool</b> is simply a class which can perform various tasks when 
+      <p><a href="generic/">GenericTools</a> is a group of reuseable and
+            documented tools that can be added to a Velocity context. A
+            <b>tool</b> is simply a class which can perform various tasks when
             made available to the Velocity engine. Most tools are optimized for use
             with an automatically managed toolbox (see VelocityViewServlet).</p>
 <br clear="all"/>
@@ -122,15 +122,15 @@
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
       <p><a href="view/">VelocityView</a>
-            contains a standalone servlet (VelocityViewServlet) which can render 
+            contains a standalone servlet (VelocityViewServlet) which can render
             templates for web applications. </p>
-<p> Also included is a Toolbox Manager which can automatically make 
-            "view tools" and data available to the templates. Any class 
+<p> Also included is a Toolbox Manager which can automatically make
+            "view tools" and data available to the templates. Any class
             with public methods can be used as a tool in the template.
             </p>
 <p>
-            <a href="view/layoutservlet.html">VelocityLayoutServlet</a> is an 
-            extension of the basic VelocityViewServlet that can render screen 
+            <a href="view/layoutservlet.html">VelocityLayoutServlet</a> is an
+            extension of the basic VelocityViewServlet that can render screen
             content into common layout templates.</p>
 <br clear="all"/>
 
@@ -148,11 +148,11 @@
   <tr>
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
-      <p><a href="struts/">VelocityStruts</a> is a set of tools for using the 
+      <p><a href="struts/">VelocityStruts</a> is a set of tools for using the
             Velocity template engine as the view layer for a web application built upon the
             <a href="http://struts.apache.org/">Apache Struts</a> framework.</p>
-<p>This work leverages the <strong>VelocityViewServlet</strong> and 
-            additional tools which make it easy to integrate the Velocity with 
+<p>This work leverages the <strong>VelocityViewServlet</strong> and
+            additional tools which make it easy to integrate the Velocity with
             Struts. Several example hybrid applications are included.</p>
 <br clear="all"/>
 
@@ -171,9 +171,9 @@
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
       <p>Several example applications are currently available, including
-            one to demonstrate the use of Velocity as a view technology for Struts. 
-            The example utilizes both Velocity and JSP files for the view in parallel 
-            so that they can be compared easily. Also, resources bundle usage for 
+            one to demonstrate the use of Velocity as a view technology for Struts.
+            The example utilizes both Velocity and JSP files for the view in parallel
+            so that they can be compared easily. Also, resources bundle usage for
             language localization is demonstrated there. Other examples include a demonstration
             of the use of the VelocityLayoutServlet and a minimal "simple" application.</p>
 <br clear="all"/>
@@ -193,27 +193,27 @@
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
       <p>
-            Emphasis <s>is</s> was being put on providing tool documentation that 
+            Emphasis <s>is</s> was being put on providing tool documentation that
             is suitable for template designers. To achive this goal, a documentation
             format has been defined that captures all information relevant to the
             template designer. It is being supplied in addition to the customary
             Javadoc. This should help to achieve what we always claim for Velocity:
             "Decouple the work of template designers from the work of software
-            developers". Look at the Struts 
+            developers". Look at the Struts
             <a href="struts/MessageTool.html">MessageTool</a>
             for a good example of the new documentation format.
           </p>
 <p>
-            <b>Update:</b> 
-            While we value the look and readability of this format, we are presently 
-            drifting away from the use of it. The primary reason for this is that the 
+            <b>Update:</b>
+            While we value the look and readability of this format, we are presently
+            drifting away from the use of it. The primary reason for this is that the
             developers have found it difficult to maintain (i.e. no one
-            has been motivated enough to put in the extra work).  If you feel this 
+            has been motivated enough to put in the extra work).  If you feel this
             documentation format is valuable and wish to help us create and maintain
-            it for the various individual tools, please see 
-            <a href="#Wanna help?">below</a> 
+            it for the various individual tools, please see
+            <a href="#Wanna help?">below</a>
             for more details on getting involved.  Meanwhile, we'll be putting effort
-            into improving javadoc for individual tools and overview documents for 
+            into improving javadoc for individual tools and overview documents for
             the sub-projects.
           </p>
 
@@ -258,7 +258,7 @@
   <tr>
     <td NOWRAP> &nbsp; &nbsp; &nbsp; &nbsp; </td>
     <td>
-      <p>All VelocityTools project code is maintained in the 
+      <p>All VelocityTools project code is maintained in the
         Subversion repository <b>jakarta/velocity-tools</b>.</p>
 <p>Web Browser: <a href="http://svn.apache.org/viewcvs.cgi/jakarta/velocity/tools/trunk/">
         http://svn.apache.org/viewcvs.cgi/jakarta/velocity/tools/trunk/</a></p>
@@ -283,7 +283,7 @@
       <p>We encourage interested developers to evaluate the project
         and send feedback to the velocity-user or velocity-dev mailing list.</p>
 <p>Those interested in furthering the development of this project are
-        especially welcome to jump in and help out.  Patches can be sent to the 
+        especially welcome to jump in and help out.  Patches can be sent to the
         mailing list or attached to a
         <a href="http://issues.apache.org/jira/browse/VELTOOLS">JIRA</a>
         issue.  The <a href="http://wiki.apache.org/jakarta-velocity/VelocityTools">Wiki</a>
@@ -294,7 +294,7 @@
             <li>Improving the example apps</li>
             <li>Contributing to the <a href="http://wiki.apache.org/jakarta-velocity/VelocimacroLibrary">VelocimacroLibrary</a></li>
           </ul>
-        Other project goals and proposals can be found in the project 
+        Other project goals and proposals can be found in the project
         <a href="http://svn.apache.org/viewcvs.cgi/jakarta/velocity/tools/trunk/STATUS?view=markup">STATUS</a>
         file.</p>
 

Modified: jakarta/velocity/tools/trunk/docs/javadoc/allclasses-frame.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/javadoc/allclasses-frame.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/javadoc/allclasses-frame.html (original)
+++ jakarta/velocity/tools/trunk/docs/javadoc/allclasses-frame.html Tue Nov 21 13:52:11 2006
@@ -2,9 +2,9 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_02) on Thu Oct 20 10:35:35 PDT 2005 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Tue Nov 21 22:45:27 CET 2006 -->
 <TITLE>
-All Classes (Velocity Tools 1.2 Documentation)
+All Classes (Velocity Tools 1.3-dev Documentation)
 </TITLE>
 
 
@@ -52,6 +52,8 @@
 <BR>
 <A HREF="org/apache/velocity/tools/view/ImportSupport.html" title="class in org.apache.velocity.tools.view" target="classFrame">ImportSupport</A>
 <BR>
+<A HREF="org/apache/velocity/tools/view/ImportSupport.SafeClosingHttpURLConnectionReader.html" title="class in org.apache.velocity.tools.view" target="classFrame">ImportSupport.SafeClosingHttpURLConnectionReader</A>
+<BR>
 <A HREF="org/apache/velocity/tools/view/tools/ImportTool.html" title="class in org.apache.velocity.tools.view.tools" target="classFrame">ImportTool</A>
 <BR>
 <A HREF="org/apache/velocity/tools/generic/IteratorTool.html" title="class in org.apache.velocity.tools.generic" target="classFrame">IteratorTool</A>
@@ -86,6 +88,8 @@
 <BR>
 <A HREF="org/apache/velocity/tools/view/servlet/ServletToolInfo.html" title="class in org.apache.velocity.tools.view.servlet" target="classFrame">ServletToolInfo</A>
 <BR>
+<A HREF="org/apache/velocity/tools/view/servlet/ServletUtils.html" title="class in org.apache.velocity.tools.view.servlet" target="classFrame">ServletUtils</A>
+<BR>
 <A HREF="org/apache/velocity/tools/generic/SortTool.html" title="class in org.apache.velocity.tools.generic" target="classFrame">SortTool</A>
 <BR>
 <A HREF="org/apache/velocity/tools/struts/StrutsLinkTool.html" title="class in org.apache.velocity.tools.struts" target="classFrame">StrutsLinkTool</A>
@@ -93,8 +97,6 @@
 <A HREF="org/apache/velocity/tools/struts/StrutsUtils.html" title="class in org.apache.velocity.tools.struts" target="classFrame">StrutsUtils</A>
 <BR>
 <A HREF="org/apache/velocity/tools/struts/TilesTool.html" title="class in org.apache.velocity.tools.struts" target="classFrame">TilesTool</A>
-<BR>
-<A HREF="org/apache/velocity/tools/view/context/ToolboxContext.html" title="class in org.apache.velocity.tools.view.context" target="classFrame">ToolboxContext</A>
 <BR>
 <A HREF="org/apache/velocity/tools/view/ToolboxManager.html" title="interface in org.apache.velocity.tools.view" target="classFrame"><I>ToolboxManager</I></A>
 <BR>

Modified: jakarta/velocity/tools/trunk/docs/javadoc/allclasses-noframe.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/javadoc/allclasses-noframe.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/javadoc/allclasses-noframe.html (original)
+++ jakarta/velocity/tools/trunk/docs/javadoc/allclasses-noframe.html Tue Nov 21 13:52:11 2006
@@ -2,9 +2,9 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_02) on Thu Oct 20 10:35:35 PDT 2005 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Tue Nov 21 22:45:27 CET 2006 -->
 <TITLE>
-All Classes (Velocity Tools 1.2 Documentation)
+All Classes (Velocity Tools 1.3-dev Documentation)
 </TITLE>
 
 
@@ -52,6 +52,8 @@
 <BR>
 <A HREF="org/apache/velocity/tools/view/ImportSupport.html" title="class in org.apache.velocity.tools.view">ImportSupport</A>
 <BR>
+<A HREF="org/apache/velocity/tools/view/ImportSupport.SafeClosingHttpURLConnectionReader.html" title="class in org.apache.velocity.tools.view">ImportSupport.SafeClosingHttpURLConnectionReader</A>
+<BR>
 <A HREF="org/apache/velocity/tools/view/tools/ImportTool.html" title="class in org.apache.velocity.tools.view.tools">ImportTool</A>
 <BR>
 <A HREF="org/apache/velocity/tools/generic/IteratorTool.html" title="class in org.apache.velocity.tools.generic">IteratorTool</A>
@@ -86,6 +88,8 @@
 <BR>
 <A HREF="org/apache/velocity/tools/view/servlet/ServletToolInfo.html" title="class in org.apache.velocity.tools.view.servlet">ServletToolInfo</A>
 <BR>
+<A HREF="org/apache/velocity/tools/view/servlet/ServletUtils.html" title="class in org.apache.velocity.tools.view.servlet">ServletUtils</A>
+<BR>
 <A HREF="org/apache/velocity/tools/generic/SortTool.html" title="class in org.apache.velocity.tools.generic">SortTool</A>
 <BR>
 <A HREF="org/apache/velocity/tools/struts/StrutsLinkTool.html" title="class in org.apache.velocity.tools.struts">StrutsLinkTool</A>
@@ -93,8 +97,6 @@
 <A HREF="org/apache/velocity/tools/struts/StrutsUtils.html" title="class in org.apache.velocity.tools.struts">StrutsUtils</A>
 <BR>
 <A HREF="org/apache/velocity/tools/struts/TilesTool.html" title="class in org.apache.velocity.tools.struts">TilesTool</A>
-<BR>
-<A HREF="org/apache/velocity/tools/view/context/ToolboxContext.html" title="class in org.apache.velocity.tools.view.context">ToolboxContext</A>
 <BR>
 <A HREF="org/apache/velocity/tools/view/ToolboxManager.html" title="interface in org.apache.velocity.tools.view"><I>ToolboxManager</I></A>
 <BR>

Modified: jakarta/velocity/tools/trunk/docs/javadoc/constant-values.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/javadoc/constant-values.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/javadoc/constant-values.html (original)
+++ jakarta/velocity/tools/trunk/docs/javadoc/constant-values.html Tue Nov 21 13:52:11 2006
@@ -2,9 +2,9 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_02) on Thu Oct 20 10:35:35 PDT 2005 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Tue Nov 21 22:45:27 CET 2006 -->
 <TITLE>
-Constant Field Values (Velocity Tools 1.2 Documentation)
+Constant Field Values (Velocity Tools 1.3-dev Documentation)
 </TITLE>
 
 
@@ -13,7 +13,7 @@
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="Constant Field Values (Velocity Tools 1.2 Documentation)";
+    parent.document.title="Constant Field Values (Velocity Tools 1.3-dev Documentation)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -95,6 +95,24 @@
 
 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TH ALIGN="left" COLSPAN="3">org.apache.velocity.tools.generic.<A HREF="org/apache/velocity/tools/generic/AlternatorTool.html" title="class in org.apache.velocity.tools.generic">AlternatorTool</A></TH>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.apache.velocity.tools.generic.AlternatorTool.AUTO_ALTERNATE_DEFAULT_KEY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/generic/AlternatorTool.html#AUTO_ALTERNATE_DEFAULT_KEY">AUTO_ALTERNATE_DEFAULT_KEY</A></CODE></TD>
+<TD ALIGN="right"><CODE>"auto-alternate"</CODE></TD>
+</TR>
+</FONT></TD>
+</TR>
+</TABLE>
+
+<P>
+
+<P>
+
+<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 <TH ALIGN="left" COLSPAN="3">org.apache.velocity.tools.generic.<A HREF="org/apache/velocity/tools/generic/DateTool.html" title="class in org.apache.velocity.tools.generic">DateTool</A></TH>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
@@ -103,6 +121,12 @@
 <TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/generic/DateTool.html#DEFAULT_FORMAT">DEFAULT_FORMAT</A></CODE></TD>
 <TD ALIGN="right"><CODE>"default"</CODE></TD>
 </TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.apache.velocity.tools.generic.DateTool.DEFAULT_FORMAT_KEY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/generic/DateTool.html#DEFAULT_FORMAT_KEY">DEFAULT_FORMAT_KEY</A></CODE></TD>
+<TD ALIGN="right"><CODE>"format"</CODE></TD>
+</TR>
 </FONT></TD>
 </TR>
 </TABLE>
@@ -164,6 +188,12 @@
 <TD ALIGN="right"><CODE>20</CODE></TD>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.apache.velocity.tools.generic.RenderTool.KEY_PARSE_DEPTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/generic/RenderTool.html#KEY_PARSE_DEPTH">KEY_PARSE_DEPTH</A></CODE></TD>
+<TD ALIGN="right"><CODE>"parse.depth"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
 <A NAME="org.apache.velocity.tools.generic.RenderTool.LOG_TAG"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
 <CODE>private&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
 <TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/generic/RenderTool.html#LOG_TAG">LOG_TAG</A></CODE></TD>
@@ -505,6 +535,12 @@
 <TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/servlet/VelocityLayoutServlet.html#PROPERTY_LAYOUT_DIR">PROPERTY_LAYOUT_DIR</A></CODE></TD>
 <TD ALIGN="right"><CODE>"tools.view.servlet.layout.directory"</CODE></TD>
 </TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.apache.velocity.tools.view.servlet.VelocityLayoutServlet.serialVersionUID"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>private&nbsp;static&nbsp;final&nbsp;long</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/servlet/VelocityLayoutServlet.html#serialVersionUID">serialVersionUID</A></CODE></TD>
+<TD ALIGN="right"><CODE>-4521817395157483487L</CODE></TD>
+</TR>
 </FONT></TD>
 </TR>
 </TABLE>
@@ -536,12 +572,24 @@
 <TD ALIGN="right"><CODE>"ISO-8859-1"</CODE></TD>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.apache.velocity.tools.view.servlet.VelocityViewServlet.DEFAULT_TOOLS_PROPERTIES"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/servlet/VelocityViewServlet.html#DEFAULT_TOOLS_PROPERTIES">DEFAULT_TOOLS_PROPERTIES</A></CODE></TD>
+<TD ALIGN="right"><CODE>"/org/apache/velocity/tools/view/servlet/velocity.properties"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
 <A NAME="org.apache.velocity.tools.view.servlet.VelocityViewServlet.INIT_PROPS_KEY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
 <CODE>protected&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
 <TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/servlet/VelocityViewServlet.html#INIT_PROPS_KEY">INIT_PROPS_KEY</A></CODE></TD>
 <TD ALIGN="right"><CODE>"org.apache.velocity.properties"</CODE></TD>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.apache.velocity.tools.view.servlet.VelocityViewServlet.serialVersionUID"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>private&nbsp;static&nbsp;final&nbsp;long</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/servlet/VelocityViewServlet.html#serialVersionUID">serialVersionUID</A></CODE></TD>
+<TD ALIGN="right"><CODE>-3329444102562079189L</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
 <A NAME="org.apache.velocity.tools.view.servlet.VelocityViewServlet.TOOLBOX_KEY"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
 <CODE>protected&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
 <TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/servlet/VelocityViewServlet.html#TOOLBOX_KEY">TOOLBOX_KEY</A></CODE></TD>
@@ -581,19 +629,13 @@
 
 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="3">org.apache.velocity.tools.view.tools.<A HREF="org/apache/velocity/tools/view/tools/LinkTool.html" title="class in org.apache.velocity.tools.view.tools">LinkTool</A></TH>
+<TH ALIGN="left" COLSPAN="3">org.apache.velocity.tools.view.tools.<A HREF="org/apache/velocity/tools/view/tools/AbstractSearchTool.StoredResults.html" title="class in org.apache.velocity.tools.view.tools">AbstractSearchTool.StoredResults</A></TH>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.velocity.tools.view.tools.LinkTool.HTML_QUERY_DELIMITER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/tools/LinkTool.html#HTML_QUERY_DELIMITER">HTML_QUERY_DELIMITER</A></CODE></TD>
-<TD ALIGN="right"><CODE>"&amp;"</CODE></TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.velocity.tools.view.tools.LinkTool.XHTML_QUERY_DELIMITER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
-<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/tools/LinkTool.html#XHTML_QUERY_DELIMITER">XHTML_QUERY_DELIMITER</A></CODE></TD>
-<TD ALIGN="right"><CODE>"&amp;amp;"</CODE></TD>
+<A NAME="org.apache.velocity.tools.view.tools.AbstractSearchTool.StoredResults.serialVersionUID"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>private&nbsp;static&nbsp;final&nbsp;long</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/tools/AbstractSearchTool.StoredResults.html#serialVersionUID">serialVersionUID</A></CODE></TD>
+<TD ALIGN="right"><CODE>4503130168585978169L</CODE></TD>
 </TR>
 </FONT></TD>
 </TR>
@@ -605,13 +647,19 @@
 
 <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TH ALIGN="left" COLSPAN="3">org.apache.velocity.tools.view.tools.<A HREF="org/apache/velocity/tools/view/tools/ViewRenderTool.html" title="class in org.apache.velocity.tools.view.tools">ViewRenderTool</A></TH>
+<TH ALIGN="left" COLSPAN="3">org.apache.velocity.tools.view.tools.<A HREF="org/apache/velocity/tools/view/tools/LinkTool.html" title="class in org.apache.velocity.tools.view.tools">LinkTool</A></TH>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
-<A NAME="org.apache.velocity.tools.view.tools.ViewRenderTool.KEY_PARSE_DEPTH"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<A NAME="org.apache.velocity.tools.view.tools.LinkTool.HTML_QUERY_DELIMITER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
 <CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
-<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/tools/ViewRenderTool.html#KEY_PARSE_DEPTH">KEY_PARSE_DEPTH</A></CODE></TD>
-<TD ALIGN="right"><CODE>"parse.depth"</CODE></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/tools/LinkTool.html#HTML_QUERY_DELIMITER">HTML_QUERY_DELIMITER</A></CODE></TD>
+<TD ALIGN="right"><CODE>"&amp;"</CODE></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<A NAME="org.apache.velocity.tools.view.tools.LinkTool.XHTML_QUERY_DELIMITER"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
+<CODE>public&nbsp;static&nbsp;final&nbsp;java.lang.String</CODE></FONT></TD>
+<TD ALIGN="left"><CODE><A HREF="org/apache/velocity/tools/view/tools/LinkTool.html#XHTML_QUERY_DELIMITER">XHTML_QUERY_DELIMITER</A></CODE></TD>
+<TD ALIGN="right"><CODE>"&amp;amp;"</CODE></TD>
 </TR>
 </FONT></TD>
 </TR>
@@ -673,6 +721,6 @@
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright (c) 2003 Apache Software Foundation
+Copyright (c) 2003-2006 Apache Software Foundation
 </BODY>
 </HTML>

Modified: jakarta/velocity/tools/trunk/docs/javadoc/deprecated-list.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/javadoc/deprecated-list.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/javadoc/deprecated-list.html (original)
+++ jakarta/velocity/tools/trunk/docs/javadoc/deprecated-list.html Tue Nov 21 13:52:11 2006
@@ -2,9 +2,9 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_02) on Thu Oct 20 10:35:35 PDT 2005 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Tue Nov 21 22:45:27 CET 2006 -->
 <TITLE>
-Deprecated List (Velocity Tools 1.2 Documentation)
+Deprecated List (Velocity Tools 1.3-dev Documentation)
 </TITLE>
 
 
@@ -13,7 +13,7 @@
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="Deprecated List (Velocity Tools 1.2 Documentation)";
+    parent.document.title="Deprecated List (Velocity Tools 1.3-dev Documentation)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -80,21 +80,26 @@
 </CENTER>
 <HR SIZE="4" NOSHADE>
 <B>Contents</B><UL>
-<LI><A HREF="#class">Deprecated Classes</A>
+<LI><A HREF="#interface">Deprecated Interfaces</A>
 <LI><A HREF="#method">Deprecated Methods</A>
 <LI><A HREF="#constructor">Deprecated Constructors</A>
 </UL>
 
-<A NAME="class"><!-- --></A>
+<A NAME="interface"><!-- --></A>
 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
-<B>Deprecated Classes</B></FONT></TH>
+<B>Deprecated Interfaces</B></FONT></TH>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/velocity/tools/view/context/ToolboxContext.html" title="class in org.apache.velocity.tools.view.context">org.apache.velocity.tools.view.context.ToolboxContext</A>
+<TD><A HREF="org/apache/velocity/tools/view/tools/Configurable.html" title="interface in org.apache.velocity.tools.view.tools">org.apache.velocity.tools.view.tools.Configurable</A>
 <BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>This class will be removed after VelocityTools 1.2.</I>&nbsp;</TD>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Your tools now only need to have a configure(Map) method.</I>&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="org/apache/velocity/tools/view/tools/ViewTool.html" title="interface in org.apache.velocity.tools.view.tools">org.apache.velocity.tools.view.tools.ViewTool</A>
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Your tools now only need to have an init(Object) method.</I>&nbsp;</TD>
 </TR>
 </TABLE>
 &nbsp;
@@ -111,25 +116,10 @@
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Use <A HREF="org/apache/velocity/tools/view/tools/AbstractPagerTool.html#getItems()"><CODE>AbstractPagerTool.getItems()</CODE></A>.</I>&nbsp;</TD>
 </TR>
 <TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/velocity/tools/view/XMLToolboxManager.html#getToolboxContext(java.lang.Object)">org.apache.velocity.tools.view.XMLToolboxManager.getToolboxContext(Object)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Use getToolbox(Object) instead.</I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/velocity/tools/view/ToolboxManager.html#getToolboxContext(java.lang.Object)">org.apache.velocity.tools.view.ToolboxManager.getToolboxContext(Object)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Use getToolbox(Object initData)</I>&nbsp;</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
 <TD><A HREF="org/apache/velocity/tools/view/tools/AbstractSearchTool.html#hasResults()">org.apache.velocity.tools.view.tools.AbstractSearchTool.hasResults()</A>
 <BR>
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Use <A HREF="org/apache/velocity/tools/view/tools/AbstractPagerTool.html#hasItems()"><CODE>AbstractPagerTool.hasItems()</CODE></A></I>&nbsp;</TD>
 </TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><A HREF="org/apache/velocity/tools/view/context/ChainedContext.html#setToolbox(org.apache.velocity.tools.view.context.ToolboxContext)">org.apache.velocity.tools.view.context.ChainedContext.setToolbox(ToolboxContext)</A>
-<BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>Use setToolbox(Map) instead.</I>&nbsp;</TD>
-</TR>
 </TABLE>
 &nbsp;
 <P>
@@ -142,7 +132,12 @@
 <TR BGCOLOR="white" CLASS="TableRowColor">
 <TD><A HREF="org/apache/velocity/tools/view/context/ChainedContext.html#ChainedContext(org.apache.velocity.context.Context, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, javax.servlet.ServletContext)">org.apache.velocity.tools.view.context.ChainedContext(Context, HttpServletRequest, HttpServletResponse, ServletContext)</A>
 <BR>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I></I>&nbsp;&nbsp;</TD>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>This will be removed after VelocityTools 1.3</I>&nbsp;</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><A HREF="org/apache/velocity/tools/struts/MessageTool.TextKey.html#MessageTool.TextKey(org.apache.velocity.tools.struts.MessageTool, java.lang.String)">org.apache.velocity.tools.struts.MessageTool.TextKey(MessageTool, String)</A>
+<BR>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<I>This will be removed after VelocityTools 1.3</I>&nbsp;</TD>
 </TR>
 </TABLE>
 &nbsp;
@@ -200,6 +195,6 @@
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright (c) 2003 Apache Software Foundation
+Copyright (c) 2003-2006 Apache Software Foundation
 </BODY>
 </HTML>

Modified: jakarta/velocity/tools/trunk/docs/javadoc/help-doc.html
URL: http://svn.apache.org/viewvc/jakarta/velocity/tools/trunk/docs/javadoc/help-doc.html?view=diff&rev=477914&r1=477913&r2=477914
==============================================================================
--- jakarta/velocity/tools/trunk/docs/javadoc/help-doc.html (original)
+++ jakarta/velocity/tools/trunk/docs/javadoc/help-doc.html Tue Nov 21 13:52:11 2006
@@ -2,9 +2,9 @@
 <!--NewPage-->
 <HTML>
 <HEAD>
-<!-- Generated by javadoc (build 1.5.0_02) on Thu Oct 20 10:35:35 PDT 2005 -->
+<!-- Generated by javadoc (build 1.5.0_09) on Tue Nov 21 22:45:27 CET 2006 -->
 <TITLE>
-API Help (Velocity Tools 1.2 Documentation)
+API Help (Velocity Tools 1.3-dev Documentation)
 </TITLE>
 
 
@@ -13,7 +13,7 @@
 <SCRIPT type="text/javascript">
 function windowTitle()
 {
-    parent.document.title="API Help (Velocity Tools 1.2 Documentation)";
+    parent.document.title="API Help (Velocity Tools 1.3-dev Documentation)";
 }
 </SCRIPT>
 <NOSCRIPT>
@@ -208,6 +208,6 @@
 <!-- ======== END OF BOTTOM NAVBAR ======= -->
 
 <HR>
-Copyright (c) 2003 Apache Software Foundation
+Copyright (c) 2003-2006 Apache Software Foundation
 </BODY>
 </HTML>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org