Hi @ll,

I'm working on my first Ext JS 4 and I want to show an "create" button that shows a window with a form. As per description in the mvc application architecture guide I create the window in my controller within the control function:

Code:
            '#insertFileButton': {
                click: function(button, event, options) {
                    var view = Ext.widget("fileedit");
                    view.down("form").loadRecord(Ext.ModelManager.create({}, 
                            "de.rotex.fileboxx.model.FbFile"));
                }
            }
As you can see, I run the loadRecord function and create an new model instance of FbFile. Is this the intended way to create a new instance and bind it to a form, or is there a better solution?

Thanks 4 tips!
cowabunga1984