Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Can you create a timer in a portal?  RSS feed

 
Adam Kreiss
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Background: I'm trying use AJAX in a portal site I've developed. I want to update 2 portlets every 10 seconds. However, I can't figure out a way to start the timer that would send out the XMLHttpRequest. Since this is in a portal, I can't use the onLoad event of the page to start it. Any ideas would be appreciated!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!