Connecting two DialogBoxes in GWT
Posted
by Apophenia Overload
on Stack Overflow
See other posts from Stack Overflow
or by Apophenia Overload
Published on 2010-04-13T07:15:37Z
Indexed on
2010/04/13
7:33 UTC
Read the original article
Hit count: 212
In my GWT project, I'm trying to get it so two DialogBoxes can pass information between each other. One of them holds a MapWidget, and when a button is pressed in the other DialogBox, the position information is received from that other DialogBox's MapWidget. Does anyone have any tips for how I should coordinate between having two different DialogBoxes show up? Should I wrap the code for the two in a Composite? Furthermore, is there an example anywhere of dealing with two DialogBoxes at once in GWT? For example, if I click outside of the two boxes, both should be dismissed. I'm wondering if there's a way to keep both of them in focus at once, so I can switch between the two without causing either to disappear.
© Stack Overflow or respective owner