>
> How would one update the view when the Scheduler updates the record count?
>

Instead of having the scheduled task update the value in the client (I 
cannot think of a web2py feature able to make that), you could use a 
self-updated component with the LOAD helper timing options.

If you have an action that returns the updated counter value in 
<app>/<controller>/<action>.load, you can add this to a view:

{{=LOAD(c=<controller>, f=<function>, times='infinity', timeout=10000)}}

and the browser will update the counter at every 10 seconds

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to