> Try ${ h.foobar() } instead of <% h.foobar() %>
>
> Although <% ... %> should allow Python statements it doesn't output them
> directly. A <% print h.text_field(...) %> may have worked but ${} is
> preferred.
>
> Christoph
>
It works. But strange- when I was playing with template inheritance I
found that <% a = $self.foobar()%> prints to output at once. Maybe it
differs for self/parent/next objects.
Thank you.
--
Best regards,
Antipin Aleksei
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---