1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    64
    Answers
    2
    Vote Rating
    0
    punith.mailme is on a distinguished road

      0  

    Default Unanswered: Pass Data between Controller1 and Controller2

    Unanswered: Pass Data between Controller1 and Controller2


    Hi Friends,

    I have a Store which is loaded in controller1. But my controller2 can use the same data to display the view. I want to avoid loading the same store(i mean access service again from backend with ajax) again to retrieve the same data.

    So how can i access the store loaded in Controller1 and access in Controller 2.
    i am looking for something like a dispatcher.

    Thanks
    Punith

  2. #2
    Sencha User Fire-Dragon-DoL's Avatar
    Join Date
    Dec 2011
    Posts
    140
    Answers
    9
    Vote Rating
    1
    Fire-Dragon-DoL is on a distinguished road

      0  

    Default


    If you don't actually use the "load" method, it won't get loaded again (except for grid, because it uses paging).

    So, if your controller has into his stores: [] settings the store you are using, you can just call it with this.getStore('YourStore')

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