My javascript is invoked by a mouseclick on a non wicket html component. Making this a wicket component would be unpractical in my case.
I am currently using an AjaxLink which already uses an AjaxEventBehaviour and am already customizing the callback script with a callbackdecorator. It is not that this is impossible to do, its just that there must be easier ways to do this. preferably something that other people can reuse. I am currently trying to figure out how i can transport the request parameters from the behaviourrequesttarget to my ajaxlink. Thanks for thinking with me. Maurice On 7/11/06, Frank Bille Jensen <[EMAIL PROTECTED]> wrote: > 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 > ------------------------------------------------------------------------- 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