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
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
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
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
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
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
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
7 matches
Mail list logo