Interface
zope.app.form.browser.interfaces.IAddFormCustomization

API for add form customization.

Classes supplied when defining add forms may need to override some of these methods.

In particular, when the context of an add form is not an IAdding, a subclass needs to override nextURL and one of add or createAndAdd.

To see how all this fits together, here's pseudo code for the update() method of the form:

def update(self):
data = <get data from widgets> # a dict self.createAndAdd(data) self.request.response.redirect(self.nextURL())
def createAndAdd(self, data):
content = <create the content from the data> content = self.add(content) <set after-add attributes on content>

Base interfaces

Attributes/Fields

There are no attributes or fields specified.

Methods

Adapters

Adapters where this interface is required:

Specific Adapters

There are no specific adapters registered for this interface.

Extended Adapters

There are no extended adapters registered for this interface.

Generic Adapters

Views

Browser

Specific views

There are no views available.

Extended views

Generic views

XML-RPC

HTTP

FTP

Other