Hi folks, I've been trying to get going w/z3c.pt. I am finding that unlike regular page templates, it doesn't check the filesystem for newer versions of the source. Is there a way to turn on this behaviour?
Also, the simplest tal:define construct fails on me... what am I missing? Borrowing from the z3c.pt README.txt... I made a file called "/tmp/x.pt" <div xmlns="http://www.w3.org/1999/xhtml"> <span tal:define="yup exists:options/nope" tal:content="python: yup and 'Yes' or 'No'" >do I exist?</span> <span tal:define="yup exists:nope" tal:content="python: yup and 'Yes' or 'No'" >do I exist?</span> </div> and I execute from z3c.pt.pagetemplate import ViewPageTemplateFile as ViewPageTemplateFile_z3cpt ViewPageTemplateFile_z3cpt('/tmp/x.pt')(self) I get: *** AttributeError: 'NoneType' object has no attribute 'definitions' What am I missing here? Thanks, Roy. -- Thanks, Roy.
_______________________________________________ Zope3-users mailing list Zope3firstname.lastname@example.org http://mail.zope.org/mailman/listinfo/zope3-users