Javascript for Episerver 7.5 cms

_FormEditingMixin

Summary

Form editing controller.

Location

epi-cms/contentediting/_FormEditingMixin

Properties

_form

_formConnects

_formWidgets

canHandleLeftOver

Indicate that the view can handle "left over" on the edit layout container.

connectOverlayItemsToFormWidgets

Denote if we want to connect overlay items to form widgets, which means user can click on overlay item to start edit on form. Should be set to true on side by side editing.

formSettings

Settings used when creating form.

selectFormOnCreation

Indicate that the form should be set as selected child after being added to edit layout.

Methods

protected method destroy ( )

Destroy the widget.


public method onFieldCreated ( fieldName , widget )

Triggerred when a field created.

Parameters

public method onFormCreated ( form )

Triggerred when the whole form created.

Parameters

public method onGroupCreated ( groupName , widget )

Triggerred when a group created.

Parameters

public method onReadySetupEditMode ( )

Finish edit mode setting up.


protected method placeForm ( form )

Place edit form into container.

Parameters

protected method removeForm ( form )

Remove edit form from container.

Parameters