1. #1
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    triple is on a distinguished road

      0  

    Question Ext.data.Store server communication

    Ext.data.Store server communication


    Hi,

    I am using a grid panel which gets its data from a php file on the server via JSON. Therfore I crated a HttpProxy (proxy: new Ext.data.HttpProxy({ url:...). Works fine.

    My problem is the way back. When my handler calls the remove function of my datastore, EXT is calling my HttpProxy URL automatically. Via Firebug I can see that this happens with POST method and with some JSON code. Unfortunately I don't know how to process this data in my php file since the $_POST variable is empty. I couldn't find any examples.

    Please help me!

    Steve

  2. #2
    Ext User
    Join Date
    Mar 2010
    Posts
    3
    Vote Rating
    0
    triple is on a distinguished road

      0  

    Default SOLUTION:

    SOLUTION:


    I just needed to set encode:true within the JsonWriter object. By doing so Ext is sending POST data instead of JSON code to the given url.

    Hope this will help someone.

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