[
http://issues.apache.org/jira/browse/COCOON-1806?page=comments#action_12371557
]
Bruno Dumon commented on COCOON-1806:
-------------------------------------
@andrew:
save the patch files (javavalidator2.diff and javavalidator-conf.diff) in the
cocoon source tree root and do
patch -p0 < javavalidator2.diff
patch -p0 < javavalidator-conf.diff
Alternatively, instead of this patch, remember that you can also add validators
on the form instance from your Java code:
form.addValidator(new WidgetValidator() { ... });
> [PATCH] Java class custom validator builder
> -------------------------------------------
>
> Key: COCOON-1806
> URL: http://issues.apache.org/jira/browse/COCOON-1806
> Project: Cocoon
> Type: New Feature
> Components: Blocks: Forms
> Versions: 2.1.9-dev (current SVN)
> Reporter: Simone Gianni
> Fix For: 2.2-dev (Current SVN), 2.1.9-dev (current SVN)
> Attachments: javavalidator-conf.diff, javavalidator-trunk.diff,
> javavalidator.diff, javavalidator2.diff
>
> Implemented a custom java validator builder, very similar to the custom java
> listener builder. Also implemented a sample birthday validator and added it
> to form2 sample.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira