Hi, I've got an AjaxButton and hidden panel with progress bar and status message which is hidden in the beggining. My idea is to display the panel when the button is clicked and span long task. This task would update a counter that the progress will display using AjaxSelfUpdatingTimerBehavior.
The problem is that the task has to be run in separate thread so the ajax completes and panel is even displayed before task end. Got the idea from https://stackoverflow.com/questions/15337198/wicket-calling-a-lengthy-operation-and-updating-through-ajax . But I'm getting org.apache.wicket.WicketRuntimeException: There is no application attached to current thread Thread-XX. Any suggestions? Thanks, Zbynek