PDA

View Full Version : Sending a http get/post



alex1001
7 Mar 2010, 1:10 PM
Hi,

Quick question, I know how to send a post data to server using the formpanel url.

What I want to do is to be able to call a resource on the server at any time I require. The formpanel way (what I assume is the 'default' way of posting data in extjs) is not what I require in order to do this. Is there another way to do this in Extjs ?

Cheers,

Alex

Animal
7 Mar 2010, 1:28 PM
What do you mean "not what I require"? It posts parameters.

You could call Ext.Ajax.request yourself.

But what do you want to do?

Animal
7 Mar 2010, 1:28 PM
What do you mean "not what I require"? It posts parameters.

You could call Ext.Ajax.request yourself.

But what do you want to do?

talha06
7 Mar 2010, 1:59 PM
You can do this in two ways:


First way is making AJAX requests to server.
The other one is using servlets as a linker between client side and server side. (especially if you want to make filter or if you need a dispatcher)

Hope this helps.
T

alex1001
7 Mar 2010, 3:59 PM
What do you mean "not what I require"? It posts parameters.

You could call Ext.Ajax.request yourself.

But what do you want to do?

Thats what I was looking for.....Thanks