--- doc/homework/homework5.html 2001/06/13 19:53:03 1.6 +++ doc/homework/homework5.html 2002/10/25 20:29:39 1.21 @@ -57,19 +57,38 @@
  • + <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 supported in CAPA. Possible args are:
  • + <stringresponse> implements a string answer, + it needs an internal <textline> for the + response to go in. It can check the string for either case + or order. + +
  • <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.
  • @@ -108,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 @@ -157,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 +
  • @@ -168,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: Tue June 12 15:25 EDT 2001 +Last modified: Fri Oct 25 16:29:31 EDT 2002