contentName
(Attribute)
The content name, as usually set by the Adder traverser.
If the content name hasn't been defined yet, returns None.
Some creation views might use this to optionally display the name on forms.
request
(Attribute)
The request
The request is a surrogate for the user. It also provides the presentation type and skin. It is of type IPresentationRequest.
context
(Attribute)
The context of the object
This is the object being adapted, viewed, extended, etc.
* = required
nextURL()
Return the URL that the creation view should redirect to.
This is called by the creation view after calling add.
It is the adder's responsibility, not the creation view's to decide what page to display after content is added.
hasCustomAddView()
This should be called only if there is singleMenuItem else return 0
add(content)
Add content object to container.
Add using the name in contentName. Returns the added object in the context of its container.
If contentName is already used in container, raises DuplicateIDError.
isSingleMenuItem()
Return whether there is single menu item or not.
nameAllowed()
Return whether names can be input by the user.
addingInfo()
Return add menu data as a sequence of mappings.
Each mapping contains 'action', 'title', and possibly other keys.
The result is sorted by title.
There are no specific adapters registered for this interface.
There are no extended adapters registered for this interface.
zope.app.container.browser.adding.Adding
zope.app.workflow.stateful.browser.definition.StatesContainerAdding
zope.app.component.browser.UtilityAdding
zope.app.workflow.stateful.browser.definition.TransitionsContainerAdding
zope.app.component.browser.ComponentAdding
zope.app.authentication.browser.adding.Adding