Try,

<dtml-var "Sub1.My_Qry()">

If you need to pass arguments to My_Qry:

<dtml-var "Sub1.My_Qry(arg1='val1', arg2='val2')">

Don't worry, it only gets worse.  :-)

> -----Original Message-----
> From: danchik [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 13, 2000 10:01 PM
> To: [EMAIL PROTECTED]
> Subject: [Zope] Ho do you access parent's parent folders?
> 
> 
>     hi, any one knows how to access methods or queries in the parent's
> parent's parent's subfolder?
> 
> 
> 
> Root
> -----Folder1
> ----------Sub1
> --------------My_Qry
> ----------Sub2
> ---------------otherfolder
> --------------------How_to_access_My_Qry_from_Sub1????
> 
> is there <dtml-var parent.parent..... type thing??? or do you 
> have to call
> the parentobject method and assign it to some object before 
> getting to it?
> 
> 
> _______________________________________________
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to