Page reloads continuously- AjaxLazyLoadPanel ?

2014-07-18 Thread Vishal Popat
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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Page reloads continuously- AjaxLazyLoadPanel ?

2014-07-18 Thread Martin Grigorov
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 vishal.po...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Page reloads continuously- AjaxLazyLoadPanel ?

2014-07-18 Thread vp143
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-tp471p475.html
Sent from the Users forum mailing list archive at Nabble.com.

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



Re: Page reloads continuously- AjaxLazyLoadPanel ?

2014-07-18 Thread Martin Grigorov
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 vishal.po...@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-tp471p475.html
 Sent from the Users forum mailing list archive at Nabble.com.

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




Re: Page reloads continuously- AjaxLazyLoadPanel ?

2014-07-18 Thread vp143
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-tp471p479.html
Sent from the Users forum mailing list archive at Nabble.com.

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