8 Oct
2001
8 Oct
'01
4:12 p.m.
Hi again, I was able to bring my problem a little bit more 'to the point':
From a python class I call a DTML-Method through Acquisition (two levels up in the hierarchy). In this DTML-Method I call a method of the containing object :
in the DTML-Method: <dtml-var absolute_url> <dtml-var expr='myTestFkt(REQUEST)'> here absolute_url gives the url of the original object I access via the url, but in the function: def myTestFkt(self,REQUEST): # try to access the 'original' object print self.absolute_url() gives me the url of the object containing the DTML-Method. Why ? How can I get the original object which the request has asked for ? greetings Achim