[opencms-dev] Custom Macro resolver for XSD

Stephan Schrader zstephanz at gmail.com
Mon Jun 20 09:59:54 CEST 2016


you can configure your own: org.opencms.xml.content.I_CmsXmlContentHandler

add a handler element to the XSD:

<xsd:annotation>
        <xsd:appinfo>
            <handler
class="your.content.handler.extends.CmsDefaultXmlContentHandler" />
            [...]
        </xsd:appinfo>
    </xsd:annotation>

and override `resolveMapping` to do a custom macro relacement

Stephan

2016-06-16 13:57 GMT+02:00 kiran g <kiran.blgt at gmail.com>:

> Hi,
>
> Is it possible to define a custom macro resolver that can extend the
> default
> CmsGalleryNameMacroResolver? If so, how is that configured in the XSD?
>
>
>
>
>
> -----
> Cheers,
> Kiran
> --
> View this message in context:
> http://opencms.996256.n3.nabble.com/Custom-Macro-resolver-for-XSD-tp26307.html
> Sent from the OpenCMS mailing list archive at Nabble.com.
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160620/c3387c3d/attachment.htm>


More information about the opencms-dev mailing list