Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts validator with multiples message resources

 
Mauro Rollo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess it's possible on latest version of Struts
 
Mauro Rollo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 225
IBM DB2 Eclipse IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic