Javascript for Episerver 7.5 cms

Personalize

Location

epi-cms/contentediting/command/Personalize

Extends

Properties

_attrPairNames

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

_modelChangeWatcher

canExecute

category

A category which hints that this item should be displayed with a separator.

iconClass

The icon class of the command to be used in visual elements.

isAvailable

label

The action text of the command to be used in visual elements.

model

order

tooltip

Methods

protected method _execute ( )

Opens the personalization dialog and adds the selected item to a visitor group if necessary.


protected method _getContainer ( )

Get the selected content parent model


protected method _getItem ( )

Get the selected content model, based on its group


protected method _onModelChange ( )

Watches the model for changes to the current content after the model has been updated.


protected method _onModelValueChange ( )

Updates canExecute after the model value has changed.