The CellDefinition object represents the basic layout unit within the page structure. The CellDefinition can refer to a DOM element or to another identifier on the page that contains a panel stack.

The attributes of the CellDefinition object, in addition to the attributes inherited from the FrameworkObject base class, are:

Attribute

Description

cellId

Logical identifier that other objects use to refer to this object that is exposed to other objects and to the code. This is the primary external way to refer to the object.

cellOpenYn

The cellOpenYn flag determines whether a cell is toggled open or closed. Used in Service Center only.

accessRight

The access right that defines the security user role required to view the cell.

The extension method of the CellDefinitionHome interface is:

Returns

Method

Description

CellDefinition

findByUserSegment
  AndCellId

Returns the CellDefinition with the specified identifier based on the segment of the current user. If the current user does not have a segment or no object is found for the current segment, a default object is returned based on cell identifier only. The appId indicates the framework application in which to look for the object.

Arguments: String appId, String cellId

The following is an example of the Self Service cell-definition:

<cell-definition>
  <id>SsCenterCellDefinition</id>
  <app-id>selfService</app-id>
  <enabled-yn>true</enabled-yn>
  <name-key>centerColumn.name</name-key>
  <object-type>CellDefinition</object-type>
  <description-key>centerColumn.description</description-key>
  <image-url>/image/default.gif</image-url>
  <cell-id>centerColumn</cell-id>
  <cell-open-yn>true</cell-open-yn>
  <access-right></access-right>
</cell-definition>