[Zope3-dev] Custom AddingView templates

Sidnei da Silva sidnei@plone.org
Wed, 30 Jul 2003 20:45:16 -0300


Hello folks,

I want to suggest something to help with creating the custom
(non-auto-generated) adding forms. I just ran into this issue today,
while creating a custom template.

Here's the issue:

I've got the html, put the standard metal:use-macro at the top,
registered the template with browser:addform and when I tried to use
it, it didnt want to create the object because the update method of
the adding view wasnt being called.

So, I propose the following: make the default adding template
available somehow from the SimpleViewClass, so you can put say
metal:use-macro="views/defaultAddView/main" and get all the call to
view/update and the error messages with it.

Thoughts?

[]'s
-- 
Sidnei da Silva <sidnei@plone.org>
dreamcatching :: making your dreams come true
http://dreamcatcher.homeunix.org

You are in the hall of the mountain king.