[Zope] Newbie - how to I access an object with rel path

Andreas Jung lists at andreas-jung.com
Thu Dec 4 08:12:42 EST 2003


I strongly recommend reading the API reference -> restrictedTraverse().

-aj

--On Donnerstag, 4. Dezember 2003 14:04 Uhr +0100 fowlertrainer at anonym.hu 
wrote:

> Hello,
>
> My site is structured with folders.
> Some scripts are positioned in same directory.
>
> example:
>
> LoginScripts folder:
>  checkSession
>  checkUserName
>  ....
>
> If I want to use script1 from script2, I write this:
>
> result=context.LoginScripts.script1()
>
> But is exists another way to I access it ?
>
> like this:
>
> result=./script1()
>
>
> Thanx.







More information about the Zope mailing list