Hi,
You can't do this the way you described it because Ajax is initiated by the
browser.
I can propose you three options:
1) use Ajax polling
Store the messages in some data structure in the page/panel and with the
help of AbstractAjaxTimerBehavior render the collected messages
2) WebSocket
WicketStuff core 9.0.0-M2 based on Apache Wicket 9.0.0-M2 is released
and soon will be available at Maven Central!
The changelog is:
Andrea Del Bene (5):
Code updated for WICKET-6662 (Maven install runs succesfully).
Introduced supplier for current Locale
Fixed typo for field
WicketStuff core 8.5.0 based on Apache Wicket 8.5.0 is released
and soon will be available at Maven Central!
The changelog since 8.4.0 is:
Andrea Del Bene (1):
Merge pull request #662 from andruhon/fix-641-and-improve-customization
Andrew Kondratev (1):
Fixes #641: prevent rest
Hi, I have a question about getting access to the AjaxRequestTarget outside
the context of an ajax request.
What I'm trying to do is send some javascript from the server to the
browser from a different thread where RequestCycle.get() is not available.
>From within a WebPage, Im using Redis