<div dir="ltr">Hi Philipp!<br>Thank you so much for your response but in this lines is were the engine loads the possibilities but not were evaluate the current expression<br><br>I would like to evaluate some condition before to load the class who resolves the expression (and witch is loaded in the code you point me)<br>
<br>More clear? Thanks!<br><br><div class="gmail_quote">2008/8/11 Philipp von Weitershausen <span dir="ltr">&lt;<a href="mailto:philipp@weitershausen.de">philipp@weitershausen.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Garito wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Could someone point me where the page template code decide if an expression is a path expression or a string or python one, please?<br>
<br>
I&#39;m studying the zope page template classes and I would like to understand where this decision is taken<br>
</blockquote>
<br></div>
Products.PageTemplates.Expressions.createZopeEngine():<br>
<br>
 &nbsp; &nbsp;for pt in ZopePathExpr._default_type_names:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;e.registerType(pt, ZopePathExpr)<br>
<br>
ZopePathExpr._default_type_names contains, among others, the name &#39;standard&#39;, which makes this expression type the default expression type.<br>
<br>
_______________________________________________<br>
Zope maillist &nbsp;- &nbsp;<a href="mailto:Zope@zope.org" target="_blank">Zope@zope.org</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope" target="_blank">http://mail.zope.org/mailman/listinfo/zope</a><br>
** &nbsp; No cross posts or HTML encoding! &nbsp;**<br>
(Related lists - <a href="http://mail.zope.org/mailman/listinfo/zope-announce" target="_blank">http://mail.zope.org/mailman/listinfo/zope-announce</a><br>
<a href="http://mail.zope.org/mailman/listinfo/zope-dev" target="_blank">http://mail.zope.org/mailman/listinfo/zope-dev</a> )<br>
</blockquote></div><br><br clear="all"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a><br>Zope Smart Manager<br><a href="http://blogs.sistes.net/Garito/670">http://blogs.sistes.net/Garito/670</a><br>

</div>