1. #1
    Sencha Premium Member
    Join Date
    Sep 2012
    Posts
    79
    Answers
    4
    Vote Rating
    7
    zz9pa is on a distinguished road

      0  

    Default Unanswered: DirectStore with parameters..

    Unanswered: DirectStore with parameters..


    I can get a direct store to work with parameters by passing them in on the .load - but is there any way to pass them otherwise ?

    Normally - I seem to be able to do it with something like :

    store.getProxy().extraParams.paranName=somevalue
    store.load()


    for other store types, but this doesnt seem to pass them for a ext.data.directstore even when I've set paramOrder, ie. checking with the f12 console's show 'null' being passed for any parameters in the paramOrder.

    As I said - I can use parameters if I specify them on the load :

    store.load({params :
    {
    paranName: somevalue
    }});


    Any ideas ?

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    store.getProxy().extraParams.paranName=somevalue
    store.load()
    This is not right way to set extra params. Try this-
    Code:
    store.getProxy().extraParams = {paranName: 'somevalue'}
    store.load()
    also you can post extra params like -
    Code:
    store.load({
    params:{
            dynamicParam_1:'myValue_1', 
           dynamicParam_2:'myValue_2'
     }
    })
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

Tags for this Thread

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