PDA

View Full Version : Tree Data is seen in Preview but not seen in browser



spendkar
19 May 2010, 8:39 AM
Hi All,

I am using Tree panel as west region and set url as http://extjs.com/forum/forums-remote.php in designer (for test).

I could see the tree data as nodes and leafs in designer preview, But the tree data is not seen in browser.

here is the code generated in designer


/*
* File: RetailStoreManagement.ui.js
* Date: Wed May 19 2010 21:59:28 GMT+0530 (India Standard Time)
*
* This file was generated by Ext Designer version xds-1.0.0.10c.
* http://www.extjs.com/products/designer/
*
* This file will be auto-generated each and everytime you export.
*
* Do NOT hand edit this file.
*/

RetailStoreManagementUi = Ext.extend(Ext.Viewport, {
layout: 'fit',
initComponent: function() {
this.items = [
{
xtype: 'window',
title: 'RetailStoreManagement',
width: 400,
height: 250,
maximizable: true,
minimizable: true,
modal: false,
plain: false,
hidden: false,
layout: 'border',
ref: 'mainWindow',
items: [
{
xtype: 'panel',
title: 'content',
region: 'center',
ref: '../content'
},
{
xtype: 'treepanel',
title: 'My Tree',
region: 'west',
width: 170,
collapsible: true,
split: true,
rootVisible: true,
ref: '../treePanel',
root: {
text: 'Root Node',
leaf: false,
expanded: true,
ref: '../../rootNote'
},
loader: {
url: 'http://extjs.com/forum/forums-remote.php',
preloadChildren: true,
clearOnLoad: false
}
}
]
},
{
xtype: 'panel',
title: 'System Logon',
width: 250,
height: 150,
frame: true,
layout: 'form',
bodyBorder: true,
labelAlign: 'left',
ref: 'logonPanel',
items: [
{
xtype: 'textfield',
fieldLabel: 'USER',
anchor: '100%'
},
{
xtype: 'textfield',
fieldLabel: 'PASSWORD',
anchor: '100%',
x: 0,
y: 40
},
{
xtype: 'button',
text: 'LOGON',
x: 220,
y: 100,
ref: '../logonButtion'
}
]
}
];
RetailStoreManagementUi.superclass.initComponent.call(this);
}
});

jarrednicholls
19 May 2010, 10:29 AM
http://www.extjs.com/forum/forums-remote.php does not return data, it returns a 500 internal server error. extjs.com redirects to www.extjs.com, and we've recently moved our server infrastructure elsewhere.

spendkar
19 May 2010, 7:45 PM
today I checked the example Ext JS Forum Browser link : http://www.extjs.com/deploy/dev/examples/forum/forum.html on extjs.com site seems it is also not working.


Yesterday I could see tree panel there in west region.