RE: Using a key as var-value in validator

2004-12-06 Thread Kinjal Sonpal
> -Original Message- > From: Niall Pemberton [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 04, 2004 2:30 AM > To: Struts Users Mailing List > Subject: Re: Using a key as var-value in validator > Validator. I've create a bugzilla ticket for this so it

Re: Using a key as var-value in validator

2004-12-03 Thread Niall Pemberton
test them :-) Niall - Original Message - From: "David G. Friedman" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, December 03, 2004 10:37 PM Subject: RE: Using a key as var-value in validator > > If its something yo

RE: Using a key as var-value in validator

2004-12-03 Thread David G. Friedman
l Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 4:00 PM To: Struts Users Mailing List Subject: Re: Using a key as var-value in validator Would be a good idea IMO to add key/bundle to the element in Commons Validator. I've create a bugzilla ti

Re: Using a key as var-value in validator

2004-12-03 Thread Niall Pemberton
-) Niall - Original Message - From: "Ram Venkataswamy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, December 03, 2004 6:09 PM Subject: RE: Using a key as var-value in validator Well, I think for now using Global Constant is th

RE: Using a key as var-value in validator

2004-12-03 Thread Ram Venkataswamy
Well, I think for now using Global Constant is the only option. Unless somebody else have a answer for this. -Original Message- From: Kinjal Sonpal [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 10:20 PM To: Struts Users Mailing List Subject: RE: Using a key as var

RE: Using a key as var-value in validator

2004-12-01 Thread Kinjal Sonpal
Ram, Thanks for replying back. > If you have defined resource bundle in struts config & are able to > access key from jsp then no additional step/configuration > is required to > access them in validation file. The arg/msg lookup resource bundle > defined for the application and then pick up valu

RE: Using a key as var-value in validator

2004-12-01 Thread Ram Venkataswamy
ignored). -Original Message- From: Kinjal Sonpal [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 01, 2004 3:07 AM To: Struts User List Subject: Using a key as var-value in validator Dear all, I'm using Struts 1.2.4 with Validator 1.1.3 for my application. I need to access the Da

Using a key as var-value in validator

2004-12-01 Thread Kinjal Sonpal
Dear all, I'm using Struts 1.2.4 with Validator 1.1.3 for my application. I need to access the Date Format stirng across the application at many places. Instead of hard-coding format string everywhere I would like to use a key from the Resource Bundle for the purpose. I can access the key from al