The first step to diagnosing problems with onActivate() is to check the web log and see what URLs are coming in, and deduce why.
On Wed, Nov 5, 2008 at 6:45 AM, Thiago H. de Paula Figueiredo <[EMAIL PROTECTED]> wrote: > Em Wed, 05 Nov 2008 10:16:52 -0300, Robert Vojta <[EMAIL PROTECTED]> > escreveu: > >> onActivate() is called twice on my page when I have following Javascript >> code included. When I remove document.write() call, onActivate() is called >> once. Any idea how can I solve this? > > Just make sure that every resource (image, JavaScript, CSS, etc) is > referenced via an absolute URL (i.e. one that begins with a slash): > /js/effects.js > /css/main.css > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]