November Happy Hour will be moved to Thursday December 5th.

Custom EditorDescriptor for local blocks

Vote:
 

Hi,

 

Is it possible to use the standard functionality for forms editing local blocks GUI but use a custom dojo class?

 

The standard dojo class used is "epi/shell/layout/ParentContainer" and i have tried to use a custom EditorDescriptor like this:

 

[EditorDescriptor(EditorDescriptorType = typeof(MyCustomParentContainerEditorDescriptor))]

public virtual MyLocalBlock LocalBlockName { get; set; }

 

And MyCustomParentContainerEditorDescriptor points to a copy of "epi/shell/layout/ParentContainer". Correct markup is rendered in forms edting mode but it is completely empty, no title text or child properties are rendered. How are the arguments to the dojo class created? There is no implementation of EditorDescriptor which seems to handle local blocks. Does it exist a base class or some factory which can do this for me?

 

Best Regards

Niklas Furberg

#82541
Mar 14, 2014 10:42
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.