Updated validator definitions, updated ToXml logic to take into account new Property Editors, added Serialization and Deserialization methods
for property editor's to override if necessary, updated the ContentItemBinder to bind the db and dto models so now that validator filter just validates against the model and doesn't actually do any data lookups itself (much nicer). Now saves and retreives from the database !!
This commit is contained in:
@@ -40,7 +40,7 @@ namespace Umbraco.Web.Models.Mapping
|
||||
Description = p.PropertyType.Description,
|
||||
Label = p.PropertyType.Name,
|
||||
Config = _applicationContext.Services.DataTypeService.GetPreValuesByDataTypeId(p.PropertyType.DataTypeDefinitionId),
|
||||
Value = p.Value.ToString(),
|
||||
Value = editor.ValueEditor.SerializeValue(p.Value),
|
||||
View = editor.ValueEditor.View
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user