You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by nb...@apache.org on 2005/10/15 02:03:08 UTC

svn commit: r321257 - /jakarta/velocity/tools/trunk/examples/struts/WEB-INF/toolbox.xml

Author: nbubna
Date: Fri Oct 14 17:03:06 2005
New Revision: 321257

URL: http://svn.apache.org/viewcvs?rev=321257&view=rev
Log:
explicitly specify tool scopes

Modified:
    jakarta/velocity/tools/trunk/examples/struts/WEB-INF/toolbox.xml

Modified: jakarta/velocity/tools/trunk/examples/struts/WEB-INF/toolbox.xml
URL: http://svn.apache.org/viewcvs/jakarta/velocity/tools/trunk/examples/struts/WEB-INF/toolbox.xml?rev=321257&r1=321256&r2=321257&view=diff
==============================================================================
--- jakarta/velocity/tools/trunk/examples/struts/WEB-INF/toolbox.xml (original)
+++ jakarta/velocity/tools/trunk/examples/struts/WEB-INF/toolbox.xml Fri Oct 14 17:03:06 2005
@@ -14,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 
-  $Id: toolbox.xml,v 1.7 2004/03/13 18:49:28 marino Exp $
+  $Id$
 -->
 <toolbox>
 
@@ -26,6 +26,7 @@
 
   <tool>
      <key>link</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.StrutsLinkTool</class>
   </tool>
 
@@ -34,36 +35,43 @@
         'slink' here to distinguish between the two. -->
   <tool>
      <key>slink</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.SecureLinkTool</class>
   </tool>
 
   <tool>
      <key>text</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.MessageTool</class>
   </tool>
 
   <tool>
      <key>errors</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.ErrorsTool</class>
   </tool>
 
   <tool>
      <key>messages</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.ActionMessagesTool</class>
   </tool>
 
   <tool>
      <key>form</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.FormTool</class>
   </tool>
 
   <tool>
      <key>tiles</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.TilesTool</class>
   </tool>
 
   <tool>
      <key>validator</key>
+     <scope>request</scope>
      <class>org.apache.velocity.tools.struts.ValidatorTool</class>
   </tool>
 



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