Stupid (I'm sure) newbie question...getting objects not in your namespace
I'm sure that if I had the time to flip through the two books I have (The Zope Book and The Book of Zope...aptly named :) ) I could find my answer...but my boss shoved Zope into my lap only recently, and is now wanting to see some results :) Is there a way to get an object that is not in the direct namespace that you are in? What I mean is: Lets say you have this: root-+--- Fie -+--- Fie1 | | | | | +--- Fie2 | +--- Fi --+--- Fi1 | | | | | +--- Fi2 | +--- Fum -+--- Fum1 | | +--- Fum2 And you are in folder Fum1.....what is the syntax to call, for example, a DTML Method in Fie2? Can it be done? Thanks... Andy Akins
On Tue, 16 Apr 2002 16:38:59 -0500 "Andy Akins" <andy@leonidae.org> wrote:
Is there a way to get an object that is not in the direct namespace that you are in?
root-+--- Fie -+--- Fie1 | | | | | +--- Fie2 | +--- Fum -+--- Fum1
And you are in folder Fum1.....what is the syntax to call, for example, a DTML Method in Fie2? Can it be done?
hi, to call MethodToCall in Fie2 with yourOwnParameter try this: <dtml-var "Fie.Fie2.MethodToCall(None,_,yourOwnParamter='hello world')"> or <dtml-call "Fie.Fie2.MethodToCall(None,_,yourOwnParamter='hello world')"> depending if you need an output or not. greetings, maik.
participants (2)
-
Andy Akins -
Maik Jablonski