For 2 days trying to resolve the "Non unique view id: " error message. The error is caused by this innocent line of code:
<config id="Form_Config_for_Element_2000" labelWidth="180" name="elementsConfig"/>
Have anybody seen this error before?
The form is pretty generic: http://webix.com/snippet/5b8de305
Just in case, here is the code I’m using to load the form (executed outside of example, in the grid):
function(id, e, node)
{
var recordUserPageElement = this.getItem(id.row);
webix.ajax("ConfigGenerator.ashx", function(text){
var UIDesignerUserPagesAccordionItem = $$("PageElementPropsLayout");
var childForm = UIDesignerUserPagesAccordionItem.getChildViews()[0];
var configElementPropertiesForm = webix.markup.parse(text, "xml");
if(childForm !== undefined) UIDesignerUserPagesAccordionItem.removeView(childForm);
var configElementPropertiesForm = webix.markup.parse(text, "xml");
UIDesignerUserPagesAccordionItem.addView(configElementPropertiesForm, 0);
});
}