PDA

View Full Version : How to use params in ActionClass ?



Anup Rana
13 Oct 2010, 11:25 PM
I have to send parameter with submit .So can anyone help me how to send the parameter to Action Class.
params:
{
index:id
}
Can we do with params ?

codeart.ch
17 Oct 2010, 5:41 PM
Sry i dont understand your problem.

Do you want send addition parameters with the form or you just asking "how to submit a form with extjs" ?

For the first one:
http://dev.sencha.com/deploy/dev/docs/?class=Ext.form.BasicForm

For the second one this should help:

FormPanel.getForm().submit({url:'action.php', waitMsg:'Saving Data...', submitEmptyText: false});

greetings Simon