ChannelSelectCCE widget is to pick a channel. ContentSelectCCE is to pick a content item. Like that is there any widget to pick a category? If not existing, do you have any idea how to implement/create this? thanks Srini
Option1:
The easiest way is to use the SQL class that comes with CCE widget examples, then configure a DataSelectCCE Widget to use that Reference class, then configure the misc tab on the CCE widget to select from Categories table.
OR
Option 2:
Add an attribute to your type that reads the categories table.
In either case, the person who creates the content can select a category from the input form.
You'll want to improve the rendering however (perhaps to allow multi-select or even to present the category tree using the same code that is used in the category tab on the CI property pages.
Option 3:
An even better solution is to extend the Cif JSP and include some nice Taxonomy API-based code to present the Category tree in the Content Input form (instead of the somewhat difficult to get to Categories tab. This makes the most sense, yes?
Evan
Thanks Evan for your detailed reply.
thanks
Srini