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, 2010 at 9:31 AM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:

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

Reply via email to