Am Freitag, 10. Februar 2006 11:37 schrieb Lennart Regebro:
> On 2/10/06, Florian Lindner <[EMAIL PROTECTED]> wrote:
> > It does not implement registrationForm. But I thought that
> > interfaces.registrationForm is only for providing the schema to build the
> > form, because of the for="*" it should displayable from all objects. Or
> > not?
> Right, but when you try to display a page that uses a schema for an
> object that does not implement that schema, it tries to look up an
> adapter between the object and the schema. And if that fails, the page
> will not be displayed. I suspect that may be the reason. Try to not
> define the schema and see if the page shows up.
I don't think that you're right...
Anyway, I tried it:
The schema is required, I can't leave it undefined. I've changed it to:
And called ++skin++centershock/cs/registerForm.html. cs is an object that does
implement ICentershock. I've also tried to set for on the same value as
schema or omitting it. Everything gave the same result: 404.
Any more ideas?
Zope3-users mailing list