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' && Wicket.*Window*) Wicket.*Window*.unloadConfirmation = false; }); </script> 2010/2/3 nino martinez wael <nino.martinez.w...@gmail.com> > 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. AjaxFallbackDefaultDataTable >> >> Ernesto >> >> On Tue, Feb 2, 2010 at 4:24 PM, Dennis Buttery <dbutt...@bplglobal.net >> >wrote: >> >> > 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 another >> page >> > of the table. At that point they get the "Do you want to navigate >> away..." >> > dialog and if they select 'ok' then the modal closes ... Reopening the >> > modal does put them on the correct page but it is not usable to have the >> > modal close each time navigation to another page is requested. >> > >> > So... What is the trick to getting the modal to stay open and allow >> the >> > user to navigate through the pages of the DataTable? >> > >> > >> > Thanks! >> > >> > >> > >