Problems with creating a ZClass that inherits the ZImage base class
If someone can help me, that would be great. I'm trying to create a new ZClass that is essentially a ZImage object that is catalog-aware. In the creation of the ZClass I have listed Catalog-aware and then ZImage as inherited base classes. The problem is when I try to create a new instance of this new ZClass. I created a form to be accessed by the constructor which includes id, title, file, and some other variables (included in the propertysheet), but after entering values into the form, and trying to create the object, the only variables the object gets are the ZImage built-in variables (i.e. content-type, width, height), and the content-type always appears as text/plain instead of image/jpeg or related. I am using the following code in my constructor (the ZClass is called iWorld_Entry) <dtml-with "iWorld_Entry.createInObjectManager(REQUEST['id'], REQUEST)"> <dtml-call "propertysheets.iWorldProps.manage_editProperties(REQUEST)"> </dtml-with> If anyone has any ideas that would be wonderful. Thanks. Adrian
participants (1)
-
Adrian Jones