Class ecm.widget.ItemPropertiesStackPane


Extends dijit._Widget.
Provides a pane that contains a stack of ItemPropertiesPane widgets. Typically, the ItemPropertiesStackPane contains a single ItemPropertiesPane widget. However, for reference attributes, a separate ItemPropertiesPane widget is added to the stack for each reference attribute the user opens. The user sees the top widget in the stack.
Defined in: <ecm\widget\ItemPropertiesStackPane.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
The ecm.model.Repository for the item.

Method Summary

Method Attributes Method Name and Description
 
Retrieves the selected pane widget.
 
Determines if there is a previous item in the breadcrumb.
 
This event method is called after properties are rendered.
 
This event method is called before properties are rendered.
 
 
Resizes the widget.
 
setItem(repository, itemId, callback)
Sets a root item for the item properties pane (i.e.
 
setPane(item, pane)
Sets a root pane (i.e.
 
Removes the current breadcrumb item and selects the previous breadcrumb item as the new current item.

Constructor Detail

ecm.widget.ItemPropertiesStackPane()

Field Detail

repository

The ecm.model.Repository for the item.

Method Detail

getSelectedPane()

Retrieves the selected pane widget.
Returns:
The selected pane widget.

{Boolean} hasPrevious()

Determines if there is a previous item in the breadcrumb.
Returns:
{Boolean} A value of true if there is a previous item in the breadcrumb, otherwise returns false.

onCompleteRendering(item)

This event method is called after properties are rendered.
Parameters:
item

onStartRendering()

This event method is called before properties are rendered.

postCreate()


resize()

Resizes the widget.

setItem(repository, itemId, callback)

Sets a root item for the item properties pane (i.e., the user hits the Properties... link in the content list and wants to set the item reference attribute to display).
Parameters:
repository
The ecm.model.Repository for the item.
itemId
The itemId of the item.
callback
This method is called after the item is retrieved and the properties are rendered.

setPane(item, pane)

Sets a root pane (i.e., sets the child component selector pane when the user hits Values... link in the content list).
Parameters:
item
This parameter is used to the get the content class name for display in the breadcrumb and the repository (for loading reference attribute items).
pane
The child component selector pane.

showPrevious()

Removes the current breadcrumb item and selects the previous breadcrumb item as the new current item.