Thursday, July 5, 2012

Call GWT from Frame

Hi,
    I am relatively new to GWT and have a question about how frames work.  I have put a frame inside of a tabpanel.

Something like:

Frame frame = new Frame("http://localhost:8080/xopus/examples/simple/start.html");
frame.setSize("900px", "900px");

final TabPanel tp = new TabPanel();
tp.setSize("900px", "900px");
tp.add(frame,"XOpus");

This works fine for loading of the frame but I want to be able to make calls back into GWT from my separate servlet (contents of the frame).  This will need to be a two way communication.  Sometimes actions within GWT will need to propogate into the other servlet and other times actions within the servlet will need to call actions within GWT.  I can create those actions in their respective environments but I am having a hard time determining how to link the two together.

Does that make sense?

Any help/thoughts would be appreciated.

Thanks,
Craig

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/rSRf0NHtgEkJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment