Error: namespace is undefined
Designer version tested:Operating System:Framework:Description:- When I link a class into another class I get "namespace undefined" error
Steps to reproduce the problem:- Create a form panel
- Create a window
- Link panel into the window
- Export your code and execute your application
The result that was expected:- the window showing with the inner panel
The result that occurs instead:- javascript error: namespace is undefined
Possible fix:- insert alias property into the ui class with magic word 'widget'
Code:
Ext.define('MyApp.view.ui.MyForm', {
extend: 'Ext.form.Panel',
alias: 'widget.myform',
.....