}
private ModelNode createStep(T entity, String name1, Object value1, String name2, Object value2) {
if ((value1 == null) && (value2 == null)) return null;
PropertyBinding propBinding1 = formMetaData.findAttribute(name1);
String[] splitDetypedName1 = propBinding1.getDetypedName().split("/");
value1 = editedOrCurrentValue(entity, name1, value1);
PropertyBinding propBinding2 = formMetaData.findAttribute(name2);
String[] splitDetypedName2 = propBinding2.getDetypedName().split("/");
value2 = editedOrCurrentValue(entity, name2, value2);
ModelNode valueNode = new ModelNode();
setValueOnNode(valueNode.get(splitDetypedName1[1]), value1);
setValueOnNode(valueNode.get(splitDetypedName2[1]), value2);