Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

select one radio returnsselected value null  RSS feed

Tuenay Oezcan
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!