20 | | A [raw-attachment:briccs-questionnaires-html-version.zip zipped file] containing HTML prints of the questionnaire (v.1.9.2) is available. |
| 20 | There is a process for generating an html output of the questionnaire using the QuestionnaireRenderer class, but it is messy to say the least. |
| 21 | |
| 22 | As a minimum, you need to have the following project checked out (or an equivalent for a subsequent version of Onyx): |
| 23 | |
| 24 | https://svn.obiba.org/onyx/branches/onyx-1.7.x/onyx-modules/quartz/quartz-core |
| 25 | |
| 26 | Then the following *should* result in an html version of the questionnaires being generated. The first arg is the folder containing the questionnaire xml and the language files, and the second arg is the destination directory. |
| 27 | |
| 28 | {{{ |
| 29 | mvn -e exec:java -Dexec.classpathScope=test \ |
| 30 | -Dexec.mainClass=org.obiba.onyx.quartz.core.engine.questionnaire.util.QuestionnaireRenderer \ |
| 31 | -Dexec.args="/home/nick/workspace2/onyx-questionnaire/src/main/webapp/WEB-INF/config/quartz/resources/questionnaires /home/nick/briccs/html/" |
| 32 | }}} |
| 33 | |
| 34 | A [raw-attachment:briccs-questionnaires-html-version.zip zipped file] containing HTML prints of the questionnaire (v.1.9.2) is available here. |