<div dir="ltr">Finally it's possible to do what I need without the need to declare any variable?<br><br>If not my change will be 4-6 lines of code and it's ok for me to make this change<br><br>I only need to understand were the code decides if the expression is standard, string or python<br>
<br>Could you help me?<br><br>Thanks!<br><br><div class="gmail_quote">2008/8/11 Garito <span dir="ltr"><<a href="mailto:garito@sistes.net">garito@sistes.net</a>></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 dir="ltr">Considere this case:<br><br>I have the sking value in the variable at args/Yanged/Skin<br><br>How can I do the equivalent to <br><br>args/Yanged/raiz/Skins/${args/Yanged/Skin}/arbolYanged.css/absolute_url<br>
<br>?<br><br>In the python way it will be:<br><br>path(path('string:' + 'args/Yanged/raiz/Skins/${args/Yanged/Skin}/arbolYanged.css/absolute_url'))<br><br>That's returns the expected value but I can't see how to do with your propossed way<br>
<br>Thanks!<br><br><div class="gmail_quote"><div class="Ih2E3d">2008/8/11 Philipp von Weitershausen <span dir="ltr"><<a href="mailto:philipp@weitershausen.de" target="_blank">philipp@weitershausen.de</a>></span><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Garito wrote:<div><div></div><div class="Wj3C7c"><br>
> Use:<br>
> /path/to/the/object/with/${some/magic/variables}/to/solve/some/paths/in/a/simplest/way<br>
<br>
</div></div></div><div><div></div><div class="Wj3C7c">Path expressions already support this.<br>
<br>
tal:define="pathel some/magic/variables;<br>
obj path/to/the/object/with/?pathel/to/solve/some/..."<br>
<br>
So basically in TALES path expressions you can say foo/?bar and the<br>
value of the 'bar' variable will be used to traverse the next step from<br>
'foo'.<br>
<div><div></div><div><br>
_______________________________________________<br>
Zope maillist - <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>
** No cross posts or HTML encoding! **<br>
(Related lists -<br>
<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>
</div></div></div></div></blockquote></div><br><br clear="all"><div class="Ih2E3d"><br>-- <br>Mis Cosas<br><a href="http://blogs.sistes.net/Garito" target="_blank">http://blogs.sistes.net/Garito</a><br>Zope Smart Manager<br>
<a href="http://blogs.sistes.net/Garito/670" target="_blank">http://blogs.sistes.net/Garito/670</a><br>
</div></div>
</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>