Hi list<br><br>I have 2 templates, in second template I need render a <span> only when the first template have defined a variable. <br><br>template1:<br><ul tal:define="var1 python:1"><br> <li tal:replace="structure conext/template2"></li><br>
<li tal:replace="structure python:conext.template2(var2=1)"></li><br></ul><br clear="all"><br>template2:<br><li><br> <input id="x" name="x" value="somevalue"><br>
<span tal:condition="exists: var1">span2</span><br> <span tal:condition="exists: attr/var1">span2</span><br> <span tal:condition="exists: context/var1">span2</span><br>
<span tal:condition="exists: container/var1">span2</span><br>
<span tal:condition="exists: options/var2">span3</span><br>
</li><br><br>any condition in span not work :( <br><br>-- <br>________________________________________<br>Lo bueno de vivir un dia mas<br>es saber que nos queda un dia menos de vida<br>