[Zope] Catalog Program

tane@zzict.com tane@zzict.com
Sun, 13 May 2001 19:18:04 +0200


Hi,

I am building a music database program, and I am having a problem.

First off, this is the structure:

ZMusicBase---
                    |
                    zmbAlbum---
                                      |
                                      zmbTrack

The catalog for the product is created in the ZMusicBase directory.  When I
try to add a zmbAlbum (which has an Object Manager class) I get an error:

Error Type: NameError
Error Value: manage_editCataloger

In the zmbAlbum_add file, the code looks like this:

<dtml-call "REQUEST.set('zmb', ZopeTime().strftime('%Y%m%d%H%M%S'))">
<dtml-call "REQUEST.set('id',_.str(zmb))">

<dtml-with "zmbAlbum.createInObjectManager(REQUEST['id'], REQUEST)">

       <dtml-call
"propertysheets.zmbAlbumProperties.manage_editProperties(REQUEST)">

<dtml-call "manage_editCataloger('zmbCatalog')">
<dtml-call reindex_object>

</dtml-with>

Can anyone see a problem in this?

Tane Piper
Lead Designer - ZZICT Entertainment
http://www.legiongame.nl