[Zope] OrderedFolder addOrderedFolder

Stefan H. Holek stefan@epy.co.at
Thu, 01 Aug 2002 15:37:35 +0200


Standard Folders are magic. To instantiate an object from a Product you=20
first need a factory dispatcher.

dispatcher =3D context.manage_addProduct['OrderedFolder']
dispatcher.manage_addOrderedFolder('lalala')

Stefan


--On Donnerstag, 01. August 2002 15:29 +0200 Bj=F8rge Solli=20
<bjorge@ii.uib.no> wrote:

> How do I call a method in a Product?
>
> In this case I want to make a OrderedFolder, but the usual way of making
> a  folder doesn't work:
> context.manage_addOrderedFolder(kategori,title=3Dkategori)
>
> Anybody know?
>
> regards
> Bjorge Solli
> --
> http://www.lstud.ii.uib.no/~s0182/smile/Smiles
> --
> Bj=F8rge Solli - Universitas Bergensis, Norway
> mailto:Bjorge@Kvarteret.no icq#29210281 MSN:bobelloco@hotmail.com
> M=F8llendalsv.19, 5009 Bergen, Norway tel:55202853/91614343
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

--
Those who write software only for pay should go hurt some other field.
/Erik Naggum/