Relating to different classes

Author Message

Rinze Cats

Monday 05 April 2004 8:46:10 am

Hello,

I have created a custom article class. I want to add a field to this class, allowing a user to select a value from a dropdown box when creating an instance of this class.

The available values in the dropdownbox however, are not static. I want the dropdownbox to provide a list of all instances of a certain class. Is this possible? It is for a purely administrative use to relate various articles by means of an edition number (and maybe add some extra information besides the edition number).

I don't want to change the class definition everytime a new edition is necessary!

thanx and greetz
rinze

Rinze Cats

Wednesday 07 April 2004 2:24:13 am

In addition, is it possible to embed a class in another class, or to create custom datatypes?

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.