actually, you could be using HandlerManager as an event bus between all your modules, but I guess you trying to treat each of your modules as separate "gwt applications", each having an entry point and also each independently compilable / runnable? therefore you cannot just reference classes cross-wise?
in this case you could create a small API allowing message interchange or you follow observer pattern and the host page (being a master) can provide the implementation as a native JS code. On 18 Okt., 11:20, aditya sanas <[email protected]> wrote: > yes those are from same host in the same window. > > I have somewhere about 10 modules in my project out of which 1 is main > modules which contains a Frame(GWT). > and in this frame i m loading other 9 modules in the same window. > So i want main window and frame should communicate with each other. > that is there is should be some kind of message passing between these two > modules but i m finding it little difficult to do it as both are > from different modules and so the objects in one module is not accessible to > the other. > > -- > Aditya > > On Mon, Oct 18, 2010 at 2:03 PM, ep <[email protected]> wrote: > > hi, a small question, do you open contents from same host (as parent > > window) within your innerframe? > > > On 18 Okt., 09:26, Aditya <[email protected]> wrote: > > > Hello Guys, > > > > I am designing a web application using GWT which has one > > > inner frame which loads different modules whenever user selects any > > > menu from TOP frame that is from a main window. > > > > The problem where i have stuck now is whenever there is some error > > > occurred inside a frame which contains a different module then that > > > should notify main window about it. So I can handle all failure > > > messages in my main module. > > > > If anyone has implemented it before or has some threads that u have > > > gone thr' then please do reply. > > > > I had referred thishttp://gwt-ext.com/forum/viewtopic.php?f=2&t=2459 > > > this works fine as it is opening a new window but i want to open a > > > frame inside a same window which sends messages to parent window > > > containing it. > > > > -- > > > Aditya > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-web-toolkit%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
