[Zope3-Users] Trying to use browser:form -> 404

Rupert Redington rupert at neontribe.co.uk
Fri Feb 10 09:42:19 EST 2006


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


More information about the Zope3-users mailing list