[Zope] Re: Physical path of objects in portal_skins tool of a
CMF site
Pascal Peregrina
Pperegrina at Lastminute.com
Tue Aug 31 05:41:24 EDT 2004
I agree with the "very strange way"...
...but not with the "bad application design" :)
If I have some time, I will try to explain why I need this...
Anyway, thanks again.
Pascal
-----Message d'origine-----
De : zope-bounces at zope.org [mailto:zope-bounces at zope.org]De la part de
yuppie
Envoyé : mardi 31 août 2004 11:18
À : zope at zope.org
Objet : [Zope] Re: Physical path of objects in portal_skins tool of a
CMF site
Pascal Peregrina wrote:
> I found a workaround : setting a variable in the manage_afterAdd method of
> my object that uses container.getPhysicalPath() to compute the path I
need.
> It looks like copy/paste/rename operations work fine, even inside
> portal_skins, even when copying a whole folder.
>
> What do you think ?
I think you're using the skins tool in a very strange way. Smells like
bad application design. But your workaround should work.
Cheers, Yuppie
_______________________________________________
Zope maillist - Zope at zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
More information about the Zope
mailing list