kyousuke
7 Sep 2011, 12:09 AM
var menu = Ext.create("Ext.panel.Panel", {});
var main = Ext.create("Ext.panel.Panel", {});
Ext.create("Ext.container.Viewport", {
renderTo: Ext.getBody(),
layout: "border",
items: [menu, main]
});
When I click the menu, main panel will load a page test.jsp. Then I will click a button in test.jsp, it will forward to other page test2.jsp.But I want the test2.jsp load in the main panel. How to do it?
var main = Ext.create("Ext.panel.Panel", {});
Ext.create("Ext.container.Viewport", {
renderTo: Ext.getBody(),
layout: "border",
items: [menu, main]
});
When I click the menu, main panel will load a page test.jsp. Then I will click a button in test.jsp, it will forward to other page test2.jsp.But I want the test2.jsp load in the main panel. How to do it?