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;
}
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;
}
Aggregations