1. #1
    Sencha User
    Join Date
    Aug 2010
    Posts
    303
    Vote Rating
    3
    steve1964 is on a distinguished road

      0  

    Default Dynamic set the url proxy of a DataStore

    Dynamic set the url proxy of a DataStore


    Is it possible to dynamic change the proxy url config of a DataStore?

    Code:
     var peopleStore = new Ext.data.Store({
               model    :  'peopleModel',
               autoLoad : true,
               proxy    : {
                   type   : 'ajax',
                   url    : 'php/people.php?username=test&distance=100',
                   reader : {
                       type : 'json',
                       root : 'people'
                   }
               }
            });
    this for example is the initial setup of the Datastore, i want to change the url to pass another distance for example and update the datastore

  2. #2
    Sencha User
    Join Date
    Aug 2010
    Posts
    303
    Vote Rating
    3
    steve1964 is on a distinguished road

      0  

    Default Solved!

    Solved!


    Sorry, i solved...

    Code:
    store.proxy.url = 'foo';

Similar Threads

  1. Datastores is it url or is it proxy?
    By Elijah in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 19 Jan 2011, 3:51 PM
  2. Proxy dynamic url
    By g13013 in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 16 Jun 2009, 2:31 AM
  3. DataStore Proxy used in different places
    By mcohnen in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 5 Feb 2008, 3:49 AM
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