Heya, i'm creating a Formpanel:
inputForm = new Ext.FormPanel({
id:'inputForm',
frame: true,
closable:true,
collapsible:true,
renderTo:'somewhere',
layout:'anchor',
standardSubmit:true,
method: 'post',
items:[{ ... }]
)};
and use this submit button:
text:'run',
id: 'runButton',
handler:function(){
Ext.getCmp('inputForm').getForm().submit();
}
how can i open the submit page in a new window/tab ????
Check this sencha forum link
The relevant code snippet:
form.submit({
target : '_blank',
url : 'refdata/exportToXLS.do'
});