[Opensource] Question on MessageBundles and Struts
validation
Michael Rimov
rimovm at centercomp.com
Tue Nov 11 13:52:54 PST 2003
At 08:55 PM 11/10/2003, you wrote:
>1. Does expresso support additional message bundles?
>
>Have added to application specific struts-config.xml e.g.
> <message-resources null="false" parameter="com.cal.cp.MessagesBundle"
> key="alternate"/>
>
>How would I access this bundle through expresso? Or do I have to go
>through struts.
Eddie,
I believe you want to use the Struts tags on that one.
>2. Does expresso support apache commons validator found in struts 1.1,
>i.e. the ValidatorForm or DynaValidatorForm with declarative validation.
>Haven't been able to find any samples of this.
Good question! :) Expresso has no problem working with Struts form beans,
so I've seen no reason why Validator can't work with Expresso as well. I
haven't tried it, but AFAICT there's no obstructions to making it
work. The only difference would be error handling, but I believe that
could be picked up in the controller's state.
I just haven't been able to get to giving it a spin myself.
-Mike
More information about the Opensource
mailing list