Hi folks,<br><br>I've been trying to get going w/<a href="http://z3c.pt">z3c.pt</a>. 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?<br>
<br>Also, the simplest tal:define construct fails on me... what am I missing?<br><br>Borrowing from the <a href="http://z3c.pt">z3c.pt</a> README.txt... I made a file called "/tmp/<a href="http://x.pt">x.pt</a>"<br>
<br> <div xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"><br> <span tal:define="yup exists:options/nope"<br> tal:content="python: yup and 'Yes' or 'No'"<br>
>do I exist?</span><br> <span tal:define="yup exists:nope"<br> tal:content="python: yup and 'Yes' or 'No'"<br> >do I exist?</span><br>
</div><br><br>and I execute <br><br> from z3c.pt.pagetemplate import ViewPageTemplateFile as ViewPageTemplateFile_z3cpt<br> ViewPageTemplateFile_z3cpt('/tmp/<a href="http://x.pt">x.pt</a>')(self)<br> <br>
I get:<br><br> *** AttributeError: 'NoneType' object has no attribute 'definitions'<br><br>What am I missing here?<br><br>Thanks,<br>Roy.<br><br clear="all"><br>-- <br>Thanks,<br>Roy.<br>