summaryrefslogtreecommitdiff
path: root/src/com/p4square/grow/backend/resources/TrainingResource.java
diff options
context:
space:
mode:
authorJesse Morgan <jesse@jesterpm.net>2013-09-17 22:28:51 -0700
committerJesse Morgan <jesse@jesterpm.net>2013-09-17 22:28:51 -0700
commit9395177df22adcb90a573a9afa832e72b9a1930e (patch)
treee8cdbc652f5c2dfe670833893c5f1393135338a4 /src/com/p4square/grow/backend/resources/TrainingResource.java
parentfeb118725012cb1929f245b446568fe1ecb6ce01 (diff)
Fixing question 4 to skip 4a in some cases.
For this fix I am moving Question and Answer from the backend into a new model package. Question is now used in SurveyPageResource instead of the Map. Eventually I should encode/decode the model from the json directly. I am adding support to the Question model to find the next question based on the answer to the current question. If the answer has a specific nextQuestion field, that is used. Otherwise the question's nextQuestion field is used. This is to facilitate skipping irrelevant questions.
Diffstat (limited to 'src/com/p4square/grow/backend/resources/TrainingResource.java')
0 files changed, 0 insertions, 0 deletions