[Zope3-dev] Re: browser widgets: items widgets and label tags

2006-11-11 Thread Philipp von Weitershausen
yuppie wrote: Looking at the output generated by formlib, I got the impression nobody cares much about valid output. formlib's standard template is horrible. zope.app.form's rendering is much better. I have no idea why formlib uses its own horrid template any way, it could simply have used

Re: [Zope3-dev] Re: adaptation based on class rather than interface

2006-11-11 Thread Jean-Marc Orliaguet
Martin Aspeli wrote: Jean-Marc Orliaguet wrote: And there is nothing wrong with using inheritance when there is a '__IS A __' type of relation (e.g. an ordered folder IS A folder IS AN item, ...), or if there is a HAS_A type of relation (a folder has items, a chair has four legs...). It

[Zope3-dev] Re: browser widgets: items widgets and label tags

2006-11-11 Thread yuppie
Hi Philipp! Philipp von Weitershausen wrote: yuppie wrote: Looking at the output generated by formlib, I got the impression nobody cares much about valid output. formlib's standard template is horrible. zope.app.form's rendering is much better. I have no idea why formlib uses its own

Re: [Zope3-dev] Re: browser widgets: items widgets and label tags

2006-11-11 Thread Benji York
yuppie wrote: Adding additional complexity for getting the label issue perfectly right doesn't fit much to the rest of the code. And I doubt any browser will have trouble with 'for' attributes pointing to a non-control element. The for attributes in labels are used heavily in

Re: [Zope3-dev] Re: browser widgets: items widgets and label tags

2006-11-11 Thread Fred Drake
On 11/11/06, yuppie [EMAIL PROTECTED] wrote: Well. I can't see why Zope 3 has to ship with two completely different implementations of widget rows and I don't like the formlib template either. But this is not the code that causes validation errors. I can't say that I like any of the