Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
Hi Geoff, Thanks, it helped a lot. I actually had some problems because I have several texts to show, so the onActivate() was deciding the id of the text shown on the current screen. The onTrack() later needs to annotate the tracking values together with the text id. But then I moved all the co

Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
Ah, sorry, I have to take it back, because if I move code from onActivate() to setupRender(), then onSubmit() crashes. The only alternative is that onTrack() would not execute onActivate(), but it seems that is impossible. I will now check Daniel's solution. Regards, Phy El 07/04/17 a las 17:4

Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
Hi Daniel, I checked your project. My JavaScript libraries are similar to yours, also fire and forget and also transparent to the server. My problem is when I manage the AJAX events in Tapestry. Regards, Phy El 07/04/17 a las 15:29, Daniel Jue escribió: > Hi, I'm not sure this is what you nee

Re: Mouse tracking with Tapestry

2017-04-07 Thread Thiago H. de Paula Figueiredo
I suggest you to not use form submissions for this. Also, take a look at https://tapestry.apache.org/ajax-and-zones.html, session Invoking server-side event handler methods from JavaScript, which shows how to easily call server-side event handlers from JavaScript from Tapestry 5.4.2 (which should b

Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
Hi Thiago, Thanks for your email. 1) I am not using form submissions for that. I am using input hidden fields as temporary variables because the input hidden seem to be visible from zone-updater.js while the javascript library (not module) I am using for the mouse tracking is not, and I don't kno

Re: Mouse tracking with Tapestry

2017-04-07 Thread Thiago H. de Paula Figueiredo
On Fri, Apr 7, 2017 at 1:12 PM, Phyambre wrote: > Hi Thiago, > Hi! > Thanks for your email. > > 1) I am not using form submissions for that. I am using input hidden > fields as temporary variables because the input hidden seem to be > visible from zone-updater.js while the javascript library (