Hybrid View

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2013
    Location
    Boulder, CO
    Posts
    538
    Vote Rating
    7
    DavidThi808 is on a distinguished road

      0  

    Default passing additional config props to init

    passing additional config props to init


    Hi;

    I need to set things like a proxy api read uri and a TreeStore root name programatically. I believe the way to do this is by passing in additional config properties. However, I can't figure out how to do this in Architect. Is there something that explains how to do this?

    thanks - dave

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2013
    Location
    Boulder, CO
    Posts
    538
    Vote Rating
    7
    DavidThi808 is on a distinguished road

      0  

    Default


    Help please.

  3. #3
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    550
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default


    Maybe this old thread can help...
    http://www.sencha.com/forum/showthread.php?263665

  4. #4
    Sencha Premium Member
    Join Date
    Jun 2013
    Location
    Boulder, CO
    Posts
    538
    Vote Rating
    7
    DavidThi808 is on a distinguished road

      0  

    Default


    Hi;

    That will work for one case - thank you.

    But for the other cases, we have windows that are called on the fly and we only know the url for the datasource at the time we call it. And it will change each time we call. Is there a way to pass in the url?

    thanks - dave

  5. #5
    Ext JS Premium Member tangix's Avatar
    Join Date
    Mar 2010
    Location
    Stockholm, Sweden
    Posts
    550
    Vote Rating
    50
    tangix is a jewel in the rough tangix is a jewel in the rough tangix is a jewel in the rough

      0  

    Default


    OK - tougher one.
    In one of my projects I am handling multiple tabs by creating individual stores for each tab (each tab has a grid and a couple of comboboxes) and then setting references to the grid in the tab to that store in the tab instance.
    I found out that I needed to be careful not to leak objects and when I close a tab I had to do a manual Ext.destroy() on the store.

    /Mattias

  6. #6
    Sencha Premium Member
    Join Date
    Jun 2013
    Location
    Boulder, CO
    Posts
    538
    Vote Rating
    7
    DavidThi808 is on a distinguished road

      0  

    Default


    Let me ask you a larger question - do you think Architect is worth it with the stuff like this you have to do?

    I'm starting to think we should create the initial window layout in Architect, then copy that over to our code base and at that point use WebStorm instead.

    ??? - thanks - dave

Thread Participants: 2

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