[Zope] My classes does not support copy and paste!

Etienne Labuschagne ELabuschagne@gims.com
Tue, 25 Sep 2001 08:44:22 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1458D.82758650
Content-Type: text/plain;
	charset="iso-8859-1"

Ok, solved my own problem (eventually)
 
If the Meta Type (found under the Basic management tab of the new class)
differs from the Add list name (found in the class' factory) then the class
won't support rename and copying operations.  I don't know if this should be
obvious, but it wasn't for me!
 
Etienne

-----Original Message-----
From: Etienne Labuschagne [mailto:ELabuschagne@gims.com]
Sent: Tuesday, September 18, 2001 1:56 PM
To: Zope User List (E-mail)
Subject: [Zope] My classes does not support copy and paste!


Hi all,
 
What am I doing wrong if my class doesn't support copy and paste or
renaming?  The class inherits from the basic Zope objects and also (the one)
from the Folder class.  When I try to copy and paste or rename an instance
of my new class, I get the "The object Foo does not support this operation"
error.
 
Thanks
Etienne


------_=_NextPart_001_01C1458D.82758650
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN class=341563906-25092001>Ok, 
solved my own problem (eventually)</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN 
class=341563906-25092001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN class=341563906-25092001>If 
the Meta Type (found under the Basic management tab of the new class) differs 
from the Add list name (found in the class' factory) then the class won't 
support rename and copying operations.&nbsp; I don't know if this should be 
obvious, but it wasn't for me!</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN 
class=341563906-25092001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN 
class=341563906-25092001>Etienne</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Etienne Labuschagne 
  [mailto:ELabuschagne@gims.com]<BR><B>Sent:</B> Tuesday, September 18, 2001 
  1:56 PM<BR><B>To:</B> Zope User List (E-mail)<BR><B>Subject:</B> [Zope] My 
  classes does not support copy and paste!<BR><BR></FONT></DIV>
  <DIV><SPAN class=753385311-18092001><FONT face=Tahoma size=2>Hi 
  all,</FONT></SPAN></DIV>
  <DIV><SPAN class=753385311-18092001><FONT face=Tahoma 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=753385311-18092001><FONT face=Tahoma size=2>What am I doing 
  wrong if my class doesn't support copy and paste or renaming?&nbsp; The class 
  inherits from the basic Zope objects and also (the one) from the Folder 
  class.&nbsp; When I try to copy and paste or rename an instance of my new 
  class, I get the&nbsp;"The object&nbsp;<EM>Foo</EM> does not support this 
  operation" error.</FONT></SPAN></DIV>
  <DIV><SPAN class=753385311-18092001><FONT face=Tahoma 
  size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=753385311-18092001><FONT face=Tahoma 
  size=2>Thanks</FONT></SPAN></DIV>
  <DIV><SPAN class=753385311-18092001><FONT face=Tahoma 
  size=2>Etienne</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C1458D.82758650--