RE: How do I Internationalize ActionError parameter values?

2001-06-04 Thread Kyle Robinson
Yes, sorry. I wasn't aware the request is passed into the validate. Thanks Hal -Original Message- From: Deadman, Hal [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 15:09 To: [EMAIL PROTECTED] Subject: RE: How do I Internationalize ActionError parameter values? The reque

RE: How do I Internationalize ActionError parameter values?

2001-06-04 Thread Deadman, Hal
;[EMAIL PROTECTED]' > Subject: RE: How do I Internationalize ActionError parameter values? > > > So are you suggesting that I pass the request object to my ActionForm > constructor when I create it in my action? > > -Original Message- > From: Deadman, Hal [mailto:[E

RE: How do I Internationalize ActionError parameter values?

2001-06-04 Thread Kyle Robinson
> -Original Message- > From: Kyle Robinson [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 04, 2001 4:53 PM > To: '[EMAIL PROTECTED]' > Subject: RE: How do I Internationalize ActionError parameter values? > > > Thanks Hal. However, I need to get the locale

RE: How do I Internationalize ActionError parameter values?

2001-06-04 Thread Deadman, Hal
nal Message- > From: Kyle Robinson [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 04, 2001 4:53 PM > To: '[EMAIL PROTECTED]' > Subject: RE: How do I Internationalize ActionError parameter values? > > > Thanks Hal. However, I need to get the locale in the > valida

RE: How do I Internationalize ActionError parameter values?

2001-06-04 Thread Kyle Robinson
Thanks Hal. However, I need to get the locale in the validate() method of my ActionForm object. Any thoughts? -Original Message- From: Deadman, Hal [mailto:[EMAIL PROTECTED]] Sent: Monday, June 04, 2001 13:24 To: [EMAIL PROTECTED] Subject: RE: How do I Internationalize ActionError

RE: How do I Internationalize ActionError parameter values?

2001-06-04 Thread Deadman, Hal
Getting the locale object is easy. If you are in an Action perform method, just call: getLocale(request); If you are not in the Action class, you can do what that method does, Locale locale = (Locale) session.getAttribute(Action.LOCALE_KEY); if (locale == null) locale = Locale.getDefault()