27 Sep
2002
27 Sep
'02
7:26 a.m.
Hi, while looking for examples using tal:condition I just find solutions for an else branch. For instance I want to do something like that <span tal:condition="options/name | nothing" tal:content="options/name">Print here variable name.</span> If variable "name" exists print it but I'm seeking for something like else print "name does not exist" Even better would be a method to set variable name to a default value if it does not exist before the test above and print the stuff unconditionally. Kind regards Andreas.