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.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar