private boolean isShowControl = true;
public UIPortalComposer() throws Exception {
UITabPane uiTabPane = addChild(UITabPane.class, "UIPortalComposerTab", null);
uiTabPane.addChild(UIApplicationList.class, null, null).setRendered(true);
uiTabPane.addChild(UIContainerList.class, null, null);
uiTabPane.setSelectedTab(1);
}
public int getPortalMode() {
return getAncestorOfType(UIPortalApplication.class).getModeState();