Jürgen Ragaller schrieb:

Am Sep 24, 2006 um 18:47 schrieb Jörn Nettingsmeier:

or rather, to all documents of a particular doctype.

To make a new metadata set available, you can patch cocoon.xconf by adding something like the following to <pub>/config/cocoon-xconf

<?xml version="1.0"?>
<xconf xpath="/cocoon/meta-data"
    remove="/cocoon/meta-data/component-instance
      [EMAIL PROTECTED] = 'http://whatever.org/meta']">
  <component-instance name="http://whatever.org/meta";
    class="org.apache.lenya.cms.metadata.ConfigurableElementSet">
    <element editable="true" name="yourelement" multiple="false"/>
  </component-instance>
</xconf>

Like this the new metadata element «yourelement» appears in the metadata tab.

I know this is answers your question only partially - no idea about doctype specific metadata sets...

That's not supported (yet?).

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to