Hi Tobias,

That works a treat, thanks.

I thought that since Blossom doesn't use RequestMappingHandlerAdapter yet
then it wasn't possible to use the flash map functionality.  I see now that
DispatcherServlet contains the important code that grabs the input flash
attributes from the session and puts them on the request.

I've started by using the simple explicit setting and getting in the
controller, with a slight change in that I just add all the flash map
attributes to the spring model in the controller and then output the
message in my view if the model attribute exists i.e. in the controller:

[code]m.addAllAttributes(RequestContextUtils.getInputFlashMap(request));[/code]

Thanks again,

Peter.



On 28 February 2014 13:16, Tobias Mattsson (via Magnolia Forums) <
[email protected]> wrote:

> That should have been Spring [b]3.0.x[/b] style MVC.
>
> --
> Context is everything:
> http://forum.magnolia-cms.com/forum/thread.html?threadId=a4a17380-52b0-4ec0-9754-b01aee949c66
>
>
> ----------------------------------------------------------------
> For list details, see
> http://www.magnolia-cms.com/community/mailing-lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>


-- 
Peter Phillips

Technophobia
Velocity House, 3 Solly Street, Sheffield, S1 4DE

t: +44 (0)114 2212123
e: [email protected]
w: http://www.technophobia.com
http://twitter.com/WeTechnophobia

Part of Capita plc: www.capita.co.uk
Registered office: 71 Victoria Street, Westminster, London SW1H 0XA

Registered in England and Wales Company No. 2299747
VAT registration No. 618 1841 40


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to