DOC

toolbox.xml

By Alfred Patterson,2014-10-09 10:25
16 views 0
toolbox.xml

默认工具箱工具在toolbox.xml中的配置

    <?xml version="1.0"?>

    <toolbox>

    <tool>

    <key>math</key>

    <scope>application</scope>

    <class>org.apache.velocity.tools.generic.MathTool</class> </tool>

    <tool>

    <key>date</key>

    <scope>application</scope>

    <class>org.apache.velocity.tools.generic.DateTool</class> </tool>

    <tool>

    <key>link</key>

    <scope>request</scope>

    <class>org.apache.velocity.tools.struts.StrutsLinkTool</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>

    <tool>

    <key>teracStringUtil</key> <scope>request</scope>

    <class>com.terac.util.StringUtil</class> </tool>

    </toolbox>

Report this document

For any questions or suggestions please email
cust-service@docsford.com