RE: Custom Form Validator

2006-01-05 Thread Ard Schrijvers
You can put fd:validation in you form. For example, start you fd:form with fd:form id=data xmlns:fd=http://apache.org/cocoon/forms/1.0#definition; xmlns:i18n=http://apache.org/cocoon/i18n/2.1; fd:validation fd:javascript return messageValidator(widget);

Re: Custom Form Validator

2006-01-05 Thread Dustin N. Jenkins
Thanks to the responses, that's what I needed! Dustin N. Jenkins wrote: Does anyone have experience writing Custom Form Validators? We need a way of accessing our Spring Service Layer from one of our Cocoon Custom Validators, but the Validator doesn't seem to have access to the HTTP

Re: Custom Form Validator

2006-01-04 Thread Sylvain Wallez
Dustin N. Jenkins wrote: Does anyone have experience writing Custom Form Validators? We need a way of accessing our Spring Service Layer from one of our Cocoon Custom Validators, but the Validator doesn't seem to have access to the HTTP Request or Session or anything else that's exterior to