Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor wordsmithing

...

Tapestry 5.4.2 introduced has an API which makes it easy for server-side events to be invoked from JavaScript. In On the server-side, you first need to annotate the event handler methods you want exposed to expose with the new the @PublishEvent annotation. Then, in JavaScript, all you need to do is to call the existing t5/core/ajax function, but with slightly different parameters.

...