protected function getRequestedDashlet()
 {
     $dashletId = (int) $this->request->requestVar('DashletID');
     if (!$dashletId) {
         throw new Exception("Invalid {$dashletId} in request");
     }
     $dashlet = $this->dataService->dashletById($dashletId);
     if (!$dashlet) {
         throw new Exception("Invalid dashlet #{$dashletId}");
     }
     return $dashlet;
 }