Hi, You are correct, in one of my javascript it has a "../images/..", i don't know why it got called, in that particular page, there is no reference to that js, commenting it out fixes the problem, but this does bring up another question, how to put asset:context in a javascript?
//var tb_pathToImage = "../images/loading.gif"; // var tb_pathToImage = "${asset:context/images/loading.gif}"; // this does not work what is event context? something like this: Object onActivate(String s1, String s2) how to write a matching onPassivate for this? Thanks, Angelo Thiago H. de Paula Figueiredo wrote: > > Most probably you're including images in your page using relative > paths. Use ${asset:context/images/loading.gif} instead and the problem > goes away. ;) > > By the way, use EventContext instead of Object[] as the parameter of > your onActivate method. ;) > > -- > Thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/t5%3A-onActivate-called-twice-tp22053148p22056296.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org