View Full Version : Help with extjs3.4 form submission - Please help

11 Dec 2013, 5:06 PM
I have another issue with extjs form submission. The following is my form.
It submits to the correct URL, but when it comes back it does not get into the success block.

Please help.

Thanks a lot.

xtype: 'form',
padding: 0,
margin: 0,
border: false,
timeout: 300,
url: '/wam-coldfusion/rest/api/simulator/report/refreshReportData',
height: 0,
region: 'north',
monitorValid: true,
standardSubmit: true,
id: 'leverageForm2',
fbar: {
xtype: 'toolbar',
buttonAlign: 'center',
id: 'leverageForm2Toolbar',
items: [
xtype: 'button',
text: 'Refresh Report Data',
type: 'submit',
formBind: true,
handler: function() {
waitMsg: 'Submitting for Report Generation ...',
success: function(form, action) {
Ext.Msg.alert('Success', action.result.message);
failure: function(form, action) {
Ext.Msg.alert('Failure', 'Export Unsuccessful!');


server code:

public void reloadLeverageReportData(){
//do a bunch of stuff

12 Dec 2013, 1:25 AM
Did you tried to set the scope?

12 Dec 2013, 8:50 AM
Thanks for the response.
I have not tried setting the scope. What shall be the scope that I should be setting it.

Gary Schlosberg
19 Dec 2013, 12:23 PM
Also being discussed here: