[Zope3-dev] Security with Viewlets
Stephan Richter
srichter at cosmos.phy.tufts.edu
Sat Nov 25 17:30:56 EST 2006
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.
Regards,
Stephan
--
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
More information about the Zope3-dev
mailing list