Re: [Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Steve Alexander
Godefroid Chapelle wrote: > > > When using context.getId(), I get the id of the specialist, not of the > HumanClass instance... use container.getId() Also, try setting a proxy role on the SkinScript. -- Steve Alexander ___ Zope-Dev maillist -

Re: [Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Godefroid Chapelle
Steve Alexander a écrit : > Godefroid Chapelle wrote: > > > > > where getNames is a python method in a DataSkin Class Extender. > > It is defined as : > > > > import string > > list = string.split(context.id, '_') > > return list[1] > > use getId()

[Zope-dev] Virtual dataskinned ZClass instance

2001-04-18 Thread Godefroid Chapelle
Hi all, Being trying for more than three days to catch my problem, reading ZPatterns and AccessControl code, I am lost. I explain my situation again hoping someone can help me. I create a ZClass HumanClass with the following characteristics: Base Classes ZObject, _ZClass_for_DataSkin wit