Re: Problem with ThreadContext.getSession when session dies

2019-04-03 Thread Sven Meier
Hi Patrick, Wicket uses a temporary session if there's no container session, e.g. the latter has already expired. It's not clear to me why that's a problem for you. Best regards Sven Am 03.04.19 um 13:26 schrieb Patrick Schwarzer: Dear Sir or Madam, we identified an issue during request h

Re: web sockets messages + page identities

2019-04-03 Thread Ernesto Reinaldo Barreiro
Hi, Thanks for your answer. Yes my answer was more on the spirit if there is something already available and ready to use Or if it makes sense to have this by default at interface level. On Wed, Apr 3, 2019 at 3:37 PM Maxim Solodovnik wrote: > Hello Ernesto, > > We also have code to send we

Re: web sockets messages + page identities

2019-04-03 Thread Ernesto Reinaldo Barreiro
I meant my "question" On Wed, Apr 3, 2019 at 4:18 PM Ernesto Reinaldo Barreiro wrote: > Hi, > > Thanks for your answer. Yes my answer was more on the spirit if there is > something already available and ready to use Or if it makes sense to > have this by default at interface level. > > On We

Re: Adding busy indicator to Wizard finish button.

2019-04-03 Thread Maxim Solodovnik
Hello, WizardButtons are being created here https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/wizard/WizardButtonBar.java You could override one or more method and return IndicatingButton for ex. https://github.com/sebfz1/wicket-jquery-ui/bl

Re: web sockets messages + page identities

2019-04-03 Thread Maxim Solodovnik
Hello Ernesto, We also have code to send websocket messages "to others" I do store active client list (each page/tab is client) Every client stores pageId and sessionId Then I do filtering on pageId+sessionId This seems to work as expected On Wed, 3 Apr 2019 at 18:18, Ernesto Reinaldo Barreiro

Problem with ThreadContext.getSession when session dies

2019-04-03 Thread Patrick Schwarzer
Dear Sir or Madam, we identified an issue during request handling in Wicket 7.12.0 when session dies during processing. The problem is, that parts of the code accessing current session by calling Session.get() which then return a valid session cached in ThreadContext.getSession(). [cid:image001.

web sockets messages + page identities

2019-04-03 Thread Ernesto Reinaldo Barreiro
Hi, I have the following use case. 1- One browser tab sends a text message 2- Other browser tabs should receive message (but emitting tab not). I have done add(*new *WebSocketBehavior() { @Override *protected void *onMessage(WebSocketRequestHandler handler, TextMessage message) { sendNotificati