Search in sources :

Example 1 with HREF

use of com.iplanet.jato.view.html.HREF in project OpenAM by OpenRock.

the class AgentsViewBean method createChild.

protected View createChild(String name) {
    View view = null;
    if (name.equals(PARENTAGE_PATH)) {
        view = createParentagePath(name);
    } else if (name.equals(PARENTAGE_PATH_HREF)) {
        view = new HREF(this, name, null);
    } else if (name.equals(TAB_COMMON)) {
        view = new CCTabs(this, tabModel, name);
    } else if (name.equals(TBL_SEARCH)) {
        populateTableModelEx();
        view = new CCActionTable(this, tblModel, name);
    } else if (name.equals(TBL_SEARCH_GROUP)) {
        populateTableModelEx();
        view = new CCActionTable(this, tblGroupModel, name);
    } else if (name.equals(PAGETITLE)) {
        view = new CCPageTitle(this, ptModel, name);
    } else if ((tblModel != null) && tblModel.isChildSupported(name)) {
        view = tblModel.createChild(this, name);
    } else if ((tblGroupModel != null) && tblGroupModel.isChildSupported(name)) {
        view = tblGroupModel.createChild(this, name);
    } else if ((ptModel != null) && ptModel.isChildSupported(name)) {
        view = ptModel.createChild(this, name);
    } else {
        view = super.createChild(name);
    }
    return view;
}
Also used : CCTabs(com.sun.web.ui.view.tabs.CCTabs) HREF(com.iplanet.jato.view.html.HREF) CCActionTable(com.sun.web.ui.view.table.CCActionTable) View(com.iplanet.jato.view.View) CCPageTitle(com.sun.web.ui.view.pagetitle.CCPageTitle)

Aggregations

View (com.iplanet.jato.view.View)1 HREF (com.iplanet.jato.view.html.HREF)1 CCPageTitle (com.sun.web.ui.view.pagetitle.CCPageTitle)1 CCActionTable (com.sun.web.ui.view.table.CCActionTable)1 CCTabs (com.sun.web.ui.view.tabs.CCTabs)1