You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Vishal Popat <vi...@cipriati.co.uk> on 2014/07/18 10:47:02 UTC

Page reloads continuously- AjaxLazyLoadPanel ?

Hi,

I have upgraded from 6.7.0 to 6.16.0 and now one of my pages continuously reloads.

On this page I have AjaxLazyLoadPanel which does not call getLazyLoadComponent method when using 6.16. It does call the constructor and does call getLoadingComponent method.

If I remove 6.16 jars and revert back to 6.7 it works fine.

I have had a look at the release notes but cant find anything that I may need to do to upgrade.

Anyone have any thoughts?

Regards
Vishal


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Page reloads continuously- AjaxLazyLoadPanel ?

Posted by vp143 <vi...@cipriati.co.uk>.
Sorry, I missed the that post.
Works fine so far.
Many thanks

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-reloads-continuously-AjaxLazyLoadPanel-tp4666671p4666679.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Page reloads continuously- AjaxLazyLoadPanel ?

Posted by Martin Grigorov <mg...@apache.org>.
Note that the code at SO has been updated to handle "requestHandler
instanceof BookmarkableListenerInterfaceRequestHandler" too.

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


On Fri, Jul 18, 2014 at 4:03 PM, vp143 <vi...@cipriati.co.uk> wrote:

> Martin Grigorov-4 wrote
> > Upgrade Wicket version by version to identify in which version the
> > behavior
> > has changed.
>
> I found the wicket version to be 6.13+.
>
> I then removed virtually all code in the page except the AjaxLaxyLoadPanel
> but was still reloading.
>
> I then recalled I have used a customer MountedMapper that I had found here:
> http://stackoverflow.com/questions/8602489/delete-version-number-in-url
>
> And now in the comments I see that someone has also written it does not
> work
> for 6.13+.
>
> What is the best way to not cache the page and reload a fresh page every
> time?
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Page-reloads-continuously-AjaxLazyLoadPanel-tp4666671p4666675.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Page reloads continuously- AjaxLazyLoadPanel ?

Posted by vp143 <vi...@cipriati.co.uk>.
Martin Grigorov-4 wrote
> Upgrade Wicket version by version to identify in which version the
> behavior
> has changed.

I found the wicket version to be 6.13+.

I then removed virtually all code in the page except the AjaxLaxyLoadPanel
but was still reloading.

I then recalled I have used a customer MountedMapper that I had found here:
http://stackoverflow.com/questions/8602489/delete-version-number-in-url

And now in the comments I see that someone has also written it does not work
for 6.13+.

What is the best way to not cache the page and reload a fresh page every
time?


--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-reloads-continuously-AjaxLazyLoadPanel-tp4666671p4666675.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Page reloads continuously- AjaxLazyLoadPanel ?

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Upgrade Wicket version by version to identify in which version the behavior
has changed.
Check the server logs. Maybe Wicket detects that the page is stale
(StalePageException) and re-renders it completely.
If nothing helps then create a quickstart and attach it to JIRA and we will
take a look.

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


On Fri, Jul 18, 2014 at 11:47 AM, Vishal Popat <vi...@cipriati.co.uk>
wrote:

> Hi,
>
> I have upgraded from 6.7.0 to 6.16.0 and now one of my pages continuously
> reloads.
>
> On this page I have AjaxLazyLoadPanel which does not call
> getLazyLoadComponent method when using 6.16. It does call the constructor
> and does call getLoadingComponent method.
>
> If I remove 6.16 jars and revert back to 6.7 it works fine.
>
> I have had a look at the release notes but cant find anything that I may
> need to do to upgrade.
>
> Anyone have any thoughts?
>
> Regards
> Vishal
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>