Index: t3lib/config_default.php =================================================================== --- t3lib/config_default.php (revision 6818) +++ t3lib/config_default.php (working copy) @@ -283,7 +283,6 @@ 'ExtDirect::getAPI' => 't3lib/extjs/class.t3lib_extjs_extdirectapi.php:t3lib_ExtJs_ExtDirectAPI->getAPI', 'ExtDirect::route' => 't3lib/extjs/class.t3lib_extjs_extdirectrouter.php:t3lib_ExtJs_ExtDirectRouter->route', ), - 'ExtDirect' => array(), // array of key value pairs (provider -> location:className) that holds the classes for the ExtDirect functionality 'XCLASS' => array(), // See 'Inside TYPO3' document for more information. ), 'FE' => array( // Configuration for the TypoScript frontend (FE). Nothing here relates to the administration backend! @@ -366,7 +365,8 @@ 'frontendEditingController' => array( 'default' => 't3lib/class.t3lib_frontendedit.php:t3lib_frontendedit' ) - ) + ), + 'ExtDirect' => array(), // array of key value pairs (provider -> location:className) that holds the classes for the ExtDirect functionality ), 'EXTCONF' => array( // Here you may add manually set configuration options for your extensions. Eg. $TYPO3_CONF_VARS['EXTCONF']['my_extension_key']['my_option'] = 'my_value'; // '--key--' => array() Index: t3lib/extjs/class.t3lib_extjs_extdirectapi.php =================================================================== --- t3lib/extjs/class.t3lib_extjs_extdirectapi.php (revision 6818) +++ t3lib/extjs/class.t3lib_extjs_extdirectapi.php (working copy) @@ -32,7 +32,7 @@ * @author Stefan Galinski * @package TYPO3 */ -class t3lib_ExtJs_ExtDirectAPI { +class t3lib_extjs_ExtDirectApi { /** * Parses the ExtDirect configuration array "$GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect']" * and feeds the given typo3ajax instance with the resulting informations. The get parameter @@ -50,8 +50,8 @@ $filterNamespace = t3lib_div::_GET('namespace'); $javascriptNamespaces = array(); - if (is_array($GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'])) { - foreach ($GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'] as $javascriptName => $className) { + if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'])) { + foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'] as $javascriptName => $className) { $splittedJavascriptName = explode('.', $javascriptName); $javascriptObjectName = array_pop($splittedJavascriptName); $javascriptNamespace = implode('.', $splittedJavascriptName); @@ -79,7 +79,7 @@ $javascriptNamespaces[$javascriptNamespace]['actions'][$javascriptObjectName][] = array( 'name' => $methodName, 'len' => $numberOfParameters - ); + ); } } } Index: t3lib/extjs/class.t3lib_extjs_extdirectrouter.php =================================================================== --- t3lib/extjs/class.t3lib_extjs_extdirectrouter.php (revision 6818) +++ t3lib/extjs/class.t3lib_extjs_extdirectrouter.php (working copy) @@ -32,7 +32,7 @@ * @author Stefan Galinski * @package TYPO3 */ -class t3lib_ExtJs_ExtDirectRouter { +class t3lib_extjs_ExtDirectRouter { /** * Dispatches the incoming calls to methods about the ExtDirect API. * @@ -88,10 +88,10 @@ protected function processRpc($singleRequest, $namespace) { try { $endpointName = $namespace . '.' . $singleRequest->action; - + // theoretically this can never happen, because of an javascript error on // the client side due the missing namespace/endpoint - if (!isset($GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'][$endpointName])) { + if (!isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'][$endpointName])) { throw new t3lib_error_Exception('ExtDirect: Call to undefined endpoint: ' . $endpointName); } @@ -103,10 +103,10 @@ ); $endpointObject = t3lib_div::getUserObj( - $GLOBALS['TYPO3_CONF_VARS']['BE']['ExtDirect'][$endpointName], + $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ExtDirect'][$endpointName], FALSE ); - + $response['result'] = call_user_func_array( array($endpointObject, $singleRequest->method), is_array($singleRequest->data) ? $singleRequest->data : array()