Search in sources :

Example 1 with CCHref

use of com.sun.web.ui.view.html.CCHref in project OpenAM by OpenRock.

the class SMProfileViewBean method createChild.

/**
     * Creates user interface components used by this view bean.
     *
     * @param name of component
     * @return child component
     */
protected View createChild(String name) {
    View view = null;
    if (name.equals(TBL_SESSIONS)) {
        SerializedField szCache = (SerializedField) getChild(SZ_CACHE);
        populateTableModel((List) szCache.getSerializedObj());
        view = new CCActionTable(this, tblModel, name);
    } else if (name.equals(PAGETITLE)) {
        view = new CCPageTitle(this, ptModel, name);
    } else if (tblModel.isChildSupported(name)) {
        view = tblModel.createChild(this, name);
    } else if (name.equals(CHILD_SERVER_NAME_MENU)) {
        view = new CCDropDownMenu(this, name, null);
    } else if (name.equals(LOGOUT_URL)) {
        return new CCStaticTextField(this, LOGOUT_URL, "");
    } else if (name.equals(CHILD_SERVER_NAME_HREF)) {
        view = new CCHref(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) CCHref(com.sun.web.ui.view.html.CCHref) View(com.iplanet.jato.view.View) CCPageTitle(com.sun.web.ui.view.pagetitle.CCPageTitle) CCDropDownMenu(com.sun.web.ui.view.html.CCDropDownMenu) CCStaticTextField(com.sun.web.ui.view.html.CCStaticTextField)

Aggregations

View (com.iplanet.jato.view.View)1 SerializedField (com.sun.identity.console.components.view.html.SerializedField)1 CCDropDownMenu (com.sun.web.ui.view.html.CCDropDownMenu)1 CCHref (com.sun.web.ui.view.html.CCHref)1 CCStaticTextField (com.sun.web.ui.view.html.CCStaticTextField)1 CCPageTitle (com.sun.web.ui.view.pagetitle.CCPageTitle)1 CCActionTable (com.sun.web.ui.view.table.CCActionTable)1