Last change
on this file since 2810 was
2810,
checked in by mylan, 14 years ago
|
#195: replace example.pt with default plone.app.form's formlib form.
|
File size:
765 bytes
|
Rev | Line | |
---|
[2801] | 1 | <configure |
---|
| 2 | xmlns="http://namespaces.zope.org/zope" |
---|
| 3 | xmlns:browser="http://namespaces.zope.org/browser"> |
---|
| 4 | |
---|
[2803] | 5 | <adapter |
---|
| 6 | for="*" |
---|
| 7 | factory="quintagroup.formlib.captcha.example.CaptchaFormlibFormAdapter" /> |
---|
[2801] | 8 | |
---|
[2810] | 9 | <!-- register plone.app.form.default_named_template_adapter |
---|
| 10 | for our form to use default plone's formlib form --> |
---|
| 11 | <adapter |
---|
| 12 | for="quintagroup.formlib.captcha.example.CaptchaFormlibForm" |
---|
| 13 | factory="plone.app.form.default_named_template_adapter" |
---|
| 14 | name="default" |
---|
| 15 | provides="zope.formlib.namedtemplate.INamedTemplate" |
---|
| 16 | /> |
---|
| 17 | |
---|
[2801] | 18 | <browser:page |
---|
| 19 | name="formlib-captcha-form" |
---|
| 20 | for="*" |
---|
[2802] | 21 | class="quintagroup.formlib.captcha.example.CaptchaFormlibForm" |
---|
[2801] | 22 | permission="zope2.View" |
---|
| 23 | /> |
---|
| 24 | |
---|
| 25 | </configure> |
---|
Note: See
TracBrowser
for help on using the repository browser.