ajaxOutputPanel.setLayout("block");
ajaxOutputPanel.setAjaxRendered(true);
ajaxOutputPanel.setKeepTransient(true);
// And finally add the propSet component as a child of this AJAX region.
PropertySetComponent propertySet = new PropertySetComponent();
ajaxOutputPanel.getChildren().add(propertySet);
propertySet.setId(PROPERTY_SET_COMPONENT_ID);
propertySet.setReadOnly(configurationSetComponent.isReadOnly());
propertySet.setListIndex(configurationSetComponent.getListIndex());
ValueExpression valueExpression = FacesExpressionUtility.createValueExpression(
"#{param.propertyExpressionString}", String.class);
propertySet.setValueExpression(PropertySetComponent.PROPERTY_EXPRESSION_STRING_ATTRIBUTE, valueExpression);
// The below can be uncommented in order for the "propertyExpressionValue" attribute to have a valid value
// on the initial page load (i.e. for testing purposes).
//propertySet.getAttributes().put(PropertySetComponent.PROPERTY_EXPRESSION_STRING_ATTRIBUTE,
// "#{EditTestConfigurationUIBean.configurationSet.groupConfiguration.map['String1'].stringValue}");
propertySet.setValueExpression(PropertySetComponent.CONFIGURATION_SET_ATTRIBUTE,
configurationSetComponent.getValueExpression(ConfigurationSetComponent.CONFIGURATION_SET_ATTRIBUTE));
addPropSetButtons(configurationSetComponent, propSetForm);
return;