public function execute(CommandContext $context)
 {
     PHPWS_Core::initModClass('hms', 'SelectRoomView.php');
     PHPWS_Core::initModClass('hms', 'HMS_Residence_Hall.php');
     $term = Term::getSelectedTerm();
     $halls = HMS_Residence_Hall::getHallsDropDownValues($term);
     $onSelectCmd = CommandFactory::getCommand($context->get('onSelectAction'));
     $onSelectCmd->setRoomId($context->get('room'));
     $roomView = new SelectRoomView($onSelectCmd, $halls, $context->get('title'), $term);
     $context->setContent($roomView->show());
 }