Hi,

looking at the code of the validator plugin (I needed an example to write a plugin), I 
saw that the plugin stores the validation resources into the servletContext, using the 
key 'org.apache.commons.validator.VALIDATOR_RESOURCES'

the problem is that the validator configuration is specific to one module.
so you have to add a plugin in the struts-config.xml of every module.
but everytime the ValidatorPlugin.init() is called, it replaces the previous object in 
the context, because it uses the same key ...

so I guess the key should be module dependant ?
or is there a module-context where module-relative objects can be stored ?

______________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros
d'économies ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant


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

Reply via email to