Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to build Survey Question and Answer Application in ADF 11g

663926Sep 8 2010 — edited Sep 9 2010
Hi,

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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 7 2010
Added on Sep 8 2010
1 comment
783 views