[Zope] Does SiteRoot Interfere With Copy-Paste?

Dan Shafer dan@gui.com
Wed, 12 Dec 2001 07:36:13 -0800


Chris Minds wrote:

>On Tuesday 11 December 2001  1:33 am, Dan Shafer wrote:
>
>>  This works fine except in one of my folders. The only difference I
>>  can see between the folders where it does work and this renegade is
>>  that the folder where it doesn't work has a SiteRoot and the others
>>  don't.
>>
>>  In this folder, the Paste button just never appears. Everywhere else
>>  on the site, it's fine.
>
>This one confused me for a bit.
>
>The site root tansforms all the URLs in its folder, even the management
>interface ones. Thus, as Dieter points out, the cookie which implements the
>'cut' function will be set as coming from the domain that your siteroot is
>set to. So, when you visit a different folder, you are effectively visiting a
>different domain, and consequently your browser doesn't make the original
>cookie with the 'cut' information available. Therefore, it appears to zope as
>if there's nothing on the clipboard.
>
>Don't know if that makes it any clearer.

It certainly does and I see now why it would have to be that way. 
Thanks for the very clear explanation.

>I'm not sure if the 8080 thing will work, but you can always get around it by
>using the 'export' button instead.

Then that's what I'll do! Thanks again.

>hth,
>Chris.


-- 
Dan Shafer, Author-Consultant
http://www.danshafer.com
http://www.shafermedia.com