[Zope3-dev] Re: formlib: spurious viewspace slot?

Philipp von Weitershausen philipp at weitershausen.de
Thu Jan 11 10:42:05 EST 2007


Thomas Lotze wrote:
> Hi,
> 
> while working on one of our projects at gocept, we noticed that formlib's
> pageform.pt template defines a "viewspace" slot which we feel it
> shouldn't, as the Rotterdam skin's template.pt has a div defining the same
> slot and carrying the same id. We found this because of an extraneous line
> inside the viewspace of one form, which turned out to be a top border
> specified for the "viewspace" ID.
> 
> Should the viewspace slot be removed from pageform.pt?

To be honest, I find the default formlib template horrible (I could go 
into detail why, but I'm sure those familiar with zope.formlib know the 
sore spots). The zope.app.form template was much better, though not that 
perfect either. In custom projects (incl. my new book), I *always* use a 
custom form.

I think we could and should improve the out-of-the-box experience with 
zope.formlib a lot by providing a new form template altogether.


-- 
http://worldcookery.com -- Professional Zope documentation and training
2nd edition of Web Component Development with Zope 3 is now shipping!


More information about the Zope3-dev mailing list