/[Apache-SVN]/velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/tools.xml
ViewVC logotype

Contents of /velocity/tools/trunk/src/main/java/org/apache/velocity/tools/view/tools.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 730292 - (show annotations)
Wed Dec 31 01:31:09 2008 UTC (10 months, 3 weeks ago) by nbubna
File MIME type: text/xml
File size: 1813 byte(s)
turn MultiViewsTool into a somewhat more useful IncludeTool that can check for resource existance, not just help with i18n templates
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2
3 <!--
4 Licensed to the Apache Software Foundation (ASF) under one
5 or more contributor license agreements. See the NOTICE file
6 distributed with this work for additional information
7 regarding copyright ownership. The ASF licenses this file
8 to you under the Apache License, Version 2.0 (the
9 "License"); you may not use this file except in compliance
10 with the License. You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing,
15 software distributed under the License is distributed on an
16 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 KIND, either express or implied. See the License for the
18 specific language governing permissions and limitations
19 under the License.
20 -->
21
22 <tools>
23 <data type="boolean" key="VIEW_TOOLS_AVAILABLE" value="true"/>
24 <toolbox scope="request">
25 <tool class="org.apache.velocity.tools.view.CookieTool"/>
26 <tool class="org.apache.velocity.tools.view.ImportTool"/>
27 <tool class="org.apache.velocity.tools.view.IncludeTool"/>
28 <tool class="org.apache.velocity.tools.view.LinkTool"/>
29 <tool class="org.apache.velocity.tools.view.PagerTool"/>
30 <tool class="org.apache.velocity.tools.view.ParameterTool"/>
31 <tool class="org.apache.velocity.tools.view.ViewContextTool"/>
32 <!--
33 This is not directly useable.
34 <tool class="org.apache.velocity.tools.view.AbstractSearchTool"/>
35 -->
36 <!-- move this to request scope -->
37 <tool class="org.apache.velocity.tools.generic.ResourceTool"/>
38 </toolbox>
39 <toolbox scope="session" createSession="false">
40 <tool class="org.apache.velocity.tools.view.BrowserTool"/>
41 </toolbox>
42 </tools>

Properties

Name Value
svn:eol-style native

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2