The ProjectFormHandler has the following submit handler methods:

Method

Function

handleAddAssets

Adds assets to the project. This method requires values for the following properties: projectId, assetAction and either asset or assets.

handleDiscardAssets

Removes assets from the project. This method requires values for the following properties: projectId, assetAction and either asset or assets.

handlePerformAssetAction

Reads the assetAction property to determine the type of action to perform. This method is invoked by the handleAddAsset, handlerDiscardAssets, and handlerReverAsset methods. This method requires values for the following properties: projectId, assetAction and either asset or assets.

handleRevertAsset

Discards unsaved changes made to an asset and displays values held by the last saved version. This method requires values for the following properties: projectId, assetAction and asset.