Javascript for Episerver 7.5 cms

_AddItemDialogMixin (constructor)

Location

epi-cms/contentediting/editors/_AddItemDialogMixin

Extends

Properties

_dialog

_editingItemIndex

_focusManager

_itemEditor

active

True if mouse was pressed while over this widget, and hasn't been released yet

cssStateNodes

List of sub-nodes within the widget that need CSS classes applied on mouse hover/press and focus

Each entry in the hash is a an attachpoint names (like "upArrowButton") mapped to a CSS class names (like "dijitUpArrowButton"). Example:

{
    "upArrowButton": "dijitUpArrowButton",
    "downArrowButton": "dijitDownArrowButton"
}

The above will set the CSS class dijitUpArrowButton to the this.upArrowButton DOMNode when it

is hovered, etc.

dialogParams

hovering

True if cursor is over this widget

isShowingChildDialog

Indicates whether a child dialog window is currently being displayed.

itemEditorType

The item editor class.

missingMessage

required

Methods

public inherited method _applyAttributes ( )


public method _createItemEditor ( )


public inherited method _cssMouseEvent ( event )

Handler for CSS event on this.domNode. Sets hovering and active properties depending on mouse state, which triggers _setStateClass() to set appropriate CSS classes for this.domNode.

Parameters

public method _getDialogConfirmActionText ( existingItem )

Parameters

public method _getDialogTitleText ( existingItem )

Parameters

public inherited method _onBlur ( )


public method _onCancelDialog ( )


public inherited method _onFocus ( )


public inherited method _onPopupClosed ( popup )

Called when a popup dialog has been closed

Parameters

public inherited method _onPopupOpen ( openArgs )

Called before a popup is opened. Checks id the popup is opened for a descendant of

Parameters

public method _setDialogConfirmActionStatus ( item )

Parameters

public method _setDialogConfirmActionText ( existingItem )

Parameters

public method _setDialogTitle ( existingItem )

Parameters

public inherited method _setStateClass ( )

Update the visual state of the widget by setting the css classes on this.domNode (or this.stateNode if defined) by combining this.baseClass with various suffixes that represent the current widget state(s).


public inherited method _subnodeCssMouseEvent ( node , clazz , evt )

Handler for hover/active mouse event on widget's subnode

Parameters

public inherited method _trackMouseState ( node , clazz )

Track mouse/focus events on specified node and set CSS class on that node to indicate current state. Usually not called directly, but via cssStateNodes attribute.

Parameters

public inherited method _waitForFocus ( )


public inherited method destroy ( )


public inherited method displayMessage ( _8 )

Parameters

public inherited method getErrorMessage ( _a )

Parameters

public inherited method isValid ( _7 )

Parameters

public method onCancelDialog ( )

Callback for when the dialog is cancelled


public method onExecuteDialog ( )

Callback for when the dialog is executed


public method postCreate ( )


public inherited method startup ( )


public inherited method validate ( _5 )

Parameters