OK
Will try :)

I had an idea like this, but hoping there is some other way :)

On Thu, Sep 1, 2016 at 12:54 PM, Martin Grigorov <[email protected]>
wrote:

> I think you should listen for the "open" message on the client side and
> once it comes then send a message to ask for the initial update.
> Something like: Wicket.Event.subscribe(Wicket.Event.WebSocket.Opened,
> function() { Wicket.WebSocket.send("initialRepaint") })
>
> Martin Grigorov
> Wicket Training and Consulting
> https://twitter.com/mtgrigorov
>
> On Thu, Sep 1, 2016 at 7:41 AM, Maxim Solodovnik <[email protected]>
> wrote:
>
> > It is technically possible ... but with no effect :((((
> > What should be the steps to send component tree update on websocket
> client
> > connect?
> >
> > On Thu, Sep 1, 2016 at 12:35 PM, Martin Grigorov <[email protected]>
> > wrote:
> >
> > > Hi Maxim,
> > >
> > > If I remember correctly it is not yet possible to write to the client
> at
> > > that point.
> > > But I might be wrong.
> > >
> > > Martin Grigorov
> > > Wicket Training and Consulting
> > > https://twitter.com/mtgrigorov
> > >
> > > On Thu, Sep 1, 2016 at 7:11 AM, Maxim Solodovnik <[email protected]
> >
> > > wrote:
> > >
> > > > Hello,
> > > >
> > > > I wonder why we don't have WebSocketRequestHandler in onConnect
> message
> > > > handler.
> > > > I would like to perform markup update on client connect, and it seems
> > to
> > > be
> > > > impossible without copy/pasting onEvent method code
> > > >
> > > > --
> > > > WBR
> > > > Maxim aka solomax
> > > >
> > >
> >
> >
> >
> > --
> > WBR
> > Maxim aka solomax
> >
>



-- 
WBR
Maxim aka solomax

Reply via email to