On Fri, 23 Feb 2007 19:50:09 +0000, Phil Mayers <[EMAIL PROTECTED]> wrote:
How do people do this?

When I attempt to validate pages using the FireFox / Web Developer validator, I get a lot of complaints about tags that should be self-closed e.g.:

<input type="text">
 <nevow:attr name="name"><nevow:slot name="name"/></nevow:attr>
</input>

...generates HTML like this:

<input type="text" name="theName">

</input>

...which is not only ugly, it doesn't validate.

I like stan, but I dislike the fact that it clutters up .py files and also that it doesn't reload like the disk templates. OTOH I deeply dislike the nevow:attr / nevow:slot pseudo-tags in the disk templates.

Thoughts?


<input type="text"><nevow:attr ...></input>

will generate valid xhtml.  I'm not sure I have any suggestions other than
to use input which will generate valid output.

If you have any suggestions for improving the usability of templates, I'd be
more than happy to hear them.

Jean-Paul

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to