Re: reducing ajax callbacks

2009-12-23 Thread Igor Vaynberg
yes, it is trivial to do. first part of this is building a url. you can see how link does it, but in short class mylink extends webmarkupcontainer implements ilinklistener { public void onlinkclicked() { .. do something } } mylink l=new mylink(..); string url=urlfor(l, ilinklistene

reducing ajax callbacks

2009-12-23 Thread Douglas Ferguson
I have a page that has 100s of links on them that are all ajax calls. Each one calls the same method but passes in a different "id" to the method. Apparently there is quite a bit of time building the UI controls (100 ajaxLinks). Is there a way to create a handler that could be reused by all 100 o