using getPhysicalRoot
Hi there I'm having the following problem with the getPhysicalRoot method. 1. I call this method inside an object: a = self.getPhysicalRoot() 2.1. If I "exec" the object from Zope by clicking on it everything works fine 3.1. If I call this object from another object via: return target_obj.index_html(id_query,title_query,blurb_query,path_query,meta_type_query,REQUEST) when it executes the a = self.getPhysicalRoot() instruction I get the following error: Error Type: TypeError Error Value: call of non-function (type string) If I print the type of the object with print type(self) I get the following: In 2.1 <extension class Acquisition.ImplicitAcquirerWrapper at 401a7234> In 3.1 <extension class Products.ModeratorResults.ModeratorResults.ModeratorResults at 84e9850> where ModeratorResults is my Object which is located in the file Products/ModeratedResults. I dont understand why it appears 3 times (Products.ModeratorResults.ModeratorResults.ModeratorResults). -- URL: http://www.terravista.pt/Enseada/1831 http://accosta.planetaclix.pt http://students.fct.unl.pt/~anjc PT is Portugal ####### # # # #" #" # Linux ##vvvvv## Rules! ## vvv ## # ## ## ## ### ### +++##### ##++ ++++++# #++++++ +++++++# #+++++++ +++++#######+++++ +++ +++
participants (1)
-
Antonio Costa