How is your javascript invoked? If it's anything that a on* (onclick, onmouseover) can handle, then take a look at AjaxEventBehavior and AjaxCallbackDecorator.
Regards Frank Bille Avaleo On Tue, 2006-07-11 at 11:39 +0200, Maurice Marrink wrote: > Hi, > > I need to trigger an ajax request from within my client side javascript. > Ideally i should be able to contribute a javascript method to the > header which will also allow me to pass some parameters before it > triggers the ajaxcall. > > I can do the header contribution but the problem lies in triggering > the ajaxcall. > > I have spoken to Martijn and he suggested using an ajaxlink and then > use document.location to trigger it. He also said you guys might be > able to come up with a better solution more in the lines of what i > described above and using less hacks. > > So, if you have any ideas /suggestions don't be shy :) > > Maurice > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-develop mailing list > Wicket-develop@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop