Re: Why do I have to close this dialogue box twice to get it to go away

2011-02-28 Thread Rob Tanner
You were right and it took me a while to find the second instance of creating the DialogBox(). Thanks, Rob On Feb 24, 2011, at 3:38 PM, John LaBanca wrote: > Widgets can't duplicate themselves, and even if you call clone() on the > element, the event handlers wouldn't work. You might be crea

Re: Why do I have to close this dialogue box twice to get it to go away

2011-02-24 Thread John LaBanca
Widgets can't duplicate themselves, and even if you call clone() on the element, the event handlers wouldn't work. You might be creating a second DialogBox or calling show() (or center()) twice. Can you put a breakpoint in PopupPanel#show() and see if it is being called twice? Thanks, John LaBan

Why do I have to close this dialogue box twice to get it to go away

2011-02-24 Thread Rob Tanner
Hi, I use DialogBoxes for error messages on many of my on-line forms. Hit the OK button (which does a close on the DialogBox) and they go away. That's the way it should be. Now I'm working on a form that requires users to read and accept a policy statement. I want to set it up like a lot of lic