Re: Using a DataTable inside a Modal window

2010-02-03 Thread Ernesto Reinaldo Barreiro
Why not use an AJAX enabled version of the table, which does not triggers page reloads... e.g. AjaxFallbackDefaultDataTable Ernesto On Tue, Feb 2, 2010 at 4:24 PM, Dennis Buttery dbutt...@bplglobal.netwrote: Hi all, I'm trying to get a DataTable to work inside of a Modal window ... I

Re: Using a DataTable inside a Modal window

2010-02-03 Thread nino martinez wael
He probably does, there is a setting with modal window to avoid getting the message when using ajax.. Just cant remember it right now. 2010/2/3 Ernesto Reinaldo Barreiro reier...@gmail.com Why not use an AJAX enabled version of the table, which does not triggers page reloads... e.g.

Re: Using a DataTable inside a Modal window

2010-02-03 Thread Ernesto Reinaldo Barreiro
I guess if you use AJAX you wont get that message if only the table, or the contents of the modal are reloaded... I think this event is associated to the onload of the page which is triggered when you try to navigate away from the page but I might be wrong;-) Best, Ernesto On Wed, Feb 3,

Re: Using a DataTable inside a Modal window

2010-02-03 Thread nino martinez wael
There it was: http://old.nabble.com/Ajax-%2B-DropDownChoice-%2B-ModalWindow-td23292894.html#a23298945 script language=javascript type=text/javascript jQuery(document).ready(function(){ if (typeof Wicket != 'undefined'

Re: Using a DataTable inside a Modal window

2010-02-03 Thread Ernesto Reinaldo Barreiro
Hi Nino, I do use modal windows where parts of them are replaced via AJAX and I do not have that issue... What I think it is happening is -he is using a non AJAX table and when user navigates the table it triggers a page reload -onunload display the confirmation. -page is reloaded and modal is

Re: Using a DataTable inside a Modal window

2010-02-03 Thread nino martinez wael
hmm, you might be right.. I remember something about a dropdown box and onchange. Thats certainly not ajax. So either use ajax or instead or forward to another page and the return back again. I switched to the latter approach at some point for one project. 2010/2/3 Ernesto Reinaldo Barreiro

Using a DataTable inside a Modal window

2010-02-02 Thread Dennis Buttery
Hi all, I'm trying to get a DataTable to work inside of a Modal window ... I have a DefaultDataTable and is added to a panel which is used as the content of a modal window. Everything renders properly when the modal is opened. The problem starts when the user tries to navigate to