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

Garanin Michael garanin at m-lan.ru
Fri Feb 10 09:42:34 EST 2006


You can not call 'localhost:8080/++skin
++centershock/registrationForm.html'. 
You can call 'localhost:8080/++skin
++centershock/OBJ/registrationForm.html', where OBJ implements
'registrationForm' interface or adapted to it (see 'for_' description
for 'browser:form'). 

  

В Птн, 10/02/2006 в 15:34 +0100, Florian Lindner пишет:
> 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



More information about the Zope3-users mailing list