--- doc/homework/homework5.html 2001/07/13 16:15:01 1.8 +++ doc/homework/homework5.html 2002/10/04 21:49:47 1.20 @@ -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.
  • @@ -122,6 +127,79 @@ value of a <foil>can only be "true" or "false" or "unused"
  • +
  • + <dataresponse> implements a straight data + storage entry idea, needs and interveing input tag like + <textline> to work correctly.
    + Arguments: + +
  • +
  • +

    + <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 @@ -182,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: Fri Jul 13 12:10:52 EDT 2001 +Last modified: Fri Oct 4 18:01:02 EDT 2002