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

Tagged: "widgets"

Get all Categories in a Category Select

Author: Brad Rice | Created: Mar 25, 2012

Use this to pull all selected categories in a widget category select. After you use this code to grab them you can make it part your dotcontent.pull query...

Get Categories from Widget Selection- with And/Or selector

Author: Todd Reed | Created: Aug 26, 2012

This buildCatQuery will pull the categories from an array. Part of the widget also includes a field for And Or to join the categories together.