--- loncom/homework/optionresponse.pm 2001/05/04 21:19:37 1.6 +++ loncom/homework/optionresponse.pm 2001/05/15 20:48:43 1.7 @@ -13,15 +13,25 @@ sub start_optionresponse { my ($target,$token,$parstack,$parser,$safeeval,$style)=@_; #when in a radiobutton response use these &Apache::lonxml::register('Apache::optionresponse',('foilgroup','foil','conceptgroup')); + push (@Apache::lonxml::namespace,'optionresponse'); my $id = &Apache::response::start_response($parstack,$safeeval); return ''; } sub end_optionresponse { &Apache::response::end_response; + pop @Apache::lonxml::namespace; return ''; } +sub insert_optionresponse { + return ' + + + +'; +} + %Apache::response::foilgroup={}; sub start_foilgroup { %Apache::response::foilgroup={}; @@ -193,6 +203,11 @@ sub end_foil { return ''; } +sub insert_foil { + return ' + +'; +} 1; __END__