On 21-08-2008 at 10:37:52 tarjei <[EMAIL PROTECTED]> wrote:
When I try the following example:
Tospalter
I get:
Tospalter
Instead of no selected attribute.
XHTML is case-sensitive. SELECTED attribute is an error in XHTML. You must
use lowercase name, and then PHPTAL will handle this prope
On Thu, Aug 21, 2008 at 11:37:52AM +0200, tarjei wrote:
> When I try the following example:
> tal:attributes="SELECTED php: menuItem.template == 'main-twocolumn.html'
> ? 'SELECTED': false"
> >Tospalter
By default ``selected`` and ``checked`` are handled special in TAL. Can
y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
The manual states:
A somewhat complicated example involving tal:repeat:
...
The php: modifier will be explained later, basically if the line is odd
then tr will have a class attribute with "odd" as value, otherwise, no
class attribute wil