On 16-06-2009 at 16:16:53 Igor Sverkos <igor.sverkos+php...@googlemail.com> wrote:

Hi,

Tjerk Meesters wrote:
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"

I can use "exists" in PHPTALES? E.g.

<option ... tal:attributes="selected php: exists: myVar">...</option>?

No. Use isset() instead:

php:isset(myVar)

--
regards, Kornel

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to