Re: Sharing objects between several windows to enable interaction

2011-02-02 Thread Terje Andre Johansen
After some more consideration I have dropped my way of doing it. In theory it would be possible by sharing an EventBus between the different windows. By using JSNI I could do window.eventbus = th...@gwt.foo.eventBus and then do window.open(someotherwindow). In this other window I could do

Re: Sharing objects between several windows to enable interaction

2011-02-02 Thread jscheller
You might take a look at the gwt-dnd framework, specifically the 'Example 7' windowing sample... http://allen-sauer.com/com.allen_sauer.gwt.dnd.demo.DragDropDemo/DragDropDemo.html#WindowExample That's one way to have the behavior of multiple windows/views within a single GWT app/browser window.

Sharing objects between several windows to enable interaction

2011-02-01 Thread Terje Andre Johansen
I am working on a project where I am using GWT to visualize biological data in several ways. This is done by searching for a gene by name, and what I want to happen is for each visualization to get its own window to display its data. The reason for this is that there is huge amounts of data, and

Re: Sharing objects between several windows to enable interaction

2011-02-01 Thread Jeff Schwartz
Have you considered using GWT tabs or some other ui feature (roll your own if you have to) that would provide multiple views other than opening multiple browser windows or tabs? I really don't like it when applications open multiple browser windows or tabs and consider that a UI faux pas :). On

Re: Sharing objects between several windows to enable interaction

2011-02-01 Thread Terje Andre Johansen
As far as I can see this would force me to re-render each view on change and also make it harder for a user to compare the different views. Further if the user has multiple screens, I think using several Windows is better than using only one. Your idea is good, however its not what I want to do if

Re: Sharing objects between several windows to enable interaction

2011-02-01 Thread Greg Dougherty
The first problem you face is that each browser window represents a separate GWT application. The second one you face is that, to the best of my knowledge, there are only two ways those applications can communicate with each other: via the server, and via cookies. A third problem you face is

Re: Sharing objects between several windows to enable interaction

2011-02-01 Thread Jeff Schwartz
If I were dealing with as dense an amount of data as you seem to be dealing with I'd look to use 1 physical window with possibly multiple view ports to present it all. Just MHO and YMMV. On Tue, Feb 1, 2011 at 10:20 AM, Terje Andre Johansen terje.andre.johan...@gmail.com wrote: As far as I can