Hi ,
Use get element by Id to check if the view exist and if so :
cmpEmpChar.destroy();
and then use your code.
the above stand for any other object related to the XML view.
Check your console for "Duplicate ID" error mesages.
Hi ,
Use get element by Id to check if the view exist and if so :
cmpEmpChar.destroy();
and then use your code.
the above stand for any other object related to the XML view.
Check your console for "Duplicate ID" error mesages.