Aha, ok, now I see.

Thank you.


Octavian

----- Original Message ----- From: "Chisel Wright" <[EMAIL PROTECTED]>
To: "The elegant MVC web framework" <[email protected]>
Sent: Sunday, December 31, 2006 7:19 PM
Subject: Re: [Catalyst] flash


On Sun, Dec 31, 2006 at 07:05:30PM +0200, Octavian Rasnita wrote:
But can you tell me why $c->flash is not working? Should I add a certain
plug in for making it work or need making some other settings?

Poking around, there's a small example in
Catalyst::Manual::Tutorial::Authentication:

 $c->flash->{status_msg} = "Book deleted";

and in the template:

 [% Catalyst.flash.status_msg %]


I *think* you can get away without "Catalyst." (or use "c." instead) but
you're almost definitely missing the leading "flash." in your TT markup.

--
Chisel Wright
e: [EMAIL PROTECTED]
w: http://www.herlpacker.co.uk/

 This is not an automated signature.
 I type this in to the bottom of every message.

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/


_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to