jsf scope query
I've a search page with a couple of textfields and a dropdown. i populate the dropdown in the init().
On clicking 'Go' button, i display a datatable with corresponding values fetched from DB in an arraylist.
The datatable has a editable dropdown. After setting the required valuies in dropdown, i do a submit and update the DB.
I've a jsf page with a backing bean in the request scope.
i have action methods for go & submit. In my submit action, i'm unable to read the arraylist.
Query: How do i get the array values?
1.By calling the corresponding method and set those values in the go action u can able to retain the values
2 . Pass the list to the go action as a f:pram and get this request scope values in the bean and save that list in the request scope again.
hope it solves ur problem