Javascript for Episerver 7.5 cms

NewItem

Location

epi-cms/contentediting/command/NewItem

Extends

Properties

_attrPairNames

Used across all instances a hash to cache attribute names and their getter and setter names.

_dialog

_modelChangeWatcher

cancelActionText

Label to be displayed for the cancel (negative) action.

canExecute

category

confirmActionText

Label to be displayed for the confirm (positive) action.

defaultActionsVisible

.Flag which indicates whether the default confirm and cancel actions should be visible. This can only be set in the constructor.

destroyOnHide

Destroy dialog on hide or not.

dialogClass

The css class for dialog. Default value is "epi-dialog-portrait".

dialogContent

The instance of dialogContentClass will be stored by this prop.

dialogContentParams

The parameters for create new instance of dialogContentClass.

dialogParams

The parameters for create new instance of dialog.

iconClass

isAvailable

label

model

module

"epi-cms/contentediting/command/_CommandWithDialogMixin"

order

res

Json language resouce object used to get default title when insert/edit item.

title

The dialog's title.

tooltip

value

The value of item that being edited.

Methods

protected method _execute ( )

Overwrite base clase, change the context to edit the block.


protected method _getTitle ( )

Customize base get method for title prop.


protected method _onModelChange ( )

Overwrite base class, updates canExecute after the model has changed.


public method dialogContentClass ( )

The widget namespace that will be created and placed as dialog's content


public inherited method onDialogCancel ( )

Process value when dialog after it's hidden. It should be implemented from delivery


public inherited method onDialogHideComplete ( )

Trigerred when dialog is closed.


public inherited method onDialogOpen ( )

Trigerred when dialog is opened.


protected method own ( )

Track specified handles and remove/destroy them when this instance is destroyed, unless they were already removed/destroyed manually.


protected method showDialog ( )

Create and show dialog