[Zope] <Folder instance at 67f918> ???
Kevin Teague
kevin@bud.ca
Fri, 16 Feb 2001 00:52:52 -0800
> When I pass this to a Python method and simply return the value of
> weights like:
>
> <dtml-var expr="obtainResults(_.this, `weights`)">
>
> <Folder instance at 67f918> appears in the page (well, in the HTML
> source) instead of the actual value of weights.
It looks like an aquisition problem. You've got a folder with id 'weights'
that is getting passed instead of the list named 'weights' in the REQUEST
object. Try this:
<dtml-var expr="obtainResults(_.this, REQUEST['weights'])">
This will ensure that the right variable named weights is passed to the
python method.
Kevin Teague
http://www.bud.ca