Thanks Eric. It works now.

On Mar 28, 7:29 pm, Eric Rasmussen <[email protected]> wrote:
> Hi Joshua,
>
> If you're looking for a way to attach messages to the session in Pyramid,
> see:http://readthedocs.org/docs/pyramid/en/latest/narr/sessions.html?high...
>
> I mostly use Mako, but from past experimentation I think the Chameleon
> version goes something like this:
>
>   <ul id="flashmessages">
>       <li tal:repeat="msg request.session.pop_flash()">
>            <span tal:content="msg"></span>
>       </li>
>   </ul>
>
> Hope that helps you get started,
> Eric
>
> On Wed, Mar 28, 2012 at 9:08 AM, Joshua Partogi 
> <[email protected]>wrote:
>
>
>
>
>
>
>
> > Hi there,
>
> > I would like to display a flash message in the stack on the template. What
> > would be the safest approach to do this? I am using Chameleon ZPT template.
> > I tried to find the information on the web without any luck.
>
> > Thank you very much for your help.
>
> > --
> > @jpartogi
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "pylons-discuss" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/pylons-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to