Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha User Kikketer's Avatar
    Join Date
    Apr 2012
    Location
    Wausau, WI
    Posts
    135
    Vote Rating
    7
    Kikketer is on a distinguished road

      0  

    Default Custom Extended Proxy "Create Override"

    Custom Extended Proxy "Create Override"


    I need to create a custom AJAX proxy for my server requests. Architect doesn't seem to support this easily if at all:
    Screen Shot 2013-10-03 at 3.44.54 PM.png
    After clicking the "Create Override for this Class" nothing happens. The option disappears for the "Ajax Proxy" until I restart Architect.

    I would ideally like to create the override, then be able to add it to a store. I'm not sure if the store's default list of proxies would change if I somehow got the override to work correctly:
    Screen Shot 2013-10-03 at 3.48.14 PM.png

    Please help! This is a critical hurdle to move forward with Sencha!

  2. #2
    Sencha - Architect Dev Team
    Join Date
    Jul 2012
    Posts
    268
    Vote Rating
    26
    honestbleeps will become famous soon enough honestbleeps will become famous soon enough

      0  

    Default


    I see 2 possibilities here:

    1) it's somewhat easy to miss, but when you perform that action, you should see a new resource under "Resources" in the inspector - by default it'll be called Ajax.js -- any chance you just didn't notice that?

    2) If that's not the case, there may have been a bug in older builds of 3.0 that have since been fixed - because when I perform the same action, I do get a resource created!

    Either way, it looks like it should work just fine in any future release of 3.x.

    I can't give specific dates on the next build we'll push out, etc, but if the issue is in fact a bug, you can at least check out an example that does roughly the same thing.in the meantime - https://github.com/SenchaArchitect/Kiva is an example of an Architect project that uses an external resource with a custom proxy.

    I hope that helps! Please let me know if you have additional questions/issues.
    Steve Sobel
    @honestbleeps
    Sencha Architect Development Team

  3. #3
    Sencha User Kikketer's Avatar
    Join Date
    Apr 2012
    Location
    Wausau, WI
    Posts
    135
    Vote Rating
    7
    Kikketer is on a distinguished road

      0  

    Default


    Good call, I didn't see it show up in the Resources. Ok so now Ajax.js is there, I didn't modify it at all (so it should be the same as a standard ajax proxy).

    Now how do I tell my store to use this new Ajax.js proxy? I still only see the default proxies in the list when I attempt to add a proxy to the store:
    Screen Shot 2013-10-03 at 3.48.14 PM.png
    I'm sorry if I'm being unclear of the issue. It seems I've asked this every way that I can, and am still stuck at this place. I just want to do what Kiva did somehow.

    --
    I downloaded the Kiva project and opened it up in SA3. The initial setup in the CMD window, this error is thrown:
    Code:
    C2008: Requirement had no matching files (Ext.data.proxy.Kiva) -- /private/var/folders/w_/g31j1h_54yb_v0zpkcl0s5bw0000gn/T/8zjm/Kiva/app.js:25:10
    I did notice however that the Loans store had a KivaProxy:
    Screen Shot 2013-10-04 at 11.14.43 AM.png
    Now how was that added? I did something crazy and removed the KivaProxy and attempted to add it back. No luck:
    Screen Shot 2013-10-04 at 11.16.48 AM.png

    This is a critical factor in our proof of concept for my company (fortune 100). If we cannot override proxies easily in the IDE, I fear we will have to revert back to using jQuery Mobile + BackboneJS.

  4. #4
    Sencha - Architect Dev Team
    Join Date
    Jul 2012
    Posts
    268
    Vote Rating
    26
    honestbleeps will become famous soon enough honestbleeps will become famous soon enough

      0  

    Default


    So, what you'll need to do is basically just what we did in the Kiva app:

    1) in your Ajax.js, give it an alias, like so:

    alias: 'proxy.yourclassname',

    2) add an Ajax Proxy (a normal one, not your override), and set the createAlias config to "yourclassname"

    That should be all you need to do!

    For a working example I'd definitely recommend checking out that Kiva app I linked, just in case you need to see how anything else was accomplished - but I believe the above should answer your current question.

    Please let us know if you do need additional assistance
    Steve Sobel
    @honestbleeps
    Sencha Architect Development Team

  5. #5
    Sencha User Kikketer's Avatar
    Join Date
    Apr 2012
    Location
    Wausau, WI
    Posts
    135
    Vote Rating
    7
    Kikketer is on a distinguished road

      0  

    Default


    Sorry that these two things kind of merged into one, but it's been answered in the questions portion. The override seems to work fine, so this defect can be marked as "unrepeatable".

    http://www.sencha.com/forum/showthre...roxy&p=1001066

    Thanks for the help!

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