Re: Render multiple panels concurrently

2015-06-14 Thread Martin Grigorov
Hi, I have used [1] for similar task some times ago. I needed to make calls to external services which took some time. Wicket renders the components sequentially so the total time was the sum of all. By using FutureModel I reduced it to the time of the slowest external call. There is also a Java

Re: Render multiple panels concurrently

2015-06-14 Thread Robert Gründler
Thanks for the hint, i’ll give the FutureModel approach a try. regards, robert On 14 Jun 2015 at 16:09:56, Martin Grigorov (mgrigo...@apache.org) wrote: Hi, I have used [1] for similar task some times ago. I needed to make calls to external services which took some time. Wicket renders

Re: Render multiple panels concurrently

2015-06-14 Thread Sven Meier
Hi, Wicket pages are single threaded, so no - you can't render multiple panels concurrently. You should restructure you code so that the health checks are done asynchronously. The panels just check for the availability, and render some progress indicator as long as no data is available.

wicket-menu and AjaxLink

2015-06-14 Thread lucio
Hello I'm trying to use the com.cooldatasoft.common.MenuItem constructor that accepts the id string and a LinkVoid ajaxLink argument. Let alone the fact I don't udenrstand why that constructor allows for a normal Link if it expects it to be a AjaxLink. The real problem is that I dont know

Render multiple panels concurrently

2015-06-14 Thread Robert Gründler
Hi, our backend application has a page containing ~20 panels which render health-checks of different components in our infrastructure. Each one of these checks can take some time (~ 10 seconds) until it timeouts if the background-component is not reachable. Until now we’ve used

Re: wicket-menu and AjaxLink

2015-06-14 Thread Martin Grigorov
Hi, Consult with the sources and the demo application - https://github.com/cooldatasoft/wicket-menu ;-) Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Sun, Jun 14, 2015 at 5:13 PM, lu...@sulweb.org wrote: Hello I'm trying to use the

Wicket modal, change the parent page

2015-06-14 Thread Entropy
I have a wicket modal that is used to let the user select from a couple options on a popup button. On close, depending on what button they hit on the popup, I need to run a javascript event on the calling page as I close the window, AND I need to alter a label and ExternalLink on the parent page.