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 that looks like where the validator gets its info from.

Derek

Jens v.P. wrote:
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 solves this tricky problem :). It seems that the only problem I have is that the validator framework requires static xml files for configuration - and I need dynamically configured validation. Just as Chuck Canning wrote:

"To summarize, I suggest that you dynamically build what normally
would be defined in validation.xml in struts1.1."

I need a way to replace validation.xml by dynamic Java calls. I guess that this is not too tricky and I was only wondering if somebody has already done this.

Jens


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--
----------------------------------------------------------------------
Derek Chen-Becker
Senior Network Engineer
CPI Corp, Inc.
1706 Washington Ave
St. Louis, MO 63103
Phone: 314-231-1575 x6014
Fax:   314-613-6724
[EMAIL PROTECTED]
PGP Key available from public key servers
Fingerprint: 1C34 D81E D8A0 641D 6C8C  E952 3B15 693F 9184 BC58
----------------------------------------------------------------------


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to