Re: [Wicket-user] How to set AjaxCallDecorator globally ?

2006-08-28 Thread Ingram Chen
wow ! Thanks!Would you mind give me a hint to get start ?On 8/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:there are global events available through _javascript_ for beginning,success, and failure events - so you would have to put code directly into _javascript_ instead of using decorators. -Igor

Re: [Wicket-user] How to set AjaxCallDecorator globally ?

2006-08-28 Thread Igor Vaynberg
Wicket.Ajax.registerPreCallHandler(new function() {...});Wicket.Ajax.registerPostCallHandler(..); === successWicket.Ajax.registerFailureHandler(..);mind making a wiki page?-Igor On 8/27/06, Ingram Chen [EMAIL PROTECTED] wrote: wow ! Thanks!Would you mind give me a hint to get start ?On 8/28/06,

Re: [Wicket-user] How to set AjaxCallDecorator globally ?

2006-08-28 Thread Ingram Chen
Yea, I will try to do after migration to 1.2.2 complete. :-)On 8/28/06, Igor Vaynberg [EMAIL PROTECTED] wrote:Wicket.Ajax.registerPreCallHandler(new function() {...});Wicket.Ajax.registerPostCallHandler (..); === successWicket.Ajax.registerFailureHandler(..);mind making a wiki page?-Igor On

[Wicket-user] How to set AjaxCallDecorator globally ?

2006-08-27 Thread Ingram Chen
Hi all, I have some general AjaxCallDecorators: such as show busy, red Loading... message orhandling ajax failure. I can subclass each Ajax* component and override getAjaxCallDecorator()but this way becomes annoy when more components are developed. And some core ajax components are composited, I