• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to refresh the whole application of JSF after doing something like Facebook..?

 
Vinod Dubey
Greenhorn
Posts: 3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to know the how to refresh the jsf application after doing something like Faceboook... i.e if i comment or post in my application so automatically the whole application have refresh.
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you heard about AJAX? As soon as you enter a comment, you have to indicate that to the server which you do by submitting a request to the server. You then show the response that you get from the server on your page. You could either use Ajax or a normal submit.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!