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

Tagged: "widgets"

Get all Categories in a Category Select

Author: Brad Rice |

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 |

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.