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:
Shannon Deminick
2013-05-27 21:32:37 -10:00
parent 7d7ca4530b
commit cf631974a8
22 changed files with 300 additions and 95 deletions

View File

@@ -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
};
})