Richard Barrett wrote:
> I'm using the following python expression in the manage_addFolder and
> manage_addDocument functions to determine the location in the file
> system for the RCS backup of the data.
> 
> rcspath = os.path.normpath(getattr(self, 'website_RCS_root') + \
>                             '/' + self.absolute_url(1) + \
>                             '/' + ob.id)
> 
> As you can see it depends an acquiring the value of the
> 'website_RCS_root' attribute from its containment environment.

I believe this may work better in Zope 2.2.0--or perhaps the latest
CVS.  Jim made some changes to FactoryDispatcher that involve the
factory method's "self" argument.  Try it out.

Shane

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to