Felix Meschberger wrote:
> Hi,
> 
> Am Donnerstag, den 06.12.2007, 10:16 +0100 schrieb Carsten Ziegeler:
>> But then, I think it might get a little bit tricky. First, I don't see a
>> need for a Validator interface - there is currently no place to hook it in.
> 
> What do you mean ? The ValidatorService just is there to be called by
> servlets and scripts. The ValidatorService in turn listens for Validator
> service being registered and grabs them plus looks for validator scripts
> on demand.
> 
Ah, ok, hmm, so assume I call the ValidatorService from within my
script, how do I tell the service what and how to validate?
Or are the Validator services somehow registered to be validators for my
script? In this case I could call them directly from within my script.

> 
> First we already have the ErrorHandlerServlet mechanism in place.
> Second, any script or servlet may include a response suitable to render
> the validation errors. It think, there are enough mechanisms in place,
> they just must be used. 

Ah, yes, you're right - I forgot about the error handler servlet. So,
yes, this should be sufficient here.

Carsten

-- 
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to