A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
form values not updated
Joined: Oct 15, 2006
Jun 30, 2010 06:42:59
I have the following problem with
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?
Joined: Aug 05, 2007
Jun 30, 2010 07:19:09
what's your JSF version, is it 1.1?
can you post some relevent code for your form?
Joined: Nov 27, 2008
Jul 04, 2010 05:05:20
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
Re:List in ActionForm
struts request values
Retrieve Form Values - null form values returned
Getting User inputs to Connection Bean
Can I Submit only few fields/values in a form and ignore others?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014