• Post Reply Bookmark Topic Watch Topic
  • New Topic

Progress bar in JSF

 
Ramaguru Ramasubbu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All
I am trying to implement the progress bar in a JSF Page, after some button is clicked and before the results are loaded.

Any one has some idea on it?

Thanks
Ramaguru
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, obviously, when the results are returned, you won't have control on the browser to keep the progress bar.

So, what that means, is that I would probably take a JavaScript approach and attach code to the onClick, that will bring up a progressbar and have it go. Then when the results come back a new page is displayed.

This is without AJAX, if you are using AJAX then, it would be probably similar, but you would probably have to programatically stop the progress bar when the XML info comes back, because the page won't be "new".

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!