wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Lazy modal window
Date Mon, 11 Mar 2019 12:17:12 GMT
On Mon, Mar 11, 2019 at 2:07 PM Zbynek Vavros <zbynekvavros@gmail.com>
wrote:

>  Let's say modal windows does some quite expensive query and user never
> displays this window.
> In this case the query will be done even when not needed.
>
> Is there any other way to make sure the content isn't loaded until needed?
>

The content of the ModalWindow is shown after your application executes
modalWindow.show(target), e.g. after clicking on a link/button.



>
>
> On Mon, Mar 11, 2019 at 1:05 PM Martin Grigorov <mgrigorov@apache.org>
> wrote:
>
> > Hi,
> >
> > On Mon, Mar 11, 2019 at 11:51 AM Zbynek Vavros <zbynekvavros@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > I see content of modal windows being created even before the window was
> > > displayed.
> > > Is proper way to make this lazy by using AjaxLazyLoadPanel in
> > > ModalWindow.setContent ?
> > >
> >
> > This is a matter of requirements/taste.
> > Your users would prefer to see the content as soon as possible.
> >
> >
> > >
> > > Thanks
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message