aspose file tools
The moose likes JSF and the fly likes select one radio returnsselected value null Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "select one radio returnsselected value null" Watch "select one radio returnsselected value null" New topic
Author

select one radio returnsselected value null

Tuenay Oezcan
Greenhorn

Joined: Aug 01, 2012
Posts: 4
Hi you guys,

i think i am stumbling with a pretty basic problem but can not solve it.

I have the following code in jsf:




In this code i am loading:
- a set of questions and the according answers which can be more then one (hence the radio button selection) from two different database tables --> This part works perfectly
- Now i want to get the selected answers and save them in a selectItem List with the question (as key) and the answer --> This doesn't work, since my answerOption List always returns the value null, even though i chose a answer

I hope this makes any sense to anybody...i am totally lost ! Please Help !! Thank you guys so much in advance !




I am using NetBeans 7.1.2 with primefaces 3.3.1 Glassfish and Mojarra 2.1.6
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: select one radio returnsselected value null
 
Similar Threads
dynamic selectOneRadio
Is it possible to have a selectManyListBox within <ui:repeat> ?
Presenting variable number of columns with primefaces datatable
Render form components with Ajax
Seam - BreadCrumbs - Implementation