Re: [Wicket-user] How to set AjaxCallDecorator globally ?
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 8/27/06, Ingram Chen <[EMAIL PROTECTED]> wrote: 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 On 8/27/06, Ingram Chen <[EMAIL PROTECTED]> wrote: 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 have no chance to subclass AjaxBehavior inside. Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED] Institue of BioMedical Sciences Academia Sinica Taiwan blog: http://www.javaworld.com.tw/roller/page/ingramchen -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen - 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set AjaxCallDecorator globally ?
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, 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 On 8/27/06, Ingram Chen <[EMAIL PROTECTED]> wrote: 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 have no chance to subclass AjaxBehavior inside. Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED] Institue of BioMedical Sciences Academia Sinica Taiwan blog: http://www.javaworld.com.tw/roller/page/ingramchen -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set AjaxCallDecorator globally ?
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 On 8/27/06, Ingram Chen <[EMAIL PROTECTED]> wrote: 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 have no chance to subclass AjaxBehavior inside. Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED] Institue of BioMedical Sciences Academia Sinica Taiwan blog: http://www.javaworld.com.tw/roller/page/ingramchen -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog: http://www.javaworld.com.tw/roller/page/ingramchen - 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] How to set AjaxCallDecorator globally ?
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 On 8/27/06, Ingram Chen <[EMAIL PROTECTED]> wrote: 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 have no chance to subclass AjaxBehavior inside. Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED] Institue of BioMedical Sciences Academia Sinica Taiwan blog: http://www.javaworld.com.tw/roller/page/ingramchen -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-user mailing list Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user - 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] How to set AjaxCallDecorator globally ?
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 have no chance to subclass AjaxBehavior inside. Is there any way to add AjaxCallDecorator globally ?-- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwan blog: http://www.javaworld.com.tw/roller/page/ingramchen - 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-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user