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

Tagged: "velocity tools"

Comparing Dates in Velocity

Author: Dotcms |

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 |

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...