source: products/quintagroup.formlib.captcha/trunk/quintagroup/formlib/captcha/tests/tests.zcml @ 2810

Last change on this file since 2810 was 2810, checked in by mylan, 12 years ago

#195: replace example.pt with default plone.app.form's formlib form.

File size: 765 bytes
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:browser="http://namespaces.zope.org/browser">
4
5  <adapter
6     for="*"
7     factory="quintagroup.formlib.captcha.example.CaptchaFormlibFormAdapter" />
8
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
18  <browser:page
19      name="formlib-captcha-form"
20      for="*"
21      class="quintagroup.formlib.captcha.example.CaptchaFormlibForm"
22      permission="zope2.View"
23      />
24   
25</configure>
Note: See TracBrowser for help on using the repository browser.