18 January 2005 - 0:03PHPTAL Trick
In my last article I described a situation where a tal:condition attribute would not effectively determine the value of a member variable when it was NULL. I was treating the condition as a normal if statement where I had something similar to tal:condition=”object/property”. When property was set to null, an exception was thrown with the message “Path not found: property”. I came up with a solution that worked, but it appears that it’s a loop hole in PHPTAL. This is what I’ve found.
No Comments | Tags: Programming