struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: Use messages from ApplicationResource.properties for an e-mail
Date Tue, 25 Mar 2003 22:10:52 GMT
Why don't you want to load it as a ResourceBundle?

David


>From: "Raible, Matt" <Matt_Raible@cable.comcast.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "'struts-user@jakarta.apache.org'" <struts-user@jakarta.apache.org>
>Subject: Use messages from ApplicationResource.properties for an e-mail
>Date: Tue, 25 Mar 2003 14:20:31 -0700
>
>I have a requirement to send a notification e-mail when an item in my app 
>is
>deleted.  I was hoping to use a string (post-substitution) from
>ApplicationResource.properties to do this, but alas, it does not work like 
>I
>hoped.  Is this possible without loading it as a ResourceBundle and calling
>getString()?
>
>// deletedBy and appURL are set previously as String variables
>
>new ActionMessage("cr.deleted.msg", deletedBy, appURL).toString()
>
>results in...
>
>org.apache.struts.action.ActionMessage@13a4226
>
>Thanks,
>
>Matt
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message