On Thu, Aug 21, 2008 at 11:37:52AM +0200, tarjei wrote:

> When I try the following example:
> <option value="main-twocolumn.html"
> tal:attributes="SELECTED php: menuItem.template == 'main-twocolumn.html'
> ? 'SELECTED': false"
>                     >Tospalter</option>

By default ``selected`` and ``checked`` are handled special in TAL. Can
you try::

 tal:attributes="selected php:menuItem.template=='main-twocolumn.html'

-- 
cu

Attachment: pgpNoDRmswXoz.pgp
Description: PGP signature

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

Reply via email to