Javascript for Episerver 7.5 cms

RenderManager

Summary

This class manages content blocks server rendering. It provides a cache to avoid redundant server calls.

Location

epi-cms/contentediting/RenderManager

Extends

Properties

_attrPairNames

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

_queue

_rendererPool

Cache of renderer objects

_viewSettingsToCopy

concurrentProcessedItems

Maximum number of items that can be rendered at the same time

defaultRenderer

Instance of the default renderer class

numberOfItemsInQueue

Number of items queued to be rendered

numberOfItemsRendering

Number of items being rendered

processInterval

How often (in milliseconds) should we check the queue to see if there's any items to be rendered

processQueueOnRenderValue

Set this to true to start rendering automatically after calling renderValue

rendering

Set to true while we're rendering items

Methods

public method cacheRender ( propertyName , renderSettings , value , content )

Explicitly update the internal cache with the rendered content for a block.

Parameters

public method cloneAndCompleteRenderSettings ( renderSettings )

Clones the supplied renderSettings and adds settings from the ViewSettingsManager.

Parameters

public method renderValue ( contentLink , propertyName , value , renderSettings , rendererClassName )

Get block render for a content model's node, supplying its value.

Parameters

public method updateRenderSettings ( renderSettings , newItem , key , isTagItem )

Add new items to the renderSettings.

Parameters