On 5/13/02 1:51 PM, "Jim Penny" <[EMAIL PROTECTED]> wrote:
> On Mon, May 13, 2002 at 03:32:21PM -0400, Shane Hathaway wrote: >> Florent Guillaume wrote: >>> Jim Penny <[EMAIL PROTECTED]> wrote: >>> >>>>> Are you referring to what I call "magic boolean attributes" ? >>>>> >>>>> http://lists.zope.org/pipermail/zpt/2002-March/003013.html >>>> >>>> Yes, thanks very much, this is very helpful. I see that you could find >>>> no documentation on this, and got no reply. Is this intended to be a >>>> permanent feature, or is is experimental? >>> >>> >>> I'm pretty sure it's permanent, only undocumented. >> >> Florent, do you have committer privileges? You can certainly check in >> documentation of this behavior. You can also add a comment to the Zope >> book. >> >> http://www.zope.org/Documentation/ZopeBook/AdvZPT.stx > > I will write up something and do the feedback thing in the Zope book. > It seems to me it should be in both the advanced section and the ZPTRef > section. Would like a bit of guidance on the Ref writeup, i.e., what > does ZC want to call it (presumably not magic boolean attributes)? > Boolean HTML Attributes perhaps? From TAL/HTMLTALParser.py :: BOOLEAN_HTML_ATTRS = [ # List of Boolean attributes in HTML that may be given in # minimized form (e.g. <img ismap> rather than <img ismap="">) # From http://www.w3.org/TR/xhtml1/#guidelines (C.10) "compact", "nowrap", "ismap", "declare", "noshade", "checked", "disabled", "readonly", "multiple", "selected", "noresize", "defer" ] You should mention that these only get rendered in the classic HTML way when a page template is in HTML mode (content type equals 'text/html'), which I presume is the default. -- Jeffrey P Shell www.cuemedia.com Industrie Toulouse on Zope http://radio.weblogs.com/0106123/categories/zope/ _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )