EduploneExam/doc responseformat.txt,1.2,1.3
Jens Klein <[email protected]>
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneExam/doc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3820/doc
Modified Files:
responseformat.txt
Log Message:
mofied contract how conext is handled
Index: responseformat.txt
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/doc/responseformat.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** responseformat.txt 15 Dec 2004 11:26:57 -0000 1.2
--- responseformat.txt 15 Dec 2004 12:01:14 -0000 1.3
***************
*** 27,62 ****
Example 1 (text task)::
<input type="text"
! name="ContextUID##QuestionUID##AnswerUID"
value="some value">
Example 2 (multiple choice)::
<input type="checkbox"
! name="ContextUID##QuestionUID##Answer1UID"
value="some value" />
<input type="checkbox"
! name="ContextUID##QuestionUID##Answer2UID"
value="some value" />
<input type="checkbox"
! name="ContextUID##QuestionUID##Answer3UID"
value="some value" />
Example 3 (single choice)::
<input type="radio"
! name="ContextUID##QuestionUID"
value="Answer1UID" />
<input type="radio"
! name="ContextUID##QuestionUID"
value="Answer2UID"
checked />
<input type="radio"
! name="ContextUID##QuestionUID"
value="Answer3UID" />
Example 4 (matching)::
! <select name="ContextUID##QuestionUID##Answer1UID">
<option value="challange1" >challange1</option>
<option value="correct" >correct</option>
--- 27,78 ----
Example 1 (text task)::
+ <input type="hidden"
+ name="examcontext"
+ value="ContextUID" />
+
<input type="text"
! name="QuestionUID##AnswerUID"
value="some value">
Example 2 (multiple choice)::
+ <input type="hidden"
+ name="examcontext"
+ value="ContextUID" />
+
<input type="checkbox"
! name="QuestionUID##Answer1UID"
value="some value" />
<input type="checkbox"
! name="QuestionUID##Answer2UID"
value="some value" />
<input type="checkbox"
! name="QuestionUID##Answer3UID"
value="some value" />
Example 3 (single choice)::
+ <input type="hidden"
+ name="examcontext"
+ value="ContextUID" />
+
<input type="radio"
! name="QuestionUID"
value="Answer1UID" />
<input type="radio"
! name="QuestionUID"
value="Answer2UID"
checked />
<input type="radio"
! name="QuestionUID"
value="Answer3UID" />
Example 4 (matching)::
! <input type="hidden"
! name="examcontext"
! value="ContextUID" />
!
! <select name="QuestionUID##Answer1UID">
<option value="challange1" >challange1</option>
<option value="correct" >correct</option>
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/