-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lennart Regebro wrote: > On 3/8/06, George Lee <[EMAIL PROTECTED]> wrote: > >>Instances show up in the list of objects in a container (which may be >>equivalent to the class showing up in the Add menu?) > > > Nope, that's not equivalent. I'm not exactly sure what the > requirements are. A getId method, a title attribute and a meta_type > probably. Subclassing from SimpleItem is definitely a good idea. > > Oh, and you need to add the object to the container, of course. ;)
Right, vie '_setObject', rather than just assigning an attribute. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 [EMAIL PROTECTED] Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEDxlI+gerLs4ltQ4RAkwAAJ9tNHfbXXuWqsXgJEgpVgY7lhDDVgCgh/i+ otk6Lr0MG+wm0yTJgrMg+48= =lKQ3 -----END PGP SIGNATURE----- _______________________________________________ Zope-CMF maillist - [email protected] http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
