javascript - Wait message for slow JSF page -


I have a JSF page that is a request scope bean. A slow database query has been removed in the request scope bean manufacturer. Then, the results of the query are displayed in the JSF data table on the web page.

How do I show a waiting message until the database query is completed?

I tried to call the Javascript function for the tag's onload only after the slow DB query is executed, the method is called.

The server is querying the slow database, long before the built-in page comes out of the browser. The only way you can do whatever you want is to arrange the "wait" message for the browser to display before so that you can start the HTTP request, which is running in your JSF page Ho.

Perhaps the best way to spend your time on this, however, is to fix the query.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -