C# 클래스 Rebel.Cms.Web.Editors.AbstractContentEditorController

상속: StandardEditorController
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

보호된 메소드들

메소드 설명
AbstractContentEditorController ( IBackOfficeRequestContext requestContext ) : System.Linq
ReconstructModelPropertyIds ( BasicContentEditorModel contentViewModel ) : void

This method is used for creating new content and for updating an existing entity with new attributes that may have been created on the document type (attribution schema).

We need to paste the model back together now with the correct Ids since we generated them on the last Action and we've re-generated them again now. This is done by looking up the Alias Key/Value pair in the posted form element for each of the model's properties. When the key value pair is found we can extract the id that was assigned to it in the HTML markup and re-assign that id to the actual property id so it binds.

비공개 메소드들

메소드 설명
Delete ( HiveId id ) : System.Web.Mvc.JsonResult
Edit ( HiveId id ) : System.Web.Mvc.ActionResult

메소드 상세

AbstractContentEditorController() 보호된 메소드

protected AbstractContentEditorController ( IBackOfficeRequestContext requestContext ) : System.Linq
requestContext IBackOfficeRequestContext
리턴 System.Linq

ReconstructModelPropertyIds() 보호된 메소드

This method is used for creating new content and for updating an existing entity with new attributes that may have been created on the document type (attribution schema).
We need to paste the model back together now with the correct Ids since we generated them on the last Action and we've re-generated them again now. This is done by looking up the Alias Key/Value pair in the posted form element for each of the model's properties. When the key value pair is found we can extract the id that was assigned to it in the HTML markup and re-assign that id to the actual property id so it binds.
protected ReconstructModelPropertyIds ( BasicContentEditorModel contentViewModel ) : void
contentViewModel Rebel.Cms.Web.Model.BackOffice.Editors.BasicContentEditorModel
리턴 void