On Mon, 2007-04-23 at 22:44 -0400, John W. Long wrote: > Sean Cribbs wrote: > > Tags exist in the Page model (or a subclass) when processing, so they > > really only have access to the model layer. *However*, the Page model > > has available to it the request and response objects. There are other > > ways to tackle the problem, but you could try getting the information > > from the response object. I believe the flash is stored in the session. > > > > if response.session['flash'][:error] > > # do something > > end > > No the flash won't work because sessions are off for the SiteController. >
Oh hell that's right. So I could either go in and enable them (alter radiant), or maybe I'll just hack it instead. But yeah, knowing that `response` is in the scope should give me a start if I do use sessions. Thanks alot Sean, John. -- Matthew Beale :: 607 227 0871 Resume & Portfolio @ http://madhatted.com _______________________________________________ Radiant mailing list Post: [email protected] Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
