You could inject the messageSource bean into your controller.

Matt

On Tue, Jun 3, 2008 at 4:35 AM, syg6 <[EMAIL PROTECTED]> wrote:
>
> Spring's SimpleForm controller and AppFuse's BaseFormController both have a
> saveMessage() method which grabs a property from your Properties file using
> Locale and sticks it in the Sssion under the MESSAGES_KEY attribute.
>
> How in the world can I do this with a normal Controller? I've tried delving
> into the code and trying to access the MessageSourceAccessor but none of
> this stuff seems available from a simple Controller.
>
> Anyone ever done this?
>
> Thanks,
> Bob
> --
> View this message in context: 
> http://www.nabble.com/How-to-access-messages-from-a-non-form-controller-tp17620570s2369p17620570.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to