Documentation would be nice

So, two questions here:

  1. How do I use servoy.webclient.blockinputonrequest to display a busy cursor in WebClient when a user clicks a button?

and

  1. Where do you go to get information about things like “servoy.webclient.blockinputonrequest”? If you try the Servoy 6.1 Wiki (http://wiki.servoy.com/display/public/DOCS/Servoy+6.1) and enter blockinputonrequest into the search box you get this response:

No results found for blockinputonrequest. Please try one of the following suggestions:
Use more general search terms
If you are filtering by space, content, last modification date or contributor, try removing or adjusting the filter

This happens a lot, so I’m curious if the defacto way of getting answers to how to develop in Servoy is to post questions on this forum, pray someone answers with a solution and not a response like “send us a sample”, OR is there other documentation somewhere that I should look?

Thanks,

Keith

the search of the wiki, sucks… :shock: (sorry)
What I mostly do is search by using google:```
site: wiki.servoy.com blockonrequest


but in this case no links shows up, so I'm pretty sure, it is not documented in the wiki.

you can set that setting in the servoy-admin page, to true
[attachment=0]Schermafbeelding 2012-11-27 om 21.56.24.png[/attachment]

![Schermafbeelding 2012-11-27 om 21.56.24.png|796x335](upload://pijPJes0V2mzWkVZJVLVXRjW7jA.png)

CFDaddy:
So, two questions here:

  1. How do I use servoy.webclient.blockinputonrequest to display a busy cursor in WebClient when a user clicks a button?

Why aren’t you just using our “hack” that you referenced? :) I like the fact Servoy added the hour glass as an alternative to the “loading…” indicator but it doesn’t come close to the flexibility of doing your own indicator.

We’ve implemented all kinds of different styles of indicators based on the context and situation using this approach. The same approach allows for unlimited client-side manipulation of all kinds of things (using readily available js libraries) beyond where Servoy leaves off.

Thank Harjo. And David, as for your solution, we are under the gun deadline wise and I just have not had the time to spend to get it working. I played a little with it but could not get everything working “out of the box” so to speak and had to give it up for now. Looks like deadlined be damned now though since the Servoy solution does not actually work for everything rather only actual true blocking actions. So, if you have a long loading table view Servoy’s answer to the hour glass cursor is no bueno :(

Thanks again Harjo and David. Much appreciated!

Keith

The “Loading…” label from the screen when SWC starts up and when forms are loading in tab panels is a separate thing from Servoy’s default ajax blocking indicator (which also says “Loading…”).

For longer loading forms, this label can stay showing long after the ajax indicator turns off. So yea, it makes sense that the new Servoy hour glass indicator is not what you are looking for.

We’ve also hacked Servoy’s non-ajax “Loading…” placeholder dom element to show a better indicator. It takes a bit of doing so I’ll let you hit us up if you want to implement. We can make it an hourglass if you want :)

a lazy load of a table view is not a input request of a user…
That is just a lazy load, an event generated by the page itself, users should be able to click on something else and go on, if that last takes to long.

blockinputonrequest is mainly for blocking double clicks