[Zope3-Users] Object Name field on addforms

Florian Lindner mailinglists at xgm.de
Wed Oct 5 07:33:46 EDT 2005


Am Sonntag, 11. September 2005 20:25 schrieb Stephan Richter:
> On Sunday 11 September 2005 10:07, Florian Lindner wrote:
> > The field is displayed when the addform is called with
> > folder/+/AddCSLink.html.
>
> In this case AddCSLink.html is a view for IAdding.
>
> > When folder/AddCSLink.html is is not displayed.
>
> Here AddCSLink.html is a view of IContainer.
>
> > What is the difference between these two?
>
> I am surprised both would work. Only the first one should.
>
> > Unfortunatly when you use the addform directive to register a menu item
> > the action is folder/AddCSLink.html. Can this be changed?
>
> Don't use the menu/title attributes of form:addform. Use the
> browser:addMenuItem directive instead.

I've managed to register it now with a serperate addMenuItem directive. But 
the URL of the menu item is still folder/AddCSLink.html and not 
folder/+/AddCSLink.html and it's still the same error like I was registering 
it within the addform directive.

Thanks,

Florian


More information about the Zope3-users mailing list