public function executeAjaxActions($arrData)
    {
        \Input::setGet('no_ajax', 1); // Avoid circular reference

        switch (\Input::post('action')) {
            // Upload the file
            case 'fineuploader_upload':
                $arrData['name'] = \Input::post('name');

                /** @var FormFineUploader $objWidget */
                $objWidget = new $GLOBALS['TL_FFL']['fineUploader']($arrData);
                $strFile = $objWidget->validateUpload();

                if ($objWidget->hasErrors()) {
                    $arrResponse = array('success' => false, 'error' => $objWidget->getErrorAsString(), 'preventRetry' => true);
                } else {
                    $arrResponse = array('success' => true, 'file' => $strFile);
                }

                $response = new \Haste\Http\Response\JsonResponse($arrResponse);
                $response->send(false);
                exit;
                break;
        }
    }