[Zope] Quick question about traversal...
Chris McDonough
chrism@zope.com
Thu, 23 Aug 2001 18:01:17 -0400
That's the intent.
However, you *might* be able to get to it via something awful like this:
<dtml-var
"Control_Panel.Products.ProductName.propertysheets.methods.methodName()">
- C
Rob Foster wrote:
>
> Hmmm, does that mean I can't get it from the zclass (inside the product)
> itself, only from an instance of it?
>
> -----Original Message-----
> From: Chris McDonough [mailto:chrism@digicool.com]
> Sent: Wednesday, August 22, 2001 4:02 PM
> To: Rob Foster
> Cc: 'zope@zope.org'
> Subject: Re: [Zope] Quick question about traversal...
>
> Example:
>
> <dtml-var "instanceofzclass.themethodthatreturnsalist()">
>
> ...
>
> Rob Foster wrote:
> > I've created a product with a zclass.
> >
> > In the zclass I've got a python script that returns a simple list.
> >
> > I'm trying to use that list in a dropdown menu that that is part of a dtml
> > document off the root, i.e. /somefolder/dtml_document
> >
> > I can't seem to traverse to said script.
> >
> > Any ideas would be appreciated.
> >
> > Thanks,
> >
> > Rob
> >
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > 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 )
> >
>
> --
> Chris McDonough Zope Corporation
> http://www.zope.org http://www.zope.com
> "Killing hundreds of birds with thousands of stones"
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> 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 )
--
Chris McDonough Zope Corporation
http://www.zope.org http://www.zope.com
""" Killing hundreds of birds with thousands of stones """