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

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

Attribute

Description

cell-id

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.

cell-open-yn

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

access-right

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 a cell-definition:

<cell-definition>
  <id>WsContentCellDefinition</id>
  <app-id>workspace</app-id>
  <enabled-yn>true</enabled-yn>
  <object-type>CellDefinition</object-type>
  <cell-id>contentColumn</cell-id>
  <cell-open-yn>true</cell-open-yn>
  <access-right>contentColumn</access-right>
</cell-definition>

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices