Errors Viewtool

Last Updated: Jun 17, 2024
documentation for the dotCMS Content Management System
Deprecated

The $errors Viewtool provides methods to work with Struts error messages.

Important:

dotCMS uses the Struts 1 Forever package, which fixes all known security issues with Apache Struts, and which is continually maintained and patched.

Toolbox.xml Configuration

The following example shows how the ErrorsTool viewtool is mapped in the toolbox.xml file:

    <tool>
        <key>errors</key>
        <scope>request</scope>
        <class>org.apache.velocity.tools.struts.ErrorsTool</class>
    </tool>

On this page

×

We Dig Feedback

Selected excerpt:

×