Last change
on this file since 2798 was
2798,
checked in by mylan, 14 years ago
|
#195: Fixed zcml configuration conflict in plone4
|
File size:
621 bytes
|
Rev | Line | |
---|
[1959] | 1 | <configure |
---|
| 2 | xmlns="http://namespaces.zope.org/zope" |
---|
[2798] | 3 | xmlns:zcml="http://namespaces.zope.org/zcml" |
---|
[1959] | 4 | i18n_domain="quintagroup.formlib.captcha"> |
---|
| 5 | |
---|
[2210] | 6 | <include package="quintagroup.captcha.core" /> |
---|
[2798] | 7 | <include zcml:condition="installed five.formlib" |
---|
| 8 | package="five.formlib" /> |
---|
| 9 | <include zcml:condition="not-installed five.formlib" |
---|
| 10 | package="zope.formlib" /> |
---|
[1959] | 11 | |
---|
[2210] | 12 | <view |
---|
| 13 | type="zope.publisher.interfaces.browser.IBrowserRequest" |
---|
| 14 | for=".interfaces.ICaptcha" |
---|
| 15 | provides="zope.app.form.interfaces.IInputWidget" |
---|
| 16 | factory=".widget.CaptchaWidget" |
---|
| 17 | permission="zope.Public" |
---|
| 18 | /> |
---|
[1959] | 19 | |
---|
| 20 | </configure> |
---|
Note: See
TracBrowser
for help on using the repository browser.