wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thanh Tung Pham <thanh.tung.p...@tvh.com>
Subject Send data from javascript to WicketServer
Date Fri, 05 Apr 2019 12:33:20 GMT
Hi all,

I'm new to wicket and for a project that I'm currently working on.
We want to use Server Sent Event to directly push data to the client from a
microservice.
Receiving these data through javascript from the microservice all works
fine, but we need to send these data to the wicketserver for processing and
updates to the page for the client.

What we basically need is a listener/controller endpoint that we can call
from javascript to reach the wicketserver with the data.
I saw that wicket adds javascript for interacting with components,
something like this:
Wicket.Ajax.get({"u":"the/url/to/the/link", "e": "click", "c":"linkId"}); How
can I manually make this (without the event and component specification)?

Can anyone help me with this problem or has experience with it or anything
to help pointing me to the right path?
Thanks!

Kind regards,
Tung

-- 

Kind Regards,


*THANH TUNG PHAMSoftware Engineer*
thanh.tung.pham@tvh.com

*TVH PARTS HOLDING NV*
Vichtseweg 129 • BE-8790 WAREGEM
T +32 56 43 42 11 <+3256434211> • F +32 56 43 44 88 • www.tvh.com
View our company movies via downloads on our website.

-- 


**** DISCLAIMER 
<https://media.tvh.com/content/pdf/various/Email-disclaimer.pdf> ****

This 
message is delivered to all addressees subject to the conditions set forth 
in the attached disclaimer, which is an integral part of this message.


When you communicate with us via e-mail, telephone, fax or via our website, 
we process your personal data. For more information on how we process your 
personal data, please consult our Privacy Policy 
<https://www.tvh.com/privacy-policy>. By communicating with us, you 
unambiguously consent to our use of your personal data as explained in the 
Privacy Policy.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message