-Changed behavior of SurveyServlet to just change the answerString of
TextAnswers
-AnswerEntityManager.findTextAnswerByParticipant_Question now just
returns an answer or null if no answer can be found.
-New Method Answer createEmptyStringAnswerForQuestion(Question question)
that creates and persists an Answer with an empty answerString for
question.
-Survey.jsp now only accepts UTF-8 encoded Strings.
-SurveyServlet calls request and response setCharacterEncoding("UTF-8")
to fix a bug with special characters.
centered design
updated Design
- Added West Logo that is loaded from west logo page.
- Extracted Paramater and Attribute names to final classes.
- Implemented nicknames per session.
-ThankYouServlet removes a finished participant from the sessions
nicknamesMap
-Participants have a new field finished that indicates if a participant
has already finished his survey (for later use with optional/mandatory
questions)
-The Survey Page will no longer be stored in browser chache.
-The persist call for participant is now hold back untill the submit
button is clicked. This is for later when we implement a save button per
question. The participants data is now stored as a Session attribute
until it gets persisted and deleted by the ThankYouServlet.
changed design on index.jsp
updated design index.jsp
-Save Button per Question implemented.
design update thankyou.jsp
Question safe - feedback
-changed method name in survey.js
-if question wasnt submitted before, no button and no check will be
shown
-on submit check is shown
-on change button is shown
-Cant press continue on empty Nickname anymore.
If Nickname is empty, user will be redirected to start.
-Changed from onkeypress to onkeyup since we only want to have the
changes from the textfields.
progress bar
design update. mandatory and optional Questions supported
very small design update
createDDL.sql updated for Mandatory Questions