1. #1
    Ext User
    Join Date
    Mar 2009
    Posts
    2
    Vote Rating
    0
    thirteenthstep is on a distinguished road

      0  

    Default Use same Dispatcher with several modules

    Use same Dispatcher with several modules


    Hi,
    I'd like to put several, undependent compiled widgets on my JSP and let them interact. Is there a way to access the same dispatcher from every module/widget?

  2. #2
    Ext JS Premium Member jadrake75's Avatar
    Join Date
    Sep 2008
    Posts
    108
    Vote Rating
    3
    jadrake75 is on a distinguished road

      0  

    Default


    Dispatcher is a singleton. Or do you have a page which has a few iFrames and in each iFrame is a separate GXT application? Can you explain your issue more? (ie. I use many modules in my application, but they are within a single Viewport, so it is the same "application").

  3. #3
    Ext User
    Join Date
    Mar 2009
    Posts
    2
    Vote Rating
    0
    thirteenthstep is on a distinguished road

      0  

    Default


    There are several GXT Applications. They aren't located in different iframes, but each has its own EntryPoint and compiled javascript output embedded in page. Now the question is how to communicate, if widget1 calls Dispatcher.get() and next widget2 calls Dispatcher.dispatch() there's a nullpointer, what leads me to the conclusion every widget uses its own dispatcher, though events of widget2 are "disturbing" widget1 in some way, causing unexpected behaviour in history-navigation.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar