protected void createPropertyModel() {
   propertySheetModel =
       new AMPropertySheetModel(
           getClass()
               .getClassLoader()
               .getResourceAsStream("com/sun/identity/console/propertyFSSAMLSiteIDProfile.xml"));
   propertySheetModel.clear();
 }
 protected void createPropertyModel() {
   propertySheetModel =
       new AMPropertySheetModel(
           getClass()
               .getClassLoader()
               .getResourceAsStream(
                   "com/sun/identity/console/propertyWSAuthNServicesHandlers.xml"));
   propertySheetModel.clear();
 }
 private void createPropertyModel() {
   propertySheetModel =
       new AMPropertySheetModel(
           getClass()
               .getClassLoader()
               .getResourceAsStream(
                   "com/sun/identity/console/propertyFSSAMLSelectTrustedPartnerType.xml"));
   propertySheetModel.clear();
 }
 private boolean createPropertyModel() {
   List profiles = (List) getPageSessionAttribute(PROFILES);
   if (profiles != null) {
     SAMLPropertyXMLBuilder builder = SAMLPropertyXMLBuilder.getInstance();
     propertySheetModel = new AMPropertySheetModel(builder.getXML(profiles, !isCreateViewBean()));
     propertySheetModel.clear();
     return true;
   }
   return false;
 }
 private void createPropertyModel() {
   try {
     String schemaName =
         (String) getPageSessionAttribute(AMServiceProfile.PG_SESSION_SUB_SCHEMA_NAME);
     SubConfigModel model = (SubConfigModel) getModel();
     propertySheetModel = new AMPropertySheetModel(model.getAddConfigPropertyXML(schemaName));
     propertySheetModel.clear();
   } catch (AMConsoleException e) {
     setInlineAlertMessage(CCAlert.TYPE_ERROR, "message.error", e.getMessage());
   }
 }
  public void beginDisplay(DisplayEvent event) throws ModelControlException {
    super.beginDisplay(event);
    SubConfigModel model = (SubConfigModel) getModel();
    String schemaName =
        (String) getPageSessionAttribute(AMServiceProfile.PG_SESSION_SUB_SCHEMA_NAME);

    if (!submitCycle) {
      AMPropertySheet ps = (AMPropertySheet) getChild(PROPERTY_ATTRIBUTE);
      propertySheetModel.clear();

      try {
        ps.setAttributeValues(model.getServiceSchemaDefaultValues(schemaName), model);
      } catch (AMConsoleException a) {
        setInlineAlertMessage(CCAlert.TYPE_WARNING, "message.warning", "noproperties.message");
      }
    }

    Set subconfigNames = model.getSelectableConfigNames(schemaName);
    if ((subconfigNames != null) && !subconfigNames.isEmpty()) {
      CCDropDownMenu menu = (CCDropDownMenu) getChild(ATTR_SUBCONFIG_NAME);
      OptionList optList = this.createOptionList(subconfigNames);
      menu.setOptions(optList);
    }
  }