|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface is designed for creating pages dynamically. The structure is created by a factory: in order to create a page dynamically and include it in the Portal component: In the doOnNodeReady() method of the Portal component get a IPageStructure. Init it by setting a page layout (component name or context name) and setting a java.util.List of iViews (context name or component name) for each container in the layout. The container Id is the same as the Id in the jsp file of the layout component. Then create the com. sap. portal. pagebuilder. pagebuilder context and a node from it. Put the IPageStructure on the node with value name (in the IPageStructure) and add the page node as a child. In the doContent() include the page node.
PageStructureFactory.createPageStructure(java.lang.String)| Field Summary | |
static java.lang.String |
EQUAL_WIDTH_LAYOUT_COMPONENT_NAME
|
static java.lang.String |
FULL_WIDTH_LAYOUT_COMPONENT_NAME
A set of constants for the default layout ocmponents |
static java.lang.String |
LAYOUT_CONTAINER_1
A set of constants for the container names of the default layouts |
static java.lang.String |
LAYOUT_CONTAINER_2
|
static java.lang.String |
LAYOUT_CONTAINER_3
|
static java.lang.String |
NARROW_WIDE_LAYOUT_COMPONENT_NAME
|
static java.lang.String |
NARROW_WIDE_NARROW_LAYOUT_COMPONENT_NAME
|
static java.lang.String |
PAGE_BUILDER_COMPONENT_NAME
A constant for the page builder default component |
static java.lang.String |
PAGE_STRUCTURE_VALUE_NAME
use this value to put the page structure on the dynamic page node |
static java.lang.String |
WIDE_NARROW_LAYOUT_COMPONENT_NAME
|
| Method Summary | |
void |
setContainerIViews(java.lang.String containerId,
java.util.List containerIViews)
Method setContainerIViews. |
void |
setPageLayout(java.lang.String pageLayout)
Method setPageLayout. |
| Field Detail |
public static final java.lang.String PAGE_STRUCTURE_VALUE_NAME
public static final java.lang.String PAGE_BUILDER_COMPONENT_NAME
public static final java.lang.String FULL_WIDTH_LAYOUT_COMPONENT_NAME
public static final java.lang.String NARROW_WIDE_LAYOUT_COMPONENT_NAME
public static final java.lang.String WIDE_NARROW_LAYOUT_COMPONENT_NAME
public static final java.lang.String EQUAL_WIDTH_LAYOUT_COMPONENT_NAME
public static final java.lang.String NARROW_WIDE_NARROW_LAYOUT_COMPONENT_NAME
public static final java.lang.String LAYOUT_CONTAINER_1
public static final java.lang.String LAYOUT_CONTAINER_2
public static final java.lang.String LAYOUT_CONTAINER_3
| Method Detail |
public void setPageLayout(java.lang.String pageLayout)
throws java.lang.IllegalArgumentException
pageLayout - String Id (conext name or component name) of the layout
of the dynamic page. Must contain a value.java.lang.IllegalArgumentException - If the pageLayout is empty or null
public void setContainerIViews(java.lang.String containerId,
java.util.List containerIViews)
throws DuplicateiViewException
containerId - The container id of the container for the iViews as
identified in the jsp file of the layoutcontainerIViews - a List of iViews in the container, ordered in the
List according to appearence in the dynmaic pageDuplicateiViewException - indicating that there two iViews with the
same ID in the page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||