use of com.sun.identity.console.base.AMPropertySheet in project OpenAM by OpenRock.
the class WSPersonalProfileServiceViewBean method prePopulateTable.
private void prePopulateTable() {
Map attributeValues = (Map) removePageSessionAttribute(PROPERTY_ATTRIBUTE);
if (attributeValues != null) {
AMPropertySheet ps = (AMPropertySheet) getChild(PROPERTY_ATTRIBUTE);
ps.setAttributeValues(attributeValues, getModel());
}
prePopulateSupportContainersTable(attributeValues);
prePopulateDSAttributeMapListTable(attributeValues);
}
use of com.sun.identity.console.base.AMPropertySheet in project OpenAM by OpenRock.
the class SMDiscoveryServiceViewBean method prePopulateTable.
private void prePopulateTable() {
Map attributeValues = (Map) removePageSessionAttribute(PROPERTY_ATTRIBUTE);
if (attributeValues != null) {
AMPropertySheet ps = (AMPropertySheet) getChild(PROPERTY_ATTRIBUTE);
ps.setAttributeValues(attributeValues, getModel());
}
prePopulateProviderResourceIdTable(attributeValues);
prePopulateBootstrapResOffTable(attributeValues);
}
use of com.sun.identity.console.base.AMPropertySheet in project OpenAM by OpenRock.
the class SMG11NViewBean method prePopulateTable.
private void prePopulateTable() {
Map attributeValues = (Map) removePageSessionAttribute(PROPERTY_ATTRIBUTE);
if (attributeValues != null) {
AMPropertySheet ps = (AMPropertySheet) getChild(PROPERTY_ATTRIBUTE);
ps.setAttributeValues(attributeValues, getModel());
}
prePopulateSupportedCharsetsTable(attributeValues);
prePopulateCharsetAliasTable(attributeValues);
}
use of com.sun.identity.console.base.AMPropertySheet in project OpenAM by OpenRock.
the class GenericAgentProfileViewBean method setDefaultValues.
protected void setDefaultValues(String type) throws AMConsoleException {
if (propertySheetModel != null) {
AgentsModel model = (AgentsModel) getModel();
String universalId = (String) getPageSessionAttribute(UNIVERSAL_ID);
try {
if (!submitCycle) {
String curRealm = (String) getPageSessionAttribute(AMAdminConstants.CURRENT_REALM);
// !isGroup should that we do not inherit value is
// the identity is a group.
Map attrValues = model.getAttributeValues(curRealm, universalId, !isGroup);
removeAgentRootURLKey(attrValues);
propertySheetModel.clear();
AMPropertySheet prop = (AMPropertySheet) getChild(PROPERTY_ATTRIBUTE);
prop.setAttributeValues(attrValues, model);
}
} catch (AMConsoleException e) {
setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
disableButton("button1", true);
}
String[] uuid = { universalId };
propertySheetModel.setValues(PROPERTY_UUID, uuid, model);
}
}
use of com.sun.identity.console.base.AMPropertySheet in project OpenAM by OpenRock.
the class EditAuthTypeViewBean method getValues.
protected Map getValues() throws ModelControlException, AMConsoleException {
Map values = null;
String instance = (String) getPageSessionAttribute(SERVICE_TYPE);
AuthPropertiesModel model = getAuthModel();
if (model != null) {
AMPropertySheet ps = (AMPropertySheet) getChild(PROPERTY_ATTRIBUTE);
values = ps.getAttributeValues(model.getInstanceValues(instance), model);
}
return values;
}
Aggregations