--- doc/homework/homework5.html 2002/03/28 22:55:35 1.13 +++ doc/homework/homework5.html 2002/07/17 17:51:46 1.18 @@ -57,6 +57,11 @@
  • + <parameter> exactly the same as + <responseparam> currently, but should not appear + inside of a <*response> +
  • +
  • <numericalresponse> implements a numerical answer, it needs an internal <textline> for the response to go in. It checks all styles of numerical @@ -83,7 +88,7 @@
  • <essayresponse> implements a ungraded large - text response, it need an internal <textarea> + text response, it need an internal <textfield> for the response to go in.
  • @@ -142,7 +147,59 @@ the field when interfacing with humans
  • +
  • +

    + <externalresponse> implements the ability to have + an external program grade a response, expects either a + <textline> or <textfield> inside the tag.
    +

    + Arguments: + +

    + The response of the remote server needs to be in XML as follows. +

    +
    +<loncapagrade>
    +    <awardetail>
    +CORRECT
    +    </awardetail>
    +    <message>
    +A message to be shown to the students
    +    </message>
    +</loncapagrade>
    +	    
    + +
  • Foil Structure Tags @@ -203,9 +260,9 @@

    - + +

    Form internals

    +

    Form elements used for homework editing/response

    +

    the form is named lonhomework

    +

    Viewing a problem (either CSTR or RES space)

    + +

    Editing a problem (Edit mode)

    +

    tagdepth referes to the current value of the xmlparsers tagdepth couter ($Apache::lonxml::currentdepth)

    +

    Note: the file edit.pm has many helper functions for creating the standard elements for editing a tag and it's attributes, all of those functions follow these conventions

    +
    Guy Albertelli
    -Last modified: Thu Mar 28 17:59:42 EST 2002 +Last modified: Fri Jul 12 18:59:29 EDT 2002