[Zope] referencing a folder
Dieter Maurer
dieter@handshake.de
Tue, 15 Apr 2003 22:11:36 +0200
Marie Robichon wrote at 2003-4-15 16:42 +0200:
> ....
> >I think you might be missing 'context'?
> >
> >newsfolder=context.News.FrontNews
> >
>
> no using newsfolder=context.News.FrontNews gives me an AttributeError. The
> script is in fact in Intranet/Test/Marie/Notes and I want to add an
> EasyNewsItem to Intranet/News/FrontNews (Intranet being our virtual root)
> so I don't think I should be using context?
When you want "News" to reference with respect to the script,
your should use "container" (and not "context").
Maybe, you should read again about the difference between "container"
and "context"...
Dieter