aspose file tools*
The moose likes JSF and the fly likes on refresh previously entered data is coming in the text fields. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "on refresh previously entered data is coming in the text fields. " Watch "on refresh previously entered data is coming in the text fields. " New topic
Author

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

Janardhan Chowdary
Greenhorn

Joined: May 21, 2012
Posts: 15

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


He who cannot obey himself will be commanded. That is the nature of living creatures.
Jay Lim
Greenhorn

Joined: Jul 04, 2012
Posts: 5
Hi, you can invalidate the session after clicking the save button.
This will reset the form upon refresh of the page.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16305
    
  21

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: on refresh previously entered data is coming in the text fields.