[Zope-CMF] Re: Add forms and menus

Laurence Rowe l at lrowe.co.uk
Thu Jul 17 06:41:47 EDT 2008


Charlie Clark wrote:
> 
> Am 15.07.2008 um 23:38 schrieb Martin Aspeli:
> 
>> Actually, that's interesting... what purpose does 'initial view' serve 
>> in a world with add forms?
> 
> The same as it ever has - you redirect to the "initial view" from the 
> add form because the add form is actually registered for the container 
> (IFolderish object) and the initial view is called because the object 
> itself hasn't been used.
> 
>> Should we re-purpose this slightly to make it provide the add form 
>> view URL?
> 
> 
> No, I think it has to be a separate property.

I'd be interested to hear what you are using this for (other than to 
redirect to the default view of the newly created object).

Laurence



More information about the Zope-CMF mailing list