Search in sources :

Example 26 with CCPageTitleModel

use of com.sun.web.ui.model.CCPageTitleModel in project OpenAM by OpenRock.

the class EndUserViewBean method createPageTitleModel.

protected void createPageTitleModel() {
    ptModel = new CCPageTitleModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/twoBtnsPageTitle.xml"));
    ptModel.setValue("button1", "button.save");
    ptModel.setValue("button2", "button.reset");
}
Also used : CCPageTitleModel(com.sun.web.ui.model.CCPageTitleModel)

Example 27 with CCPageTitleModel

use of com.sun.web.ui.model.CCPageTitleModel in project OpenAM by OpenRock.

the class SiteEditViewBean method createPageTitleModel.

private void createPageTitleModel() {
    ptModel = new CCPageTitleModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/threeBtnsPageTitle.xml"));
    ptModel.setValue("button1", "button.save");
    ptModel.setValue("button2", "button.reset");
    ptModel.setValue("button3", getBackButtonLabel());
}
Also used : CCPageTitleModel(com.sun.web.ui.model.CCPageTitleModel)

Example 28 with CCPageTitleModel

use of com.sun.web.ui.model.CCPageTitleModel in project OpenAM by OpenRock.

the class SubSchemaTypeSelectViewBean method createPageTitleModel.

private void createPageTitleModel() {
    ptModel = new CCPageTitleModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/twoBtnsPageTitle.xml"));
    ptModel.setValue("button1", "button.next");
    ptModel.setValue("button2", "button.cancel");
}
Also used : CCPageTitleModel(com.sun.web.ui.model.CCPageTitleModel)

Example 29 with CCPageTitleModel

use of com.sun.web.ui.model.CCPageTitleModel in project OpenAM by OpenRock.

the class CreateSAML2MetaDataViewBean method createPageTitleModel.

private void createPageTitleModel() {
    ptModel = new CCPageTitleModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/twoBtnsPageTitle.xml"));
    if (protocol.equals(PROTO_SAMLv2)) {
        ptModel.setPageTitleText("metadata.saml2.create.title");
    } else if (protocol.equals(PROTO_IDFF)) {
        ptModel.setPageTitleText("metadata.idff.create.title");
    } else {
        ptModel.setPageTitleText("metadata.wsfed.create.title");
    }
    ptModel.setValue("button1", "button.create");
    ptModel.setValue("button2", "button.cancel");
}
Also used : CCPageTitleModel(com.sun.web.ui.model.CCPageTitleModel)

Example 30 with CCPageTitleModel

use of com.sun.web.ui.model.CCPageTitleModel in project OpenAM by OpenRock.

the class EntityPropertiesBase method createPageTitleModel.

protected void createPageTitleModel() {
    ptModel = new CCPageTitleModel(getClass().getClassLoader().getResourceAsStream("com/sun/identity/console/threeBtnsPageTitle.xml"));
    ptModel.setValue("button1", "button.save");
    ptModel.setValue("button2", "button.reset");
    ptModel.setValue("button3", "button.back");
}
Also used : CCPageTitleModel(com.sun.web.ui.model.CCPageTitleModel)

Aggregations

CCPageTitleModel (com.sun.web.ui.model.CCPageTitleModel)141 AMServiceProfileModel (com.sun.identity.console.base.model.AMServiceProfileModel)2 EntitiesModel (com.sun.identity.console.idm.model.EntitiesModel)1