As Kornel mentioned, this is fixed in the repos and it can be made to
work for older versions by using "exists: isSelected" instead of
"isSelected | nothing"
Hope that helps :)
On 6/16/09, Igor Sverkos <igor.sverkos+php...@googlemail.com> wrote:
> Tjerk Meesters wrote:
>> Hmm I don't think using "selected" as the value is the solution to the
>> exact problem here, because phptal does understand the so called
>> binary attributes, such as selected and checked.
>> Seems like the '| nothing' is causing the expression to change type
>> and display a 1 instead of being treated in above special manner (I
>> guess phptal uses === true for this?)
> If "| nothing" is the problem, how could I prevent an error, If "isSelected"
> isn't set?
> PHPTAL mailing list
PHPTAL mailing list