[Zope3-dev] RE: [Zope3-Users] page uses foreignview:contextchanged
Roger Ineichen
dev at projekt01.ch
Fri Apr 15 19:55:24 EDT 2005
Hi Florian
From: Florian Lindner [mailto:mailinglists at xgm.de]
> Sent: Saturday, April 16, 2005 1:24 AM
> To: dev at projekt01.ch
> Cc: zope3-dev at zope.org
> Subject: Re: [Zope3-dev] RE: [Zope3-Users] page uses
> foreignview:contextchanged
>
{snip]
>
> That works now, but I get a error with instruction:
>
> htmlcode += view.index["childInfo"] <--
>
>
> traceback:
>
> File
> "/home/florian/Desktop/zope/lib/python/CS/centershock/browser/
> skin/views.py",
> line 41, in getHTML
> htmlcode += view.index["childInfo"]
> TypeError: unsubscriptable object
>
> The macro is existing. See also my previous posting.
I'm not sure if you have a ViewPageTemplate instance
at the view attribute.
What do you get if you print out the result of view
and index like:
print "the view ", view
print "the view index ", view.index
Can you send me the output?
Regards
Roger Ineichen
More information about the Zope3-dev
mailing list