+

Search Tips   |   Advanced Search

Plain attributes | Content bean content hierarchy

In addition to the default attributes, content nodes have the following attributes.

Attribute Description
position The numeric position among the siblings, zero-based.
themeid The identifier of the theme for the content node.
themename The name of the theme for the content node.
allportlets A flag that indicates whether all portlets are allowed for the page or not. If this flag is set true, the list of allowed portlets is ignored. Refer to List valued attributes.

The themeid attribute is writable. The themename attribute is not writable, but the value depends on the themeid attribute. The position attribute is not writable either, but the value depends on the organization of the content tree.

To get attributes of a static page content node, run the following command Jython:

Jacl:

Valid attributes are as follows:

Jython example: Content.get(6_CGAH47L00G2N802TJFV58Q3000, filename, html)
Jacl example: $Content get 6_CGAH47L00G2N802TJFV58Q3000 filename htmlThe preceding example returns the file name of the entry point for the page display.

To set attributes for a static page, run the following command: Jython example:

Jacl example:

Valid attributes are filename and displayoption.

Parent topic: Content hierarchy accessed through Content bean

References: