1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
    sachint is on a distinguished road

      0  

    Default Extj 4.0 Example with plane java file.

    Extj 4.0 Example with plane java file.


    Can some one tell me . How to pass data from ajax to server side by using json

  2. #2
    Ext JS Premium Member
    Join Date
    Jun 2010
    Posts
    100
    Vote Rating
    11
    h.wagner@telekom.de will become famous soon enough

      0  

    Default


    Quote Originally Posted by sachint View Post
    Can some one tell me . How to pass data from ajax to server side by using json
    You can use the Jackson library: http://jackson.codehaus.org/ that can take care of your JSON in both directions. For the Client -> Server direction, e.g. : http://stackoverflow.com/questions/3...ode-in-jackson

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    2
    Vote Rating
    0
    sachint is on a distinguished road

      0  

    Default


    Wagner Thanks for ur reply, But I'm looking an sample example for reference , which will save the data into oracle table if i change editable grids. if you have any sample please provide.

  4. #4
    Sencha User
    Join Date
    May 2011
    Posts
    3
    Vote Rating
    0
    amiral is on a distinguished road

      0  

    Default


    Simple example


    Code:
    var data = {
     name : 'Obama',
    status : 'President'
    }
    Ext.create('Ext.data.Store', {
    model : 'myModel',
    proxy : {
                    type: 'ajax',
                    url: 'cetimProject.search',
    	        	extraParams : {
    		        	jsonParam: data,
    	       		}
        	},
    autoLoad : true
    });
    this send automatically request with jsonParam on param and json value on value
    NB: you can use Ext.encode() and Ext.decode() for encoding and decoding the jsonObject on String

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi