opensubscriber
   Find in this group all groups
 
Unknown more information…

t : tapestry-user@jakarta.apache.org 5 May 2006 • 11:46PM -0400

Re: Periodic Execution of Javascript in a Tapestry 4 app
by Kevin C. Dorff

REPLY TO AUTHOR
 
REPLY TO GROUP




It must have been some JS error, I shuffled stuff and now everything
is working fine. Very odd. BTW: I decided to go with Prototype.js's
PeriodicalExecuter which is very nice.

Thanks for all your quick help, much appreciated.

Kevin

On 5/4/06, Jesse Kuhnert <jkuhnert@gmai...> wrote:
> I've used setTimeout/ prototype / and dojo versions of doing loops with no
> problems in tapestry.
>
> Could it be that you are having an internal js error and you just aren't
> seeing it ?
>
> On 5/4/06, Kevin C. Dorff <kcd2001@med....> wrote:
> >
> > I want to periodically execute a Javascript method, based on time
> > (even if the user isn't doing anything in the browser, as long as the
> > browser is opened to my page). I have looked at the contrib:Timeout
> > but it APPEARS it only checks for the timeout if the user is doing
> > something in the page (moving the mouse, changing form fields,
> > whatever). I want my stuff to execute even if the user has walked away
> > from his desk.
> >
> > It seemed setTimeout was the obvious answer, but, something is eating
> > the timers, it would appear. Maybe it is Tapestry, maybe it is the
> > Yahoo widgets (I am using the Yahoo Tree widget on the page).
> >
> > I also found Prototype.js's PeriodicalExecuter, which is fine because
> > I use Prototype.js on my page. It doesn't fire events either.
> >
> > Has anyone else had this problem? I will narrow it down to see if it
> > is Tapestry that is eating the events tomorrow, hopefully, but, is
> > there a better way to do this?
> >
> > Kevin
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jaka...
> > For additional commands, e-mail: tapestry-user-help@jaka...
> >
> >
>
>
> --
> Jesse Kuhnert
> Tacos/Tapestry, team member/developer
>
> Open source based consulting work centered around
> dojo/tapestry/tacos/hivemind.
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jaka...
For additional commands, e-mail: tapestry-user-help@jaka...


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.