Re: Accessing ResourceBundle items from Action class

2004-05-13 Thread None None
that's a bad assumption? Does anyone know? Thanks! From: "Ivan" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Accessing ResourceBundle items

Re: Accessing ResourceBundle items from Action class

2004-05-13 Thread Ivan
getMessage(locale,"etiqueta.enregistramentPersonal.intern"); is it correct? - Original Message - From: "None None" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 12, 2004 10:11 PM Subject: Re: Accessing ResourceBundle items from Action class

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread None None
cool in my book. From: Riyad Kalla <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: Accessing ResourceBundle items from Action class Date: Wed, 12 May 2004 13:05:50 -07

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread Riyad Kalla
On Wednesday 12 May 2004 01:04 pm, None None wrote: > Thank you for that answer Riyad. I think I actually found another > (better?) way in my stumbling about trying to solve it on my own... No you didn't, mine is the BEST :*D > > All I did is in my Action, after all my real processing, is this:

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread None None
("messages.deleteFailed")); where lpcaf is the ActionForm from the form submission. That seems to do precisely what I want. From: Riyad Kalla <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]

Re: Accessing ResourceBundle items from Action class

2004-05-12 Thread Riyad Kalla
I swear I answered this question yesterday yes I did, but it was from someone else: -- You could subclass the ActionServlet with your own instance that in its init method reads the properties file... I think this should do the trick, please fix the path when necessary: Prope

Accessing ResourceBundle items from Action class

2004-05-12 Thread None None
Hello all. I have in my app a resouce bundle, and I can use it in my JSP's no problem... my question though is how can I access those items from an Action? Specifically, I have some error messages that I want to return to the view. At present they are hardcoded in my Action classes and they a