wicket-select2 icon indicating copy to clipboard operation
wicket-select2 copied to clipboard

Select2 javascript should handle Wicket's <ajax-response><redirect> responses

Open simokivimaki opened this issue 11 years ago • 0 comments

When session expires and user interacts with select2 components, the component will be stuck to the loading state.

This can be replicated:

  1. go to a stateful page
  2. remove the JSESSIONID cookie
  3. click a select2 component which will retrieve selection data from the server
  4. the component is stuck

One can see using browser's Developer Tools that the Ajax response is something like:

It looks like native Wicket Ajax components uses Ajax-Location header for redirecting. I'm not sure how thing is rendered.

simokivimaki avatar Nov 29 '13 09:11 simokivimaki