Hi,
Retrofit callbacks are invoked asynchronously. Once #success() is
called, the Wicket response is probably written already.
You can't/shouldn't do anything related to Wicket in a non-request thread.
Regards
Sven
On 05/07/2014 07:49 PM, Noven wrote:
Hi all,
I am experimenting with
Hi all,
I am experimenting with retrofit (http://square.github.io/retrofit/) rest
client and have issue that I can't fix.
I have a form that on submit will call the wicket-rest service.
form.add(new AjaxButton(submit) {
@Override
protected void onSubmit(final
Hi,
It seems Retrofit starts a Thread ('in thread Retrofit-Idle') to make the
requests.
A RequestCycle is exported as a ThreadLocal only in the web container
worker threads.
See ComponentRenderer#renderPage() and WicketFilter for examples how to
construct RequestCycle.
Martin Grigorov
Wicket