Re: [appfuse-user] How to access messages from a non-form controller

2008-06-03 Thread syg6
Matt Raible, you are a gentleman and a scholar. I had seen a previous post where you said the exact same thing but thought it would be a hassle. Turns out it's not. The 'messageSource' bean already exists in dispatcher-servlet.xml. it's just a matter of sticking it in my Controller definition. Th

Re: [appfuse-user] How to access messages from a non-form controller

2008-06-03 Thread Matt Raible
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

[appfuse-user] How to access messages from a non-form controller

2008-06-03 Thread syg6
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