[opencms-dev] Mapping text of categories folder to Title of XMLContent document

Paul-Inge Flakstad flakstad at npolar.no
Wed May 23 12:44:56 CEST 2012


Hi Alexei,

I *think* you'll have to create such a mapping by using a custom content handler.

Couldn't find anything on this on the Wiki, so I added a new page: http://www.opencms-wiki.org/wiki/Custom_XML_Content_Mapping

HTH :)

Cheers,
Paul

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Alexei Shigaeff
Sent: 22. mai 2012 13:13
To: The OpenCms mailing list
Subject: [opencms-dev] Mapping text of categories folder to Title of XMLContent document

I have XSD schema with categorie field
            <xsd:element name="Cabinet" type="OpenCmsString" />
        <mapping element="Cabinet" mapto="property:Title" />
        <layout element="Cabinet" widget="CategoryWidget" configuration="category=/cabinets" />

It doesn't work how i want.
How can I map categories folder text  to Title of XMLContent document ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120523/b9278f8f/attachment.htm>


More information about the opencms-dev mailing list