Re: issue refreshing covered panel when modalwindow is open

2012-08-15 Thread Andrew Geery
Thanks for the answer, David. I do use the technique you use below and it works well. However, in your situation, I think you're updating active content. In my situation, I have a modal window which is active. When a button on the modal window is clicked, the modal window calls the send(...) me

Re: issue refreshing covered panel when modalwindow is open

2012-08-13 Thread David JavaDeveloper
Try to use the "replaceWith" method on the dataTable component. I'm attaching a piece of code where we use this method in (*another *but similiar) situation where we need to replace the content of a modal window when the selected line (of dataTable) is changed: add(new AjaxLink("details")

issue refreshing covered panel when modalwindow is open

2012-08-10 Thread Andrew Geery
I've run into this issue a couple of times and worked around it, but I wanted to see if there is a better way of handling it. I have a form in a panel in a ModalWindow on top of a datatable in a page. When a user clicks the Save ajax button in the modal window, a done event is bubbled up from the