[Zope-dev] Virtual DataSkins
Michael R. Bernstein
webmaven@lvcm.com
Thu, 12 Apr 2001 07:39:33 -0700
Steve Alexander wrote:
>
> 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,
Is it possible to have a Specialist that is entirely
'virtual'? Can a Specialist be set up to use a generic
DataSkin that stores attributes persistently, without having
to define a ZClass at all?
If so, can you describe a procedure for accomplishing this?
TIA,
Michael Bernstein