[Zope3-dev] scripter/designer concerns

Martijn Faassen faassen at vet.uu.nl
Mon Sep 8 17:20:59 EDT 2003


Jeffrey P Shell wrote:
> And, as an aside, why are widgets declared with the browser:page 
> element?

Widgets are just views on schema fields. Confusing is of course that
views normally in Zope 3 as it stands tend to be whole pages, and
widgets are always *parts* of another view.

Perhaps there should be some directive for browser:widget to indicate
we're dealing with part of a page here that can be used to compose
a page somehow. A clear and separate notion of widget that way might
get us into the domain of layout trees of widgets and the like, like
desktop GUIs work.. Might also fit into 'something better than ZPT
macros' and a pipelined model for generation of pages. :)

Regards,

Martijn




More information about the Zope3-dev mailing list