41 lines
1.2 KiB
XML
41 lines
1.2 KiB
XML
<configure
|
|
xmlns="http://namespaces.zope.org/zope"
|
|
xmlns:zcml="http://namespaces.zope.org/zcml"
|
|
i18n_domain="themisfields">
|
|
|
|
<!-- Configure plone.supermodel support if available -->
|
|
<include zcml:condition="installed plone.supermodel"
|
|
file="handlers.zcml"
|
|
/>
|
|
|
|
<!-- Configure z3c.form widget if z3c.form is installed -->
|
|
<include zcml:condition="installed z3c.form"
|
|
file="widgets.zcml"
|
|
/>
|
|
|
|
<!-- Configure plone.schemaeditor field factory if installed -->
|
|
<include zcml:condition="installed plone.schemaeditor"
|
|
file="editors.zcml"
|
|
/>
|
|
|
|
<!--
|
|
<utility component=".vocabs.CommissionsVocabularyFactory"
|
|
name="themisfields.vocabulary.Commissions"/>
|
|
-->
|
|
|
|
<adapter
|
|
for=".vocabs.CommissionsSource
|
|
zope.publisher.interfaces.browser.IBrowserRequest"
|
|
factory=".vocabs.CommissionsSourceQueryView"
|
|
provides="zope.browser.interfaces.ITerms"
|
|
/>
|
|
|
|
<adapter
|
|
for=".vocabs.CommissionsSource
|
|
zope.publisher.interfaces.browser.IBrowserRequest"
|
|
factory=".vocabs.CommissionsSourceQueryView"
|
|
provides="zope.app.form.browser.interfaces.ISourceQueryView"
|
|
/>
|
|
|
|
</configure>
|