11 Aug
2008
11 Aug
'08
7:20 p.m.
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">