Hi everybody,

I use this syntax :

<input name="firstname" value="" tal:attributes="value firstname|" />

Note the pipe character at the end of the expression.
So, if the firstname value exists, this show it and if the value is not
set, this return an empty string.

It's perfect for me, but I just want to be sure if this syntax is good
and will not be deprecated in future.

PHPTAL mailing list

Reply via email to