RE: [Zope] External methods writting "up" object hierarchy
Thanks much, Pavlos. I eventually found what I was looking for - REQUEST.PARENTS[-1].etc.etc.manage_changeProperties({'Prop':'Value'}) - in the Pointer product. The exam thingy is nice, though. Take care, JP
Hi JP
If it is going to be of any help, I have already uploaded into the contributed area of the Zope site a Multiple choice exam thingy.
Take care
Pavlos
On Mon, 14 Jun 1999 jpglutting@mx3.redestb.es wrote:
I am trying to write an External method that evaluates a multiple- choice exam, and then writes the results into a directory object for the student within the Zope database. I cannot seem to figure out how to access objects that are Parents of the object from which the External method is called. Is this possible? And can this be done on another "branch" of the object hierarchy? For example, if A, and B are subobjects of X, can an External method called in A access B and its sub-objects - and how? (say, manage_changeProperties()).
Thanks,
JP
*************************************************** JP Glutting Coordinator Cochrane Lung Cancer Group The Spanish Cochrane Centre Institut Universitari Fundació Parc Taulí Parc Taulí s/n 08208 Sabadell (Barcelona) Phone: (34) 93 723.40.94 Fax: (34) 93 723.38.04 Email: jpglutting@cspt.es http://www.cspt.es/cochrane/lc_crg.htm ***************************************************
participants (1)
-
JP Glutting