Godefroid Chapelle wrote:
data plug-in : a skinscript computing attributes based on an id and the xml.
storage : Class to use for stored items: HumanClass Objects are: loaded by accessing attribute nom (which is defined in the skinscript)
Store 'persistent' data: Directly in this object
I store no HumanClass instance and try to get an instance :
specialist.getItem(anId)
I always get None.
Am I trying to do something impossible because of lack of understanding or am I just wrong in one property of ZClass, Specialist, Rack ?
What you're doing sounds about right. What does your SkinScript look like? In the ScinScript, you need to determine what data to use based on self.id. Here's the SkinScript I use for a similar function; I'm creating "virtual" instances of one ZClass, based on instances of a different ZClass from another Specialist. In this case, the other specialist is "Responses". WITH Responses.get_data_for_code(code=self.id) COMPUTE subject_name, rater_name, relationship_name, response_code, process_step -- Steve Alexander Software Engineer Cat-Box limited