Updated property editors deserialization method to accept more information and original values, updated the upload property editor to now save

files in accordance with exactly how we are saving them currently and it is all working... expcept the new uploader can do multiple files. It is
now persisting to the database as well.
This commit is contained in:
Shannon Deminick
2013-05-28 18:27:11 -10:00
parent 94786f08c6
commit c5ff9ddec9
13 changed files with 91 additions and 87 deletions

View File

@@ -58,7 +58,8 @@ namespace Umbraco.Web.Models.Mapping
Description = p.PropertyType.Description,
Label = p.PropertyType.Name,
Id = p.Id,
DataType = _applicationContext.Services.DataTypeService.GetDataTypeDefinitionById(p.PropertyType.DataTypeDefinitionId)
DataType = _applicationContext.Services.DataTypeService.GetDataTypeDefinitionById(p.PropertyType.DataTypeDefinitionId),
PropertyEditor = PropertyEditorResolver.Current.GetById(p.PropertyType.DataTypeId)
}).ToList()
};
}