--- doc/homework/homework5.html 2001/07/13 16:15:01 1.8 +++ doc/homework/homework5.html 2002/11/13 23:28:30 1.22 @@ -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 @@ -171,6 +249,31 @@ name which should be set to the value of which <hintpart> will be shown.
  • +
  • + <stringhint> has all the arguments that + <stringresponse>, does and the required attribute + name which should be set to the value of which + <hintpart> will be shown. +
  • +
  • + <formulahint> has all the arguments that + <formularesponse>, does and the required attribute + name which should be set to the value of which + <hintpart> will be shown. +
  • +
  • + <optionhint> required attribute name + which should be set to the value of which <hintpart> + will be shown. +
  • +
  • + <radiobuttonhint> has the required attribute + name which should be set to the value of which + <hintpart> will be shown, and answer which + should be a two element list, frist the type (foil or + concept) and then either the foil's name or the concept's + string +
  • @@ -182,9 +285,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: Wed Nov 13 17:33:43 EST 2002