Last change
on this file since 2071 was
2071,
checked in by mylan, 14 years ago
|
#185: Add default captcha widget factory adapter registration
|
File size:
502 bytes
|
Line | |
---|
1 | <configure |
---|
2 | xmlns="http://namespaces.zope.org/zope" |
---|
3 | i18n_domain="quintagroup.z3cform.captcha"> |
---|
4 | |
---|
5 | <include package="quintagroup.captcha.core" /> |
---|
6 | |
---|
7 | <!--Widget--> |
---|
8 | <adapter |
---|
9 | for=".field.Captcha |
---|
10 | z3c.form.interfaces.IFormLayer" |
---|
11 | factory=".widget.CaptchaWidgetFactory" |
---|
12 | /> |
---|
13 | |
---|
14 | <!--Validators--> |
---|
15 | <adapter |
---|
16 | factory=".validator.CaptchaValidator" |
---|
17 | /> |
---|
18 | |
---|
19 | <!--Custom Error Messages--> |
---|
20 | <adapter |
---|
21 | factory=".error.CaptchaFailureMessage" |
---|
22 | name="message" |
---|
23 | /> |
---|
24 | |
---|
25 | </configure> |
---|
Note: See
TracBrowser
for help on using the repository browser.