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.
<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>
from zope.interface import Interface
from zope.schema import TextLine, Password
class registrationForm(Interface):
login = TextLine(title=u"Username")
class registrationFormView:
def getData(self):
return {}
def setData(self):
pass
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users