On Mon, Jan 14, 2008 at 06:01:27PM +0100, Christophe Combelles wrote: > john saponara a écrit : >> I get reasonable edit screens for my car and driver classes when I use a >> url like "limoService/car1/edit.html" but when I try to add the edit >> screens as zmi menu entries I get an error: >> File "C:\Python24\Lib\site-packages\zope\app\publisher\browser\menu.py", >> line 62, in getMenuItems >> result = [(ifaces.index(item._for or Interface), >> ValueError: list.index(x): x not in list > > It looks like there is a class instead of an interface somewhere. > Maybe try to register your CarView and DriverView for ICar and IDriver > interfaces instead of Car and Driver classes.
That's right. This is a Zope 3 bug that's been fixed in SVN: http://svn.zope.org/?rev=79035&view=rev Marius Gedminas -- Cheap, Fast, Good -- pick two.
Description: Digital signature
_______________________________________________ Zope3-users mailing list Zope3email@example.com http://mail.zope.org/mailman/listinfo/zope3-users