[Zope3-Users] Trying to use browser:form -> 404
Florian Lindner
mailinglists at xgm.de
Thu Feb 9 13:27:09 EST 2006
Hello,
I try to create a form build from a schema with browser:form:
<form
name="registrationForm.html"
schema=".interfaces.registrationForm"
class=".views.registrationForm"
permission="zope.Public"
layer="centershock"
for="*"/>
interfaces.registrationForm looks like that:
from zope.interface import Interface
from zope.schema import TextLine, Password
class registrationForm(Interface):
login = TextLine(title=u"Username")
views.registrationForm:
class registrationForm(object):
def __init__(self):
import pdb; pdb.set_trace()
def getData(self):
import pdb; pdb.set_trace()
def setData(self):
import pdb; pdb.set_trace()
but when I try to call the URL:
http://horus:8080/++skin++centershock/registrationForm.html I just get 404.
Why that? Anybody knows?
Thanks,
Florian
More information about the Zope3-users
mailing list