The RepositoryFormHandler supports the following operations for form submission:

Operation

Function

create

Creates a repository item based on the value set in the form and adds it to the repository. If the repositoryId property is specified in the form, the new item is created with the given repository ID; otherwise, an auto-generated ID is used.

delete

Deletes from the repository the item specified by repositoryId.

update

Updates the item described by repositoryId from the form values.

You associate one of these operations with a submit input tag. For example, the following input tag defines a submit button that creates a repository item:

<dsp:input type="submit"
  bean="atg/dynamo/droplet/MyRepositoryFormHandler.create" value="Add CD"/>

 
loading table of contents...