Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I believe the issue lies with the create statement within the window for the form. Changing this got me the desired result:</p> <pre><code>Ext.define('MyWindow', { extend : "Ext.window.Window", title: 'Hello', height: 200, width: 400, closeAction: 'destroy', layout: 'fit', items: [{ xtype: 'form', itemId: "Window", defaults: { labelAlign: 'top', msgTarget: 'side', labelWidth: 150, columnWidth: .33, padding: "10px 30x 10px 10px" }, layout: { type: 'column', columns: 3, align: 'stretch' }, items: { xtype: 'textfield', width: 100, fieldLabel: "Some input" } }] }); </code></pre> <p>In regards to <strong>update 1</strong>: Would you be able to add the constructor instead to the form?</p> <p>(modifications to the init and added render listener to the window)</p> <p>Because the form was not rendered yet, getForm() was undefined. I ended up adding listener to render in window to fulfill requirements of completion in window. Working fiddle available <a href="http://jsfiddle.net/dTKPy/" rel="nofollow">here</a></p> <pre><code>Ext.define('MyWindow', { extend : "Ext.window.Window", title: 'Hello', height: 200, width: 400, closeAction: 'destroy', layout: 'fit', listeners:{ render:function(win){ console.log('getting here'); win.down('form').getForm().load({"url":"hello"}); } }, items: [{ xtype: 'form', itemId: "Window", defaults: { labelAlign: 'top', msgTarget: 'side', labelWidth: 150, columnWidth: .33, padding: "10px 30x 10px 10px" }, layout: { type: 'column', columns: 3, align: 'stretch' }, items: { xtype: 'textfield', width: 100, fieldLabel: "Some input", name:'url' } }] }); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload