Exploring Zope

goran.krampe at bluefish.se goran.krampe at bluefish.se
Thu Oct 30 13:41:21 UTC 2003


cg at cdegroot.com wrote:
>  <squeak-dev at lists.squeakfoundation.org> said:
> >For example this means that each directory in the urls match a method in
> >a view class - for example in method #account I typically check that you
> >are logged in and get your session. And that is the only place I do that
> >and thus this protects all urls beginning with "/account/...".
>
> Yeah, but with acquisition it's like every nested object gets a method
> called #account (in your nested view class, 'self account' would work).

Yes, I didn't imply that HttpView has the *same* mechanism - just that a
similar "chain" exists there, though manually.
 
regards, Göran



More information about the Squeak-dev mailing list