Search in sources :

Example 16 with CCPageTitle

use of com.sun.web.ui.view.pagetitle.CCPageTitle in project OpenAM by OpenRock.

the class ServerSiteViewBean method createChild.

protected View createChild(String name) {
    View view = null;
    if (name.equals(TBL_SERVERS)) {
        SerializedField szCache = (SerializedField) getChild(SZ_CACHE_SERVER);
        populateServerTableModel((Map) szCache.getSerializedObj());
        view = new CCActionTable(this, tblServerModel, name);
    } else if (name.equals(TBL_SITES)) {
        SerializedField szCache = (SerializedField) getChild(SZ_CACHE_SITE);
        populateSiteTableModel((Map) szCache.getSerializedObj());
        view = new CCActionTable(this, tblSiteModel, name);
    } else if (name.equals(PAGETITLE)) {
        view = new CCPageTitle(this, ptModel, name);
    } else if (tblSiteModel.isChildSupported(name)) {
        view = tblSiteModel.createChild(this, name);
    } else if (tblServerModel.isChildSupported(name)) {
        view = tblServerModel.createChild(this, name);
    } else {
        view = super.createChild(name);
    }
    return view;
}
Also used : SerializedField(com.sun.identity.console.components.view.html.SerializedField) CCActionTable(com.sun.web.ui.view.table.CCActionTable) View(com.iplanet.jato.view.View) HashMap(java.util.HashMap) Map(java.util.Map) CCPageTitle(com.sun.web.ui.view.pagetitle.CCPageTitle)

Example 17 with CCPageTitle

use of com.sun.web.ui.view.pagetitle.CCPageTitle in project OpenAM by OpenRock.

the class AgentConfigInheritViewBean method createChild.

protected View createChild(String name) {
    View view = null;
    if (name.equals(TBL_PROPERTY_NAMES)) {
        SerializedField szCache = (SerializedField) getChild(SZ_CACHE);
        populatePropertyNameTableModel((List) szCache.getSerializedObj());
        view = new CCActionTable(this, tblPropertyNamesModel, name);
    } else if (name.equals(PGTITLE_THREE_BTNS)) {
        view = new CCPageTitle(this, ptModel, name);
    } else if (tblPropertyNamesModel.isChildSupported(name)) {
        view = tblPropertyNamesModel.createChild(this, name);
    } else if (ptModel.isChildSupported(name)) {
        view = ptModel.createChild(this, name);
    } else if (name.equals(CHILD_STATICTEXT)) {
        view = new CCStaticTextField(this, name, null);
    } else {
        view = super.createChild(name);
    }
    return view;
}
Also used : SerializedField(com.sun.identity.console.components.view.html.SerializedField) CCActionTable(com.sun.web.ui.view.table.CCActionTable) View(com.iplanet.jato.view.View) CCPageTitle(com.sun.web.ui.view.pagetitle.CCPageTitle) CCStaticTextField(com.sun.web.ui.view.html.CCStaticTextField)

Aggregations

View (com.iplanet.jato.view.View)17 CCPageTitle (com.sun.web.ui.view.pagetitle.CCPageTitle)17 CCActionTable (com.sun.web.ui.view.table.CCActionTable)13 SerializedField (com.sun.identity.console.components.view.html.SerializedField)9 AMPropertySheet (com.sun.identity.console.base.AMPropertySheet)6 CCStaticTextField (com.sun.web.ui.view.html.CCStaticTextField)3 CCRadioButton (com.sun.web.ui.view.html.CCRadioButton)2 HREF (com.iplanet.jato.view.html.HREF)1 SMSubConfig (com.sun.identity.console.base.model.SMSubConfig)1 SubConfigModel (com.sun.identity.console.service.model.SubConfigModel)1 CCDropDownMenu (com.sun.web.ui.view.html.CCDropDownMenu)1 CCHref (com.sun.web.ui.view.html.CCHref)1 CCTabs (com.sun.web.ui.view.tabs.CCTabs)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 List (java.util.List)1 Map (java.util.Map)1 Set (java.util.Set)1