Codeshare List of user-contributed code snippets for dotCMS Java CMS.

Tagged: "velocity tools"

Comparing Dates in Velocity

Author: Dotcms | Created: May 02, 2012

This code sample will help you learn different ways to obtain todays date and format it. It also shows how you can compare two dates, or one content date...

Creating, accessing and deleting Cookies using Velocity CookieTool

Author: Dotcms | Created: May 10, 2012

Velocity provides a viewtool to create, access and delete cookies. The tool is called: CookieTool and can be used on a widget by calling: org.apache.velocity...