1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    8
    Vote Rating
    0
    StefanGlaesser is on a distinguished road

      0  

    Default Answered: How can I call Controller-Function from refreshFn() ?

    Answered: How can I call Controller-Function from refreshFn() ?


    Hello,

    I have a function getResults() which loads a JSONP-Store and makes some things with the result.
    These things are implemented in my controller (I have currently only one). Now I want to reuse the same function within the refreshFn() - defined in the PullRefreshPlugin. So how can I call it from there?

    Best regards,
    Stefan

  2. You can call FireEvent and Listen for it in your Controller.

    OR

    you get the Controller and launch the Function like:
    APPNAME.app.getController("CONTROLLERNAME").FunctionToLaunch();

  3. #2
    Sencha User
    Join Date
    Feb 2012
    Location
    Germany
    Posts
    72
    Answers
    8
    Vote Rating
    2
    enno is on a distinguished road

      0  

    Default


    You can call FireEvent and Listen for it in your Controller.

    OR

    you get the Controller and launch the Function like:
    APPNAME.app.getController("CONTROLLERNAME").FunctionToLaunch();

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