Search in sources :

Example 6 with CCStaticTextField

use of com.sun.web.ui.view.html.CCStaticTextField 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

CCStaticTextField (com.sun.web.ui.view.html.CCStaticTextField)6 View (com.iplanet.jato.view.View)3 SerializedField (com.sun.identity.console.components.view.html.SerializedField)3 CCPageTitle (com.sun.web.ui.view.pagetitle.CCPageTitle)3 CCActionTable (com.sun.web.ui.view.table.CCActionTable)3 Map (java.util.Map)2 Set (java.util.Set)2 OptionList (com.iplanet.jato.view.html.OptionList)1 AgentDumpModel (com.sun.identity.console.agentconfig.model.AgentDumpModel)1 AMConsoleException (com.sun.identity.console.base.model.AMConsoleException)1 CCEditableList (com.sun.web.ui.view.editablelist.CCEditableList)1 CCCheckBox (com.sun.web.ui.view.html.CCCheckBox)1 CCDropDownMenu (com.sun.web.ui.view.html.CCDropDownMenu)1 CCHref (com.sun.web.ui.view.html.CCHref)1 CCSelect (com.sun.web.ui.view.html.CCSelect)1 CCSelectableList (com.sun.web.ui.view.html.CCSelectableList)1 CCTextField (com.sun.web.ui.view.html.CCTextField)1 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 Iterator (java.util.Iterator)1