What if you were using ValidatorActionForm/DynaValidatorActionForm instead of ValidatorForm/DynaValidatorForm? Then the server side validation rules are looked up based on the path, not the name. With the form classes, this can be encapsulated cleanly in a way that is invisible in the struts-config, (and even more so thanks to Niall's recent patch) But that's invisible to the html:javascript tag.
By the way, the names for those classes have to be one of the most confusing things about Struts; I only just really grokked the difference in the last couple of months, and most of the developers I work with are still kind of fuzzy about it.
I totally agree that the class names for ValidatorActionForm and ValidatorForm don't help. And the actual concept is something I am always forgetting.
Something like PathDefValidatorForm and FormDefValidatorForm. Perhaps something less cludgey.
Adam
-- struts 1.2 + tomcat 5.0.19 + java 1.4.2 Linux 2.4.20 Debian
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]