Contents Viewtooldocumentation for the dotCMS Content Management System

The Contents Velocity Viewtool provides methods for returning content, content properties, and content-related data.

The following example shows how the ContentsWebAPI Viewtool is mapped in the toolbox-xml file:

    <tool>
        <key>contents</key>
        <scope>request</scope>
        <class>com.dotcms.rendering.velocity.viewtools.ContentsWebAPI</class>
    </tool>

Javadoc link: ContentsWebAPI