busy indicator?

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

busy indicator?

#1

Postby t4nu » Mon May 30, 2016 1:21 pm

Hi,
Anybody ever use busy indicator for a long process? Would you please let me know where to find the guide or how to document to implement it in ebase application?
Thanks in advance for the help.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Tue May 31, 2016 8:34 am

0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#3

Postby t4nu » Tue May 31, 2016 10:32 pm

Thanks for the link, but let me make it more clearer.

I put those code shown in the link as a client side script, right?
then if the click of the button (for. eg) do something in the backend (such as update the table then send email), the script just need to call the function (the function need to be a client callable function), is that right?

0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#4

Postby Jon » Wed Jun 01, 2016 8:17 am

I put those code shown in the link as a client side script, right?
Correct yes.
then if the click of the button (for. eg) do something in the backend (such as update the table then send email), the script just need to call the function (the function need to be a client callable function), is that right?
Yes you could do it like that.
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#5

Postby t4nu » Thu Jun 02, 2016 3:05 am

I have tried it, I tried to change the cursor to wait mode, but seems no changes when it executed, the cursor is not change to waiting mode
Jon wrote:
I put those code shown in the link as a client side script, right?
Correct yes.
then if the click of the button (for. eg) do something in the backend (such as update the table then send email), the script just need to call the function (the function need to be a client callable function), is that right?
Yes you could do it like that.
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#6

Postby Jon » Thu Jun 02, 2016 10:00 am

It works fine for me. Are you sure your code is being executed? Try using debugging tools in the browser, add an alert statement etc.
0 x

t4nu
Ebase User
Posts: 305
Joined: Thu Jul 02, 2015 8:32 am
Location: Indonesia

#7

Postby t4nu » Thu Jun 02, 2016 10:25 am

Yes, I am sure.
The alert appear, the cursor is not change to wait mode.
But the screen is somekind of freeze until the server script end.
But at least now the user cannot click the button again when the server script is still processing.
Jon wrote:It works fine for me. Are you sure your code is being executed? Try using debugging tools in the browser, add an alert statement etc.
0 x


Who is online

Users browsing this forum: No registered users and 29 guests