Florian Lindner wrote: > Am Freitag, 10. Februar 2006 15:18 schrieb Garanin Michael: >> I simulate this for Buddy from buddydemo (see attached) ==> it is normal >> work for Buddy-object! >> >> I think you make mistakes: >> 1) __init__ for 'view' always get 3-parameters (self, context, request) > > I've removed __init__ from the view class, like you did. > >> 2) getData must return dictionary. > > getData was never called (otherwise I would jumped into pdb). > > Anyway, I've changed it accordingly and still no success. > > Any more ideas? > > Florian
I've just run the same test, Michael's code works for me, but _only_ when I declare an interface specifically in the "for" attribute, eg: for="persistent.interfaces.IPersistent" if I use a wildcard I get the 404 Florian describes... Rupert _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users