Extending OpenCms: Developing a Custom WidgetJan 16, 2009, 06:32 (0 Talkback[s])
(Other stories by Dan Liliedahl)
[ Thanks to Sanjiv Lavangare for this link. ]
"Referring to the highlighted code in BlogEntry content type schema file we can see that the category field is populated from a drop-down list provided by SelectorWidget. The SelectorWidget obtains its values from the static configuration string defined within the blog schema file. This design is problematic as we would like category values to be easily changed or added. Ideally, the list of category values should be able to be updated by site content editors. Fortunately, we can create our own custom widget to handle this requirement.
0 Talkback[s] (click to add your comment)