Re: How to pass a variable from Javascript code to Java

2018-08-28 Thread Numa Schmeder
Hello Marwa, The answer provided by Thiago is much simpler. Just put your data in a data attribute of a tag and then use the tutorial ajax and zones to send this data to a server side event handler. If you want to do it automatically without triggering a javascript event, just put you script i

Re: How to pass a variable from Javascript code to Java

2018-08-28 Thread marwa hussein
Hello, Thanks all for your suggestions. I followed the example shown in https://tapestry.apache.org/ajax-and-zones.html in "Invoking server-side event handler methods from JavaScript" but here the event is in the java code "server-side" and is invoked from the Javascript code "onClick()" , but w

Re: tapestry-webresources

2018-08-28 Thread marwa hussein
Hello, Actually, for the Javascript code it is not mine, as I mentioned, It is an open source package called webVOWL for visualizing ontologies. I need to visualize ontologies in my web application for my research work. Also, I am not so professional in JavaScripts and I don't know the technologies

tapestry-webresources

2018-08-28 Thread Numa Schmeder
Hello, I was wondering if you think it’s possible to run webpack and babel transpolar on the fly with tapestry-webresources ? I have seen you compile typescript and coffe script directly using Rhino. I have never used Rhino and was wondering if it could be used to run webpack. Or maybe that woul