Re: [Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?
Has this been implemented yet? What's the current status? Ingram Chen wrote: Thanks! Igor, I have created a RFE for this item. If you have time to release some code snips, it is great helpful ! On 8/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no it is not possible. i actually needed the same functionality recently and so i noticed this shortcoming as well. please file an rfe for 1.3 and i will add it in...right now i cant because it will break the api. in the meantime what i did was write an ajax poller that is similar to the timer behaviors but allows me to stop it, its only a few lines of code...i will check if i can release it monday if you would like. its not exactly what you want but it might be a good starting point. -Igor respond(target) { if (continuepolling()) { target.addjavascript( On 8/11/06, Ingram Chen [EMAIL PROTECTED] wrote: Hi all, Is there any way to stop AjaxSelfUpdatingTimerBehavior programmatically ? I am writting a small chat app and require to stop self updating to reduce server load when user is idle. I check AbstractAjaxTimerBehavior but both updateInterval and response(target) are final... Is it possible to do ? Thanks in advance. -- Ingram Chen Java [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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ingram Chen Java [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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- View this message in context: http://www.nabble.com/stop-AjaxSelfUpdatingTimerBehavior-programmatically---tf2093952.html#a6650292 Sent from the Wicket - User mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?
it wont be implemented until 1.3 because we cant break the api in 1.2i attached some code the the rfe tracker, so if you need it now go ahead and use that.-IgorOn 10/4/06, samyem [EMAIL PROTECTED] wrote: Has this been implemented yet? What's the current status?Ingram Chen wrote: Thanks! Igor,I have created a RFE for this item. If you have time to release some code snips, it is great helpful ! On 8/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote: no it is not possible. i actually needed the same functionality recently and so i noticed this shortcoming as well. please file an rfe for 1.3 and i will add it in...right now i cant because it will break the api. in the meantime what i did was write an ajax poller that is similar to the timer behaviors but allows me to stop it, its only a few lines of code...i will check if i can release it monday if you would like. its not exactly what you want but it might be a good starting point. -Igor respond(target) { if (continuepolling()) { target.addjavascript( On 8/11/06, Ingram Chen [EMAIL PROTECTED] wrote: Hi all,Is there any way to stop AjaxSelfUpdatingTimerBehavior programmatically ? I am writting a small chat app and require to stop self updating to reduce server load when user is idle. I check AbstractAjaxTimerBehavior but both updateInterval and response(target) are final... Is it possible to do ? Thanks in advance. -- Ingram Chen Java [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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -- Ingram Chen Java [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=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user--View this message in context: http://www.nabble.com/stop-AjaxSelfUpdatingTimerBehavior-programmatically---tf2093952.html#a6650292Sent from the Wicket - User mailing list archive at Nabble.com.- Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?
no it is not possible. i actually needed the same functionality recently and so i noticed this shortcoming as well. please file an rfe for 1.3 and i will add it in...right now i cant because it will break the api.in the meantime what i did was write an ajax poller that is similar to the timer behaviors but allows me to stop it, its only a few lines of code...i will check if i can release it monday if you would like. its not exactly what you want but it might be a good starting point. -Igorrespond(target) { if (continuepolling()) { target.addjavascript(On 8/11/06, Ingram Chen [EMAIL PROTECTED] wrote:Hi all, Is there any way to stop AjaxSelfUpdatingTimerBehavior programmatically ? I am writting a small chat app and require to stop self updating to reduce server load when user is idle. I check AbstractAjaxTimerBehavior but both updateInterval and response(target) are final... Is it possible to do ?Thanks in advance.-- 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
Re: [Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?
Thanks! Igor, I have created a RFE for this item. If you have time to release some code snips, it is great helpful !On 8/12/06, Igor Vaynberg [EMAIL PROTECTED] wrote:no it is not possible. i actually needed the same functionality recently and so i noticed this shortcoming as well. please file an rfe for 1.3 and i will add it in...right now i cant because it will break the api.in the meantime what i did was write an ajax poller that is similar to the timer behaviors but allows me to stop it, its only a few lines of code...i will check if i can release it monday if you would like. its not exactly what you want but it might be a good starting point. -Igorrespond(target) { if (continuepolling()) { target.addjavascript(On 8/11/06, Ingram Chen [EMAIL PROTECTED] wrote: Hi all, Is there any way to stop AjaxSelfUpdatingTimerBehavior programmatically ? I am writting a small chat app and require to stop self updating to reduce server load when user is idle. I check AbstractAjaxTimerBehavior but both updateInterval and response(target) are final... Is it possible to do ?Thanks in advance.-- 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
[Wicket-user] stop AjaxSelfUpdatingTimerBehavior programmatically ?
Hi all, Is there any way to stop AjaxSelfUpdatingTimerBehavior programmatically ?I am writting a small chat app and require to stop self updating to reduce server load when user is idle. I check AbstractAjaxTimerBehavior but both updateInterval and response(target) are final... Is it possible to do ?Thanks in advance.-- 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=lnkkid=120709bid=263057dat=121642___ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user