cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Dumon (JIRA)" <>
Subject [jira] Commented: (COCOON-1806) [PATCH] Java class custom validator builder
Date Thu, 23 Mar 2006 08:47:13 GMT
    [ ] 

Bruno Dumon commented on COCOON-1806:

Hi Simone,

If you would let the ValidatorBuilder implement LogEnabled and Contextualizable, you could
pass the logger and context to setupComponent, so that the validator object has access to

If one has access to the Context object, it is possible to get the request and objectModel
from there (using ContextHelper).

Finally, if you could also add a conf patch for SVN trunk (I know, it's trivial), then your
patch is ready to apply...


> [PATCH] Java class custom validator builder
> -------------------------------------------
>          Key: COCOON-1806
>          URL:
>      Project: Cocoon
>         Type: New Feature
>   Components: Blocks: Forms
>     Versions: 2.1.9-dev (current SVN)
>     Reporter: Simone Gianni
>  Attachments: javavalidator-conf.diff, javavalidator.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:
For more information on JIRA, see:

View raw message