RE: Mouse tracking with Tapestry

2017-04-15 Thread Svein-Erik Løken
Maybe not exactly what you are looking for, but I have been using my tapestryutil.js for some years with luck 😊 https://github.com/sveine/tapestry-multi-module-demo/blob/master/core/src/main/resources/META-INF/modules/util/tapestryutil.js A little demo: https://github.com/sveine/tapestry-multi-m

Re: Mouse tracking with Tapestry

2017-04-11 Thread Daniel Jue
Glad to hear you got everything working! On Tue, Apr 11, 2017 at 5:09 AM, Phyambre wrote: > Ok, > > So finally I could transform my JS libraries into modules and now > everything is super-modular. > > I also replaced mousemove by mouseover because it is less demanding. > > When Tapestry 5.4.2 is

Re: Mouse tracking with Tapestry

2017-04-11 Thread Phyambre
Ok, So finally I could transform my JS libraries into modules and now everything is super-modular. I also replaced mousemove by mouseover because it is less demanding. When Tapestry 5.4.2 is released and "Invoking server-side event handler methods from JavaScript" is available, I will replace th

Re: Mouse tracking with Tapestry

2017-04-10 Thread Thiago H. de Paula Figueiredo
On Sat, Apr 8, 2017 at 11:13 AM, Phyambre wrote: > Hi Thiago, > Hi! So if I move the code of the task from onActivate() to setupRender() as > Geoff suggested, I will not have the task on onSubmit() anymore, so I > cannot check whether the user finished before the deadline. A solution > is getti

Re: Mouse tracking with Tapestry

2017-04-08 Thread Phyambre
Hi Thiago, Thanks for your answer, In my application each user (identified by a userId in the session) is assigned a task. Each task has stages which consist of reading a text and answering a quiz about it. The text and quiz that you are assigned in each stage is not the same for everybody, but r

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 (

Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
tracking in general. >>> >>> Here's a demo page: >>> http://draperlaboratory.github.io/user-ale/test_app/index.html >>> >>> >>> >>> On Fri, Apr 7, 2017 at 2:12 AM, JumpStart < >>> geoff.callender.jumpst...@gmail.com> w

Re: Mouse tracking with Tapestry

2017-04-07 Thread Thiago H. de Paula Figueiredo
ative.com.au/jumpstart7/examples/navigation/ > >> onactivateandonpassivate/3> > >> > >> Hope this helps, > >> > >> Geoff > >> > >>> On 7 Apr 2017, at 2:07 PM, Phyambre wrote: > >>> > >>> Hi, > >>> &g

Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
;http://jumpstart. >> doublenegative.com.au/jumpstart7/examples/navigation/ >> onactivateandonpassivate/3> >> >> Hope this helps, >> >> Geoff >> >>> On 7 Apr 2017, at 2:07 PM, Phyambre wrote: >>> >>> Hi, >>>

Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
gt; >> >> http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/onactivateandonpassivate/3 >> >> <http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/onactivateandonpassivate/3> >> >> Hope this helps, >> >>

Re: Mouse tracking with Tapestry

2017-04-07 Thread Phyambre
/onactivateandonpassivate/3 > > <http://jumpstart.doublenegative.com.au/jumpstart7/examples/navigation/onactivateandonpassivate/3> > > Hope this helps, > > Geoff > >> On 7 Apr 2017, at 2:07 PM, Phyambre wrote: >> >> Hi, >> >> I would like t

Re: Mouse tracking with Tapestry

2017-04-06 Thread Daniel Jue
avigation/ > onactivateandonpassivate/3> > > Hope this helps, > > Geoff > > > On 7 Apr 2017, at 2:07 PM, Phyambre wrote: > > > > Hi, > > > > I would like to do mouse tracking with tapestry (know the coordinates of > > the mouse, the path of the DO

Re: Mouse tracking with Tapestry

2017-04-06 Thread JumpStart
Phyambre wrote: > > Hi, > > I would like to do mouse tracking with tapestry (know the coordinates of > the mouse, the path of the DOM tree to the element that is being pointed > and the text of that element). > > Currently I have a solution that works, but I think it is

Fwd: Mouse tracking with Tapestry

2017-04-06 Thread Phyambre
Hi, I would like to do mouse tracking with tapestry (know the coordinates of the mouse, the path of the DOM tree to the element that is being pointed and the text of that element). Currently I have a solution that works, but I think it is terribly inefficient and I hope you can make any