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 ::

    # 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",

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

Industrie Toulouse on Zope

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to