[Zope3-Users] Trying to use browser:form -> 404
Garanin Michael
garanin at m-lan.ru
Fri Feb 10 09:18:36 EST 2006
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)
2) getData must return dictionary.
-------------- next part --------------
<configure
xmlns="http://namespaces.zope.org/browser"
xmlns:zope="http://namespaces.zope.org/zope">
<layer name="centershock"/>
<skin name="centershock" layers="centershock rotterdam default"/>
<form
name="registrationForm.html"
schema=".test.registrationForm"
class=".test.registrationFormView"
permission="zope.Public"
layer="centershock"
for="*"/>
</configure>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.py
Type: text/x-python
Size: 264 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-users/attachments/20060210/e38e44a6/test.py
More information about the Zope3-users
mailing list