PDA

View Full Version : Retrieving DisplayField values from ExtJs to another controller



srautpyaa
20 Dec 2012, 4:28 AM
Hi Friends,
I have developed extjs which contains a form with DisplayFields. Now i want to retrieve DisplayField values from ExtJs to Controller(Spring). Pls help me.


Thanks & regards
satyaprasad veeramsetti

friend
20 Dec 2012, 11:02 AM
You can add custom/extra parameters to be submitted along with your form data by add a params object to the submit() method:



someForm.submit({
url: 'someSubmitUrl',
params: {
someParamName1: someDisplayField.getValue(),
someParamName2: someOtherDisplayField.getValue()
},
success: function(form, action) {
// do something.
},
failure: function(form, action) {
// do something.
}
});

srautpyaa
20 Dec 2012, 9:46 PM
Thank u for reply..............

srautpyaa
21 Dec 2012, 1:22 AM
Thanks