|
From: Daniele T. <d.t...@ic...> - 2001-12-20 14:00:08
|
On Wednesday 19 December 2001 16:00, Juli=E1n Mu=F1oz Dom=EDnguez wrote: > Vincenzo, and Daniele, > > in Openflow 0.5, what is the context when you call automatically a > dtml-method ? In previous versions, without > evalparameters['client']=3Dfunc.aq_parent (namespace given to the calle= d > method), the dtml-method acquired the variables from the activity folde= r, > not from his parent folder in the Zope tree, which I think it is not th= e > "natural way". > > In a first glace, I don't find the equivalent to > evalparameters['client']=3Dfunc.aq_parent in Openflow 0.5 You are right, we skipped the 'client' parameter.=20 The reason for keeping a 'client' parameter is not clear to me... is it f= or=20 your use or for Zope? I tried putting a document in the same folder the D= TML=20 is in, a property (with the same name, of course) both in OpenFlow and in= the=20 Process: what I got is that the referred item is the DTML in the same fol= der=20 the application DTML is in. So it seems that the context is the applicati= on=20 DTML parent. Isn't this the behaviour you wanted? I might have got someth= ing=20 wrong: do you mind explaining again? Maybe you are referring to the automatic start of application on an=20 auto-start activity? Daniele =3D) PS: Juli=E0n, did you notice we used the apply function like you suggeste= d?=20 Thanks again for the contribution... |