I have two buttons on my UI. When each is clicked I need to show a popup
which is a subclass of the PopupPanel class

The condition is such that if Button A is clicked then show Popup A. This
popup has autohide=false, and it stays visible.
Next, when Button B is clicked then show Popup B. This popup too should stay
visible and has autohide=false.

When I try to create two separate instances of MyPopupPanel (which extends
PopupPanel), upon button clicks, the first click on Button A makes the Popup
A visible and on the second button B click the popup B shows up but Popup A
vanishes.

Any idea what could be wrong.

I invoke the popups inside button click handlers.

MyPopup pA = new MyPopup()

MyPopup pB = new MyPopup()

and then on each I use the setPositionAndShow() method.



Thank you,
Sunit Katkar

-- 
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.

Reply via email to