RE: Accessing MessageResources

2003-09-01 Thread Lars Bergström
Mailing List Cc: Subject: Re: Accessing MessageResources Lars, Struts loads the property files you declared in struts-config into a class called PropertyMessageResources, then binds that object to the ServletContext; that&#

RE: Accessing MessageResources

2003-08-28 Thread Paananen, Tero
I would think the easiest way to get the messages from MessageResources would be to extend PropertyMessageResources and implement a simple method: public Map getMessages() { return this.messages; } That'd return the internal HashMap PropertyMessageResources uses to

Re: Accessing MessageResources

2003-08-28 Thread Sasha Borodin
Lars, Struts loads the property files you declared in struts-config into a class called PropertyMessageResources, then binds that object to the ServletContext; that's where tags get their data from. The functionality you're looking for (retrieving a collection of keys) is not part of the Propert

Accessing MessageResources

2003-08-28 Thread Lars Bergström
Hi, I would like to retrieve all message resource keys held by Struts read from my application.properties file. Not only for one proprety. What I am looking for is something like the method propertyNames in java.util.Properties. BR Lasse

Re: Accessing MessageResources From Runtime Expression

2002-08-12 Thread Patrick Refondini
akarta.apache.org&searchText=bean_message+is+problematic > > chris > > >>-Original Message- >>From: Patrick Refondini [mailto:[EMAIL PROTECTED]] >>Sent: Sunday, August 11, 2002 6:55 AM >>To: Struts Mailing List >>Subject: Accessing MessageResources From Runtime

RE: Accessing MessageResources From Runtime Expression

2002-08-12 Thread Bartley, Chris P
ni [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 11, 2002 6:55 AM > To: Struts Mailing List > Subject: Accessing MessageResources From Runtime Expression > > > > I try to refer to image paths stored in MessageResources from > a Runtime > Expression in order to dy

Accessing MessageResources From Runtime Expression

2002-08-11 Thread Patrick Refondini
I try to refer to image paths stored in MessageResources from a Runtime Expression in order to dynamically define Javascripts. I look for a mix of bean:message and bean:define tags that would let me do: In order to accomplish: ' onmouseout ='<%="this.src=\'" + closeActionB