John Dickinson wrote:
I've got a new implementation that solves both of these problems, but I
can't seen to get in to the wiki to post it.
Thanks a lot. I have already checked it in to the SVN repository.
BTW, I have restarted the Wiki and let it use the current Webware 0.9.
Should be better now.
Your new implementation of ajax_response() looks good to me.
However, I'm actually wondering whether you really always need to run
this background polling. If requests are always answered within the
timeout interval (which is set to 100 seconds), that mechanism should be
never needed. For instance, in the "AjaxSuggest" example, it will be
surely not needed. You will only need it if you have long-running
queries or computations where getting the result is crucial. So I was
wondering whether AjaxPage should provide a parameter that allows
disabling and enabling the polling mechanism. In the AjaxSuggest
example, I would like to disable it from the beginning.
-- Christoph
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss