Class ecm.widget.dialog.AddDocumentFromEditServiceTemplateDialog


Extends ecm.widget.dialog.AddContentItemDialog.
Provides a dialog box that
Defined in: <ecm\widget\dialog\AddDocumentFromEditServiceTemplateDialog.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Fields borrowed from class ecm.widget.dialog.AddContentItemDialog:
allowBrowseParentFolder, destroyWhenFinished, parentFolder, repository, showEntryTemplateName, singleDocumentSelect
Fields borrowed from class ecm.widget.dialog.BaseDialog:
expandable, fitContentArea, lockFullscreen

Method Summary

Method Attributes Method Name and Description
 
 
isValid(onSaveStatus)
Override super classes isValid method.
 
The Add button event handler.
 
 
show(repository, parentFolder, typeDocument, virtualItems, callback, teamspace, showMultiRepoFolderSelector)
Displays the Add dialog for adding documents and folders.
Methods borrowed from class ecm.widget.dialog.AddContentItemDialog:
addFolderInMemory, applyEntryTemplate, getDaejaContent, getDaejaPartFileName, getExternalContentFilename, getRedactionPartFileName, hasDaejaContent, hasRedactionContent, onAddFailed, onAddFinished, onCancel, setDaejaContent, setDaejaPartFileName, setDefaultContentClass, setFiles, setRedactionContent, setShowWarnings, showUsingTemplateItem
Methods borrowed from class ecm.widget.dialog.BaseDialog:
addButton, appendSecondaryMessage, buildRendering, clearMessage, clearSecondaryMessage, hide, isMaximized, onDragOver, resize, setExpandable, setIntroText, setIntroTextRef, setMaximized, setMessage, setReferenceLink, setResizable, setSize, setSizeToViewportRatio, setTitle, setWidth, showActionBar

Constructor Detail

ecm.widget.dialog.AddDocumentFromEditServiceTemplateDialog()

Method Detail

destroy()


{Boolean} isValid(onSaveStatus)

Override super classes isValid method. Tests if the current settings in the add dialog are valid.
Parameters:
onSaveStatus
Returns:
{Boolean} A value of true if the current settings in the add dialog are valid, otherwise false.

onAdd()

The Add button event handler.

postCreate()


show(repository, parentFolder, typeDocument, virtualItems, callback, teamspace, showMultiRepoFolderSelector)

Displays the Add dialog for adding documents and folders.
Parameters:
repository
parentFolder
typeDocument
virtualItems
callback
teamspace
showMultiRepoFolderSelector