[Zope] Page Template help

Philipp von Weitershausen philipp at weitershausen.de
Mon Aug 11 15:20:12 EDT 2008


Garito wrote:
> Considere this case:
> 
> I have the sking value in the variable at args/Yanged/Skin
> 
> How can I do the equivalent to
> 
> args/Yanged/raiz/Skins/${args/Yanged/Skin}/arbolYanged.css/absolute_url
> 
> ?
> 
> In the python way it will be:
> 
> path(path('string:' + 
> 'args/Yanged/raiz/Skins/${args/Yanged/Skin}/arbolYanged.css/absolute_url'))
> 
> That's returns the expected value but I can't see how to do with your 
> propossed way


<a tal:define="skin args/Yanged/Skin;
                file args/Yanged/raiz/Skins/?skin/arbolYanged.css"
    tal:attributes="href file/absolute_url">



More information about the Zope mailing list