Re: getText in error messages: resource bundle or bean value?

2012-10-19 Thread J. Garcia
nal Message- > From: J. Garcia [mailto:jogaco...@gmail.com] > Sent: Friday, October 19, 2012 8:10 AM > To: Struts Users Mailing List > Subject: getText in error messages: resource bundle or bean value? &

RE: getText in error messages: resource bundle or bean value?

2012-10-19 Thread Hoying, Ken
s Mailing List Subject: getText in error messages: resource bundle or bean value? Hi, I'm having a problem with getText(). I have the following xml validator: (user.confirmPassword.equals(user.password))

Re: getText in error messages: resource bundle or bean value?

2012-10-19 Thread J. Garcia
Mi mistake. Sorry. The resource error message I was using is in fact: errors.confirmPassSame=The ${user.confirmPassword} field has to have the same value as the ${user.password} field. whereas it should be: errors.confirmPassSame=The ${getText("user.confirmPassword")} field has to have the same

getText in error messages: resource bundle or bean value?

2012-10-19 Thread J. Garcia
Hi, I'm having a problem with getText(). I have the following xml validator: (user.confirmPassword.equals(user.password)) And the error message is defined in a bundle like this: error