This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

on refresh previously entered data is coming in the text fields.

 
Janardhan Chowdary
Greenhorn
Posts: 15
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

When click on save button i have to reload the same page. I am able to do the same but i am getting the previously entered data in the text fields.

Please suggest me to resolve this issue.

I am using the below technologies:

1.JSF 2
2.Primefaces
3.viewscoped managed beans.
4.ajax
 
Jay Lim
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, you can invalidate the session after clicking the save button.
This will reset the form upon refresh of the page.

 
Tim Holloway
Bartender
Posts: 18419
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jay Lim wrote:Hi, you can invalidate the session after clicking the save button.
This will reset the form upon refresh of the page.


Remind me to flee the room when you want to swat flies. I get nervous when people use high explosives.
 
Tim Holloway
Bartender
Posts: 18419
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jay Lim wrote:Hi, you can invalidate the session after clicking the save button.
This will reset the form upon refresh of the page.


Remind me to flee the room when you want to swat flies. I get nervous when people use high explosives.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!