Search in sources :

Example 1 with CPManagerImpl

use of org.olat.ims.cp.CPManagerImpl in project OpenOLAT by OpenOLAT.

the class CPContentController method init.

protected void init(UserRequest ureq) {
    mainPanel = putInitialPanel(new SimpleStackedPanel("cpContent"));
    CPManagerImpl cpMgm = (CPManagerImpl) CPManager.getInstance();
    currentPage = cpMgm.getFirstPageToDisplay(cp);
    displayPage(ureq, currentPage.getIdentifier());
}
Also used : SimpleStackedPanel(org.olat.core.gui.components.panel.SimpleStackedPanel) CPManagerImpl(org.olat.ims.cp.CPManagerImpl)

Example 2 with CPManagerImpl

use of org.olat.ims.cp.CPManagerImpl in project openolat by klemens.

the class CPContentController method init.

protected void init(UserRequest ureq) {
    mainPanel = putInitialPanel(new SimpleStackedPanel("cpContent"));
    CPManagerImpl cpMgm = (CPManagerImpl) CPManager.getInstance();
    currentPage = cpMgm.getFirstPageToDisplay(cp);
    displayPage(ureq, currentPage.getIdentifier());
}
Also used : SimpleStackedPanel(org.olat.core.gui.components.panel.SimpleStackedPanel) CPManagerImpl(org.olat.ims.cp.CPManagerImpl)

Aggregations

SimpleStackedPanel (org.olat.core.gui.components.panel.SimpleStackedPanel)2 CPManagerImpl (org.olat.ims.cp.CPManagerImpl)2