Re: Has anybody extended the validator framework?

2003-07-23 Thread Derek Chen-Becker
Teaches me to skim the docs. I missed the part in the Validator dev docs where it says it can generate javascript... You might be able to get somewhere by overriding the org.apache.commons.validator.ValidatorResources that's set as an application scope attribute. I just skimmed through it but t

Re: Has anybody extended the validator framework?

2003-07-23 Thread Jens v . P .
Hi, thanks Derek, thanks Chuck. Am Mittwoch, 23.07.03 um 17:24 Uhr schrieb Derek Chen-Becker: [..] I hadn't thought of client-side validation, but that's kind of tricky [..] Or am I misunderstanding what you mean by "client-side"? No, that's what I meant. But: the validator framework already so

RE: Has anybody extended the validator framework?

2003-07-23 Thread Canning, Chuck
what normally would be defined in validation.xml in struts1.1. Chuck -Original Message- From: Jens v.P. [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 9:55 AM To: Struts Users Mailing List Subject: Re: Has anybody extended the validator framework? Hi, Am Mittwoch, 23.07.03 um 16:2

Re: Has anybody extended the validator framework?

2003-07-23 Thread Derek Chen-Becker
That was what I was thinking of. I hadn't thought of client-side validation, but that's kind of tricky unless you want to extend the form tags and Form classes. If you wanted to automate client-side validation you would have to extend the ActionForm class so that you can provide information abo

Re: Has anybody extended the validator framework?

2003-07-23 Thread Jens v . P .
Hi, Am Mittwoch, 23.07.03 um 16:24 Uhr schrieb Derek Chen-Becker: Since the questionnaire is the model for the form, couldn't you just encapsulate a real questionnaire business object within an ActionForm? It adds a layer, but since ActionForms are objects and not interfaces I don't see an easi

Re: Has anybody extended the validator framework?

2003-07-23 Thread Derek Chen-Becker
Since the questionnaire is the model for the form, couldn't you just encapsulate a real questionnaire business object within an ActionForm? It adds a layer, but since ActionForms are objects and not interfaces I don't see an easier way than delegation. Derek Jens v.P. wrote: Hello, I'm wonder

Has anybody extended the validator framework?

2003-07-23 Thread Jens v . P .
Hello, I'm wondering if anybody has already extended the validator framework - to use it in the business layer instead of the controller layer - supporting dynamically loaded/created forms Validating user input is no special struts or web application requirement. In my case, all applications are