--- loncom/homework/response.pm	2000/11/22 00:02:31	1.4
+++ loncom/homework/response.pm	2000/11/24 21:49:08	1.6
@@ -1,6 +1,8 @@
 # The LearningOnline Network with CAPA
 # various response type definitons response definition
 
+# 11/23,11/24 Gerd Kortemeyer
+
 package Apache::response;
 use strict;
 
@@ -19,6 +21,7 @@ sub start_caparesponse {
 
 sub start_responseparam {
   my ($target,$token,$parstack,$parser,$safeeval)=@_;
+ if ($target ne 'meta') {
   my $args='';
   if ( $#$parstack > -1 ) { $args=$$parstack[$#$parstack]; }
   my $default = &Apache::run::run("{$args;".'return $default}',$safeeval);
@@ -32,6 +35,16 @@ sub start_responseparam {
     $Apache::inputtags::params{$name}=$value;
   }
   return '';
+} else {
+    my $tag='parameter_'.$Apache::inputtags::part['-1'].'_'.
+	$token->[2]->{'name'};
+    my $display='';
+    if ($token->[2]->{'description'}) {
+       $display=' display="'.$token->[2]->{'description'}.'"';
+    }
+    return "\n<".$tag.$display.'>'.$token->[2]->{'type'}.':'.
+               $token->[2]->{'default'}.'</'.$tag.'>';
+}
 }
 
 sub end_responseparam {