1. #1
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    4
    Vote Rating
    0
    dsimcik is on a distinguished road

      0  

    Question Subclassing Ajax Proxy for Custom CRUD Functions?

    Subclassing Ajax Proxy for Custom CRUD Functions?


    I'd like to use the same Store for my user data handling. However, my CRUD Ajax operations are all different URL's (same hostname, different paths). If I wanted to work within the Store data model, I could potentially extend AjaxProxy with my own overridden Add and Update methods, but I have no idea what kinds of interactions the proxy CRUD methods have with the Store.

    After looking at ServerProxy.doRequest(), it seems like I could pass my own Operation to it and then somehow it would magically work.

    Any ideas? Would LOVE to get some direction/advice before I go down this rabbit hole.

    Thanks,
    DTS

  2. #2
    Ext JS Premium Member
    Join Date
    May 2009
    Posts
    4
    Vote Rating
    0
    dsimcik is on a distinguished road

      0  

    Default


    Is there a more obvious way around this problem?

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    34
    Vote Rating
    0
    pashute is an unknown quantity at this point

      0  

    Default Change the actionMethods

    Change the actionMethods


    Sencha 2.1

    You have to change the actionMethods property in the Rest Proxy.
    Define a function name for the Create, Read, Update and Delete
    and implement the functions.

Thread Participants: 1

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