struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Schneider <r...@tapfere-schneiderleins.de>
Subject Re: MessageResources Problem in Action
Date Tue, 01 Jun 2004 15:56:45 GMT
Am Dienstag, 1. Juni 2004 15:15 schrieb None None:
> I use the following code:
>
> myActionForm.setMessage(getResources(request).getMessage(getLocale(request)
>, "messages.deleteFailed"));

Great! This works fine! The only thing that I missed was to get the locale 
from the request.

Thanks,
Ralf.

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


Mime
View raw message