Hello,

i use the desktop-example for my own project. When i define a new window, i use the "loader"-property to show another url in my window. but finally, when i open the window, i see only the rendered html, not the forms, i defined in the javascript-tag.

My question: how to use the loader to display a form in my window? Btw: i set the "scripts"-property to true.

Thanks for your help.

Regards,

Cid


The .js-file:
Code:
win = desktop.createWindow({
     id: '...',
     title: '...',
     width: 640,
     height: 480,
     iconCls: '...',
     animCollapse: false,
     border: false,
     hideMode: 'offsets',
     loader: {
         url: MyDesktop.Catalyst.uri_for('/.../...'),
         autoLoad: true,
         scripts: true
     }
})
The Catalyst-Template:
Code:
<script type="text/javascript">
  Ext.onReady(function() {
    Ext.create('Ext.panel.Panel', {
      layout: {
        type: 'accordion',
        animate: true
      },
      items: [{
        xtype: 'form',
        id: '...',
        frame: true,
        title: '...',
        plain: true,
        ...