aspose file tools*
The moose likes Struts and the fly likes Struts validator with multiples message resources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts validator with multiples message resources" Watch "Struts validator with multiples message resources" New topic
Author

Struts validator with multiples message resources

Mauro Rollo
Greenhorn

Joined: Apr 06, 2005
Posts: 2
Hi, I've got a problem with the struts validator in a struts application with multiple module.
I've defined in the struts-config of each module a particular message resources like that :
<message-resources key="label" parameter="resources.fe.application" />

Now I want that the validator retrieves the value for the parameter arg0, arg1 from a the message-resources defined with the key parameter and not from the default message-resources.
It's possible?

Thanks a lot and sorry for my english.

Mauro
Sarath Mohan
Ranch Hand

Joined: Mar 17, 2001
Posts: 213
I guess it's possible on latest version of Struts


Sarath Mohan
Mauro Rollo
Greenhorn

Joined: Apr 06, 2005
Posts: 2
Well, I use the version 1.1 .
If it's possible only with the version 1.2 it's not possible for me.
thanks a lot.


Mauro
Ganesh Gowtham
Ranch Hand

Joined: Mar 30, 2005
Posts: 225

Hi ...
though u have multiple module hows it possible to define so many struts-config.xml files as u said ...
though we use validator framework how can it be possible....
let meknow....(if mmy idea differ from urs ...let me know which is correct)
grgowtham_cse@yahoo.com Gowtham G R
gowtham@capricornsys-global.com


Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Struts validator with multiples message resources