Hi Florian

From: Florian Lindner [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, April 16, 2005 1:24 AM
> To: [EMAIL PROTECTED]
> Cc: zope3-dev@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

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to