yeah you are right my each of the module is compilable each is having
entryPoint class associated with it but
this is how we use to design a GWT module or is it possible to have GWT
module without EntryPoint class associated with it...?

actually we were having a single enrty point class for this module before
but it was making page very heavy.And it was taking more than 10seconds each
time to load when we deploy project online.
So for this we had decided to split modules and each page will have
different module associate with it.

but still we are not able find a solution for communication between two
modules.
and i didn't get your last line.

I m trying this as
following method is from master class as

CandidateMainView.java implements EntryPoint
//...
public static native void alertWindow()/*-{
 $wnd.alert('hello there i m in main...');
}-*/;


and i m trying to access this method from some other class which is getting
loaded into the inner frame.
CandidateAccountSetting.java implements EntryPoint

//..
private native void registerAFunction() /*-{
@com.verisona.bridge.client.CandidateMainView::alertWindow();

}-*/;

this should give an alert but it doesn't work.
is this what u r suggesting ?

--
Aditya


On Mon, Oct 18, 2010 at 3:26 PM, ep <eplisc...@googlemail.com> wrote:

> 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 <007aditya.b...@gmail.com> 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 <eplisc...@googlemail.com> wrote:
> > > hi, a small question, do you open contents from same host (as parent
> > > window) within your innerframe?
> >
> > > On 18 Okt., 09:26, Aditya <007aditya.b...@gmail.com> 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
> google-web-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > 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 google-web-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> 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 google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to