wicket-stuff contains wicket-contrib-dojo and wicket-contrib-dojo-examples which implement various Dojo (ajax) based textfield autocompleter and (ajax based) drag&drop examples. I reviewed these examples because I felt that ajax support could be better, easier to understand, more obvious. In case you are interested, my ideas are in wicket-sandbox.
Cornerstones of the implementation a) does not use AjaxHandler and IMO is easier to understand (less magic). IMO we should remove IBevaiorListener completely and remove IHeaderContribution from AjaxHandler and all the required code which is necessary to support it. b) introduces InterfaceRequestTarget to define a request target based on an Interface which must implement only one method. Your component must implement the interface c) It defines an IAjaxListener (event listener) and IAjaxResponder (request target) which defines the necessary listener/render pair for ajax requests d) Either by means of extending InterfaceRequestTarget or directly in the IAjaxResponder method it is now very easy to put an envelope around the response as required by e.g. Rico. May be you'll find some time to review it. I'd appreciate any feedback. Juergen ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop