[ZPT] TALES Feature Survey

Geir Bækholt Geir Bækholt <geirh@funcom.com>
Fri, 18 May 2001 12:04:07 +0200


on or about, Thursday, May 17, 2001, we have reason to believe that Evan Simpson wrote something along the lines of :
...

ES> B) Add a standard 'attrs' variable containing the default values of the
ES> current tag's attributes, for instance "attrs/href".
....
ES> Cheers,
ES> Evan @ digicool

- Please consider also adding a standard 'defaultcontent'-variable for the
 text-content of the element, not just the attributes..

ehm.. i see how this could be quite horrid for things like the 'body'
element, but it could be quite useful in some situations...
- but you could perhaps limit it to text-only-nodes ??

<h2 tal:content="defaultcontent | template/title">if anything is here,
it will display instead of the template's title</h2>


--
Geir Bækholt
Web-Developer/Zopatista
geirh@funcom.com
http://www.funcom.com