[PHPTAL] true:
Joshua Paine
lists at fairsky.us
Mon Nov 13 13:59:51 CET 2006
lbedubourg wrote:
>>PHPtal is a little unhappy with Messages not being declared.
>>
>>Is there any way to get it to not throw an error?
>>
>>
>
>Try <div tal:condition="exists: Messages"> to check if a variable is
>defined or not.
>
>
Also try <div tal:condition="Messages | nothing"> if what you want to
test that Messages is true but not throw an exception if Messages
doesn't exist.
--
Joshua Paine
Chief Tower Builder
LetterBlock Software
http://letterblock.com/
More information about the PHPTAL
mailing list