PDA

View Full Version : Data not loading again when one XJS app loaded into another.



xjscrafter
2 Dec 2013, 6:12 PM
I have a large ExtJS 4.2.2 app that loads another, smaller ExtJS app into a container like this:


init: function() {
this.control({
'cloudgraphitepanel': {
render: function () {
Ext.getDom('myContainer').src = 'http://10.20.20.320';
}
}
});
}




I realize it might not be the best way to load one ExtJS app inside another one, but for now I have a question.

The embedded app has a tree, and when items in the tree are clicked, a chart displays. The first time I click on a tree item, the chart displays correctly. But if I click on another node, and then click on the first clicked node, the chart does not display.

Any ideas would be greatly appreciated.

scottmartin
3 Dec 2013, 1:20 PM
Are you using a iFrame to embed the app?

Are there any error messages when you perform this a 2nd time?