[Zope-CMF] Re: [dev] CMF 1.5 roadmap?

Marc Lindahl marc at bowery.com
Wed Feb 25 13:44:13 EST 2004


On Wednesday, February 25, 2004, at 10:05  AM, Sam Brauer wrote:

> Marc Lindahl wrote:
>> On Tuesday, February 24, 2004, at 03:28  PM, Tres Seaver wrote:
>>> yuppie wrote:
>>>
>>>> Tres Seaver wrote:
>>>>
>>>>> Anybody want to bid for other features?  Claim particular bugs?
>>>>
>>>>
>> 1. A more complete DublinCore support.... main thing I notice is lack 
>> of support for enforcing vocabularies...  unless I'm missing 
>> something....
>
> You can enforce vocabularies if:
>
> - you add a call to
> context.portal_metadata.validateMetadata(context)
> after the call to
> context.editMetadata( ... )
> in the skin script metadata_edit
>
> - you patch CMFDefault.MetadataTool.validateMetadata
> as described at http://zope.org/Collectors/CMF/217
>
> Although not necessary to make validation work, it is also possible to
> customize metadate_edit_form such that the subject textarea is not 
> displayed if vocabulary is enforced.  You can also do this for Rights 
> and Languages.
>
> It would be nice to see these changes made to CMFDefault, at least the 
> bug fix for #217.
>

Right, that's my point, to make it work out of the box.... if 'enforce 
vocabulary' is checked, the changes you outlined would come into play 
(built into the forms, etc.)




More information about the Zope-CMF mailing list