Javascript for Episerver 7.5 cms

ContentEditingValidator

Location

epi-cms/contentediting/ContentEditingValidator

Extends

Properties

_attrPairNames

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

_errorLevels

_isBlocking

_store

_storeId

contextId

Id of context used to partitioning messages in message service

contextTypeName

Name of context type used to partitioning messages in message service

hasErrors

Indicates if there are any errors (only errors, warn not included)

isValid

Indicates if this validator is valid without any validation errors (no error or warn messages)

messageService

severity

validationSource

Methods

public method _validate ( severity )

Queries message service by error type to indicates content is valid or not

Parameters

public method validate ( )

Queries message service by error type and warning type to indicates content is valid or not