On Jun 23, 2010, at 3:22 AM, Marius Gedminas wrote:

> Are there any other downsides that I'm missing (other than the extra
> cost of parsing a bit more HTML)?

Nope, mainly just the extra cost of parsing more HTML, it is a good 20% slower 
or more to display a htmlfilled page, than without.

> Skipping htmlfill on the initial form presentation implies that you
> can't <form:error> in your form code, unless you don't mind invalid
> HTML.

Using a Mako def as a filter function for the HTML form on the page means that 
htmlfill runs on every display of the form. I.e. I'm using it like this:
<%def name="client_form()" filter="widget.formfill">
<form action='${url.current()}' method='POST'>
    <table>
......

Cheers,
Ben

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-disc...@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to