cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Gianni (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COCOON-1806) [PATCH] Java class custom validator builder
Date Fri, 24 Mar 2006 04:52:25 GMT
    [ http://issues.apache.org/jira/browse/COCOON-1806?page=comments#action_12371668 ] 

Simone Gianni commented on COCOON-1806:
---------------------------------------

Andew, i'm a linux user so have no idea how it goes under windows. You can also apply the
patch from eclipse, in the team synchronization perspective, or right click on the cocoon
2.1.8 source, then click team, then apply patch. Not sure, but i think this is a pure java
patch system, so should work correctly even under windows.

Since this patch has been committed, another option could be to check out only files modified
by this patch from the cocoon 2.1.X branch using your favorite SVN client. 

Modified files are :
src/blocks/forms/java/org/apache/cocoon/forms/validation/impl/JavaClassValidatorBuilder.java
src/blocks/forms/conf/forms-validators.xconf

And if you also want the samples :
src/blocks/forms/java/org/apache/cocoon/forms/samples/CustomBirthDateValidator.java
src/blocks/forms/samples/forms/form2_model.xml




> [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


Mime
View raw message