Think put tabb in the windows,but there are some perbolerms

I wanna put dhtmlXTabBar in dhtmlXWindows by。
The following is part of the code(js):
①window.onload = function() {
dhxWins = new dhtmlXWindows();
dhxWins.attachViewportTo(“edit”); //the “edit” is the name of one div
dhxWins.setImagePath(“dhtmlx/imgs/”);
var windid = document.getElementById(“basequerytype”).value;
wind = dhxWins.createWindow(windid,
document.body.clientWidth / 2 - 940 / 2,
document.body.clientHeight / 2 - 580 / 2, 940, 580);
dhxWins.window(windid).denyMove();
wind.denyResize();
wind.button(“close”).disable();
wind.button(“minmax1”).hide();
wind.button(“park”).hide();
wind.hide();

tabbar = new dhtmlXTabBar(“tabbar”, “top”);
tabbar.setSkin(‘dhx_skyblue’);
tabbar.setImagePath(“dhtmlx/imgs/”);
tabbar.addTab(“QAR_single”, “QAR单主单”, “200px”);
tabbar.addTab(“QAR_dispose”, “QAR单问题处理”, “200px”);
tabbar.setContent(“QAR_single”, “winVP1”);
tabbar.setContent(“QAR_dispose”, “winVP3”);
tabbar.setTabActive(“QAR_dispose”);
tabbar
.attachEvent(
“onSelect”,
function(id, oid) {
if (id == “QAR_single”)
showtab2();
showtab2();
if (id == “QAR_dispose”) {
showtab2list();
}
return true;
});

}
②function modi() {
var id = datalist.getSelectedRowId();
document.getElementById(“tab2id”).value=id;
//datalist3.clearAll();
tabbar.setTabActive(“QAR_single”);
var id = datalist.getSelectedRowId();
if ((“” == id) || (null == id)) {
alert(“请选择要修改的选项!”);
return;
} else {
wind.setText(“QAR单”);
wind.attachObject(“edit”);
wind.progressOn();
wind.setModal(true);
wind.show();
}

}

=================
The following is part of the code(jsp)

............Ellipsis ...........Ellipsis

因为这里不能粘贴截图,只能口述了。希望以后在这里能直接粘贴图片。
当窗口弹出来的时候,页签里面的第一个tab默认是actvity的,但是里面的内容没有显示出来,除非先切换到第二个tab后再切换到第一个tab下才能显示出来。

Because this cannot paste the screenshot, can only say. Hope to be able to directly paste the picture here.

When the window pops up, is the default actvity first tab tab inside, but the contents are not shown, unless the first switch to the second tab after the switch to the first tab display.

Hello
We need completed demo to collect all the parts of your application.
Please, provide it with a screenshot you have described.
docs.dhtmlx.com/doku.php?id=othe … leted_demo
This forum provides possibility to attach files in the post.

But it seems to me that you only need attach tabbar in the window via methos ttachTabbar()