On Thursday 16 November 2006 18:17, Shane Hathaway wrote:
> > Can anyone recommend an approach to doing this or explain why it is a
> > bad idea altogether?
> In theory: the viewlet manager should catch an exception generated by a
> viewlet and attempt to adapt the exception to a viewlet, which the
> manager should render instead of the original viewlet.  If there is no
> such adapter, or the exception viewlet fails, the viewlet manager should
> either provide some default or propagate the exception to the whole page.

This sounds like a good approach and follows my design intentions of the 
viewlet manager. I keep this in mind.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to