Hello list,

I have trouble with tal:attributes and the PHP value NULL (equals to
nothing).

For example: <ul tal:attributes="id php: 0 ? 1 : NULL;">

In this case the <ul> should not have the id attribute, but in the HTML
code i found <ul id="">.

If I use the TALES statement like this (abc isn't exist): <ul
tal:attributes="id abc|nothing;">
then i found only <ul> in the HTML code.

Is this a bug or what is my pitfall?

-- 
+=====================================================+
| Torsten Hinze - powered by Python                   |
| --------------------------------------------------- |
| Ich suche noch Hilfebietende für ein deutsches      |
| Zope-Board, da viele Einsteiger erst nach Foren     |
| suchen in denen sie ihre Frage stellen können.      |
|                                                     |
| URL: www.forum-hilfe.de/viewforum.php?f=65          |
+=====================================================+


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

Reply via email to