Balaji Vaddepalli
1 Dec 2009, 10:02 AM
Hi All,
I am trying to open the archive database link in new window from my database but not suceed, I am using the below code, can any one tell me how can we do this?
Function declaration in Ext.onReady(function()
var archmod = {
title: 'Archive',
autoScroll: true,
id: 'archive',
bodyCfg : {
tag : 'iframe',
frameBorder : 0,
style : {overflow : 'auto'},
src : 'http://mddev100/ACN/PaidCheckCopyRequestWebArchive.nsf?OpenDatabase',
width : '100%',
plain: false,
height : '100%'
}
-----------------------------------------------------------------------------------
xtype: 'button',
bodyStyle: 'width:20px',
text: 'Archive',
//target: 'center',
listeners: {click: function(){
/*
if(Ext.get("archive")) {
centerTabPanel.setActiveTab("archive")
} else {
var newtab = centerTabPanel.add(archmod).show();
}
*/
var query='http://mddev100/ACN/PaidCheckCopyRequestWebArchive.nsf';
var qWin = new Ext.Window({
title: 'Archive',
width:600,height:400,
modal:true,
autoLoad:{
url:query (http://www.extjs.com/forum/query)
}
});
qWin.show();
Thanks in advance...
Regards
Balaji.
I am trying to open the archive database link in new window from my database but not suceed, I am using the below code, can any one tell me how can we do this?
Function declaration in Ext.onReady(function()
var archmod = {
title: 'Archive',
autoScroll: true,
id: 'archive',
bodyCfg : {
tag : 'iframe',
frameBorder : 0,
style : {overflow : 'auto'},
src : 'http://mddev100/ACN/PaidCheckCopyRequestWebArchive.nsf?OpenDatabase',
width : '100%',
plain: false,
height : '100%'
}
-----------------------------------------------------------------------------------
xtype: 'button',
bodyStyle: 'width:20px',
text: 'Archive',
//target: 'center',
listeners: {click: function(){
/*
if(Ext.get("archive")) {
centerTabPanel.setActiveTab("archive")
} else {
var newtab = centerTabPanel.add(archmod).show();
}
*/
var query='http://mddev100/ACN/PaidCheckCopyRequestWebArchive.nsf';
var qWin = new Ext.Window({
title: 'Archive',
width:600,height:400,
modal:true,
autoLoad:{
url:query (http://www.extjs.com/forum/query)
}
});
qWin.show();
Thanks in advance...
Regards
Balaji.