struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raible, Matt" <Matt_Rai...@cable.comcast.com>
Subject Use messages from ApplicationResource.properties for an e-mail
Date Tue, 25 Mar 2003 21:20:31 GMT
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


Mime
View raw message