File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes form values not updated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "form values not updated" Watch "form values not updated" New topic

form values not updated

lynn fann
Ranch Hand

Joined: Oct 15, 2006
Posts: 115
I have the following problem with jsf form:

my form values are not updated after form submit. When i submit the form, it will go to a detail page, and when i go back to the form again, the updated values are not reflected on the forms.

Why is this so?

I have set my managed bean to be session scope.

I have tried to create a new view for the form, each time the submit is trigger. But this there a better/ correct way of doing this?
Davie Lin
Ranch Hand

Joined: Aug 05, 2007
Posts: 294
what's your JSF version, is it 1.1?
can you post some relevent code for your form?
Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

are there any validations failing? or any radio buttons? why dont you use <h:messages/> tag to see if there are any errors..
I agree. Here's the link:
subject: form values not updated
It's not a secret anymore!