简体   繁体   中英

Send parameters in autoLoad with Ext.Window

i have a Ext.Window and i load TabPanel in it wiht autoLoad from another jsp:

var x = new Ext.Window({
  id: 'myWindow', 
  title:'Аттрибуты',
  layout: 'fit',
  autoScroll:false,
  width:600,
  autoLoad : {  
   url : url_servlet+'form.jsp',  
   scripts: true  
  }
})
x.show();

Now i want to send parameters in form.jsp in this autoLoad. Its possible or i gonna send parameters in url?

try adding params in autoLoad config

autoLoad : {  
   url     : url_servlet+'form.jsp',  
   scripts : true ,
   params  : {param1:'val1',param2:'val2'} 
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM