[ http://issues.apache.org/jira/browse/COCOON-1806?page=comments#action_12371529 ]
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 these. 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... Thanks! > [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 > 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: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
