[Zope] Problem with parameter submission to Python Scripts
Tim Hicks
timNOT_THIS@sitefusion.co.uk
Thu, 10 Jan 2002 18:13:07 -0000
<snip>
> The problem is: context.outputdir.makeThumbnail(image.getId())
>
> I need the object that is refered to by outputdir.
>
> For instance if I use: context.thumbnail.makeThumbnail(image.getId())
> it works fine.
>
> I've tried getattr, getitem, but had no luck.
Did you try...
getattr(context, outputdir).makeThumbnail(image.getId())
I don't know if that's right, but it's what I would try.
tim