0
 Followers
18
 Likes

Refresh rate on AJAX refresh

Backend
Implemented
on 08 Mar 2011
OutSystems 5.1

Have a parameter to the AJAX refresh to issue a refresh on timely base

Created on 21 Dec 2010
Comments (3)
This is *only* useful if it can also execute workflow to update the backing variables, data sets, etc. as well.

In the meantime, you can do the following:

1. Create a button of type "Ajax"
2. Link that button with an action that updates the backing variables and calls AjaxRefresh; set the style of the button to have "display: none" (do NOT set "display" property to "false"!)
3. Add a piece of JavaScript that calls the button on the requested basis

It's a quick workaround that takes very little time to do; not ideal, but it can be done if needed.

J.Ja
That's exactly the reason: workflow :-)

And yes we created the solution as you described. But it would be useful to have a property to the AJAX refresh to set the rate and do the things we want.
Hi Joop,


Check how the Lightweight Ajax Refresh component. Your wish has been granted!


Cheers,
views
145
Followers
0