Re: MessageResources Problem in Action

2004-06-01 Thread Ralf Schneider
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.

RE: MessageResources Problem in Action

2004-06-01 Thread None None
I use the following code: myActionForm.setMessage(getResources(request).getMessage(getLocale(request), "messages.deleteFailed")); I have two property files, ofmResources_en.properties and ofmResources_de.properties. The above code fetches the messages.deleteFailed message from the appropriate