How to build Survey Question and Answer Application in ADF 11g
663926Sep 8 2010 — edited Sep 9 2010Hi,
I am using JDeveloper 11.1.1.3.0. The Requirment is to build Question and Answer like the Survey. I have two tables in the database that has all the Questions and its corresponding Answers in the database. I need to display the first question and its answers as a selectOneChoice. Based on the answer selection, I have to display the second question. Based on the second Answer, I have to display the third question and so on..
Q1: first question
A1: answers for the first question as SelectOneChoice
Q2: second question based on A1 answer
A2: answers for the second question as SelectOneChoice
Q3: third question based on A2 answer
A3: answers for the third question as SelectOneChoice
I created two ViewObjects for Question and Answers and a viewlink between the two viewobjects. But need help in how to create the link between the Answer and Question as shown above?
Thanks
SR