[ZPT] Re: [Zope] Using ZPT with options/radio/checkboxes

Chris Withers chrisw at nipltd.com
Mon Aug 11 07:59:19 EDT 2003


Evan Simpson wrote:
> I've added a "ZPT-specific behaviors" section to the end of Appendix C 
> that described the special parsing and attribute treatment that HTML gets.
> 
> http://zope.org/Documentation/Books/ZopeBook/current/AppendixC.stx#2-83

Cool :-)

Is there any chance the list of attributes that behave differently in 
HTML could be made definitive rather than saying "Certain boolean 
attributes, such as checked and selected,"?

What is the complete list of attributes that are treated as boolean?
Does it matter which tag they're defined on?
(eg: will:

<flub tal:attributes="checked python:0"/>

render to:

<flub/>

or:

<flub checked="0"/>
)

cheers,

Chris




More information about the ZPT mailing list