Class ecm.widget.ItemNotelogsPane


Extends dijit.layout.BorderContainer.
Provides a widget that is used to view notelogs of or add notelogs to an item. Also provides controls to edit and delete accessible notelogs.
Defined in: <ecm\widget\ItemNotelogsPane.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
cache the original notelog text for cancel edit in viewer.

Method Summary

Method Attributes Method Name and Description
 
addNotelog(callback)
 
The handler for the button "Edit Notelog"
 
 
onRenderNotelogs(notelogs)
An event function called after the comments pane is rendered.
 
 
Displays the notelogs of the item.
 
set background request for viewer, _backgroundRequest=true, do not display any status dialog when calling service.
 
setItem(item)
Sets an item to the pane

Constructor Detail

ecm.widget.ItemNotelogsPane()

Since:
2.0.2

Field Detail

origNotelogsText

cache the original notelog text for cancel edit in viewer.

Method Detail

addNotelog(callback)

Parameters:
callback

editNotelog()

The handler for the button "Edit Notelog"

onChange()


onRenderNotelogs(notelogs)

An event function called after the comments pane is rendered.
Parameters:
notelogs
A ecm.model.ResultSet object containing ecm.model.Comment objects.

postCreate()


render()

Displays the notelogs of the item.

setBackgroundRequest(bool)

set background request for viewer, _backgroundRequest=true, do not display any status dialog when calling service.
Parameters:
bool

setItem(item)

Sets an item to the pane
Parameters:
item
A document ecm.model.ContentItem.