\n | "; $result .= " | \n | $text | \n
'; } else { my $col = " | {$resource->{ID}}) { + if (!$checked) { $col .= "checked "; + $checked = 1; } - $col .= "value='" . $resource->{ID} . "' /> | "; + $col .= "value='" . $resource->symb() . "' />"; return $col; } }; @@ -1274,11 +1334,9 @@ sub render { Apache::lonnavmaps::resource()], 'showParts' => 0, 'queryString' => $wizard->queryStringVars() . '&folderManip=1', - 'url' => '/adm/wizard', + 'url' => $wizard->{URL}, 'filterFunc' => $filterFunc } ); - $result .= $self->{MESSAGE_AFTER} if (defined $self->{MESSAGE_AFTER}); - return $result; } @@ -1296,9 +1354,11 @@ Note this state will not automatically a This is generally intended for use on a specific sequence, not the entire course, as for technical reasons the user can't open and close folders, so they must all be shown as open. To fix this would require making the folders image form submitters and remembering the selected state of each resource, which is not impossible but is too much error-prone work to do until it seems many people will want that feature. +Note this class is generally useful for multi-choice selections, by overridding "determineChoices" to return the choice hash. + =over 4 -=item overridden method B
Student Name | ". + "Section | |
" + . HTML::Entities::encode($choices->{$_}->[$fullname]) + . " | " + . HTML::Entities::encode($choices->{$_}->[$section]) + . " |