--- loncom/homework/response.pm	2001/02/19 20:37:43	1.22
+++ loncom/homework/response.pm	2001/04/04 19:17:50	1.23
@@ -7,7 +7,7 @@ package Apache::response;
 use strict;
 
 sub BEGIN {
-  &Apache::lonxml::register('Apache::response',('responseparam','caparesponse','numericalresponse','radiobuttonresponse','optionresponse','imageresponse'));
+  &Apache::lonxml::register('Apache::response',('responseparam','caparesponse','numericalresponse','radiobuttonresponse','optionresponse','imageresponse','essayresponse'));
 }
 
 sub start_response {
@@ -88,8 +88,7 @@ sub start_numericalresponse {
   require Apache::caparesponse; 
   import Apache::caparesponse; 
   my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
-  Apache::caparesponse::start_numericalresponse($target,$token,$parstack,$parser,$safeeval,$style);;
-  return "";
+  return &Apache::caparesponse::start_numericalresponse($target,$token,$parstack,$parser,$safeeval,$style);
 }
 
 sub start_caparesponse {
@@ -97,32 +96,35 @@ sub start_caparesponse {
   import Apache::caparesponse; 
   my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
 #  print "\n<br />\nsimple caparesponse\n";
-  Apache::caparesponse::start_caparesponse($target,$token,$parstack,$parser,$safeeval,$style);;
-  return "";
+  return &Apache::caparesponse::start_caparesponse($target,$token,$parstack,$parser,$safeeval,$style);
 }
 
 sub start_radiobuttonresponse {
   require Apache::radiobuttonresponse; 
   import Apache::radiobuttonresponse; 
   my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
-  Apache::radiobuttonresponse::start_radiobuttonresponse($target,$token,$parstack,$parser,$safeeval,$style);;
-  return "";
+  return &Apache::radiobuttonresponse::start_radiobuttonresponse($target,$token,$parstack,$parser,$safeeval,$style);
 }
 
 sub start_optionresponse {
   require Apache::optionresponse; 
   import Apache::optionresponse; 
   my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
-  Apache::optionresponse::start_optionresponse($target,$token,$parstack,$parser,$safeeval,$style);;
-  return "";
+  return &Apache::optionresponse::start_optionresponse($target,$token,$parstack,$parser,$safeeval,$style);
 }
 
 sub start_imageresponse {
   require Apache::imageresponse; 
   import Apache::imageresponse; 
   my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
-  Apache::imageresponse::start_imageresponse($target,$token,$parstack,$parser,$safeeval,$style);;
-  return "";
+  return &Apache::imageresponse::start_imageresponse($target,$token,$parstack,$parser,$safeeval,$style);
+}
+
+sub start_essayresponse {
+  require Apache::essayresponse; 
+  import Apache::essayresponse; 
+  my ($target,$token,$parstack,$parser,$safeeval,$style)=@_;
+  return &Apache::essayresponse::start_essayresponse($target,$token,$parstack,$parser,$safeeval,$style);
 }
 
 sub start_responseparam {