figuring out what happened drove me crazy all day...
this worked in 0.9.6 , but its broken in 0.9.7:
if you fail an @validate test on a formencode form, you'll error out
if you try to access a g variable in an inherited template g is
available in the regular template. just not in the inherited one.
to clarify, this is this is the behavior
site-template.mako
including this image will create an error "HTMLParseError: EOF in
middle of construct"; excluding it is ok
<img src="${g.site_cdn_rooot}/_img/logo.png">
form.mako
<%inherit file="/-site-template.mako"/>
including this image is ok
<img src="${g.site_cdn_rooot}/_img/logo.png">
to me this happened on an image, but it could happen in regular
plaintext too
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---