wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grigorov <mgrigo...@apache.org>
Subject Re: Ajax navigation loading div issue
Date Thu, 23 Apr 2015 13:49:32 GMT
Hi,

I'm afraid this is not possible.
The browser unloads the page (with all its elements, i.e. the loader too)
and then loads the new page.

It is possible only if you use single-page-application design, i.e. replace
the body with Ajax.

Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

On Thu, Apr 23, 2015 at 4:30 PM, Kovács Áron <kovaron1@gmail.com> wrote:

> Hello!
>
> I'm facing the following issue:
> I have a page with a button. I'm navigation to some other page by
> setResponsePage.
> I've set up a loading div with spinner which works great with the
> ajaxrequest.
> It shows it and hides it automatically.
>
> But I would like to use it in a way that the loading div should be
> displayed, until the arrival page comes in a state of onLoad.
>
> I can show the loading div from js code before navigating and hide in in
> the recipient page's OnLoadHeaderItem js call, but is there a way to do it
> manually?
>
> Thanks,
>
> Aron Kovacs
>

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