Hi All,

I have a link on a panel which should only be enabled while there is a
connected web socket.

The link overrides onConfigure and calls setEnabled [1]

When a web socket connected event is received I store the connected message
and add the link to the payload handler. [2]
I expect the handler to trigger a call on link.onConfigure  (just like an
ajax update) but it is not.

What am I doing wrong.

Quick start (in Java!)
https://github.com/bollinger/WsOnConnect

Many thanks
Peter.


[1]
https://github.com/bollinger/WsOnConnect/blob/ba7ec25a2843c64b3e436f6054b60944adb4114c/src/main/java/com/mycompany/MyPanel.java#L48

[2]
https://github.com/bollinger/WsOnConnect/blob/ba7ec25a2843c64b3e436f6054b60944adb4114c/src/main/java/com/mycompany/MyPanel.java#L99

-- 
Peter Henderson

Reply via email to