On 09.02.2006, at 19:27, Florian Lindner wrote:
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.
maybe http://horus:8080/++skin++Centershock/registrationForm.html
skin names are CamelCase per convention and layers lowercase
Why that? Anybody knows?
Thanks,
Florian
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users