-4

If a backing bean function takes sometime to process the request, how do we pull the progress ?

sura2k
  • 7,365
  • 13
  • 61
  • 80
  • They keywords you need are "push" or "pull". Now, please refine your question. – BalusC Mar 13 '13 at 11:18
  • You haven't done *any* research based on the keywords? That's not how it works here. – BalusC Mar 13 '13 at 11:23
  • I tried. I don't want a progress bar. When I start the function I change a backing bean property value and when it finished , again changed the property value to something else. I bind that property to the UI. Even it only worked for the first request. I don not put questions without looking anything. I tried 2 days. – sura2k Mar 13 '13 at 11:39
  • Someone helped me: http://stackoverflow.com/questions/15401563/jsf-icefaces-hcommondbutton-oncomplete/15402086?noredirect=1#15402086 – sura2k Mar 14 '13 at 09:14

1 Answers1

1

I'd prefer something like a progress bar. You can use a framework like Primefaces for that:

http://www.primefaces.org/showcase/ui/misc/progressBar.xhtml

alexander
  • 1,191
  • 2
  • 20
  • 40
FeinesFabi
  • 1,147
  • 2
  • 12
  • 25