[TYPO3-mvc] Ext.Direct + Extbase in FE ?
Fernando Arconada
falcifer2001 at yahoo.es
Thu Mar 31 18:10:35 CEST 2011
Sorry, I cant do it without an explanation, so I have to wait for the FE
example
I have registered my plugin
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY, // The extension name (in UpperCamelCase) or the
extension key (in lower_underscore)
'Pi1', // A unique name of the plugin in UpperCamelCase
array( // An array holding the controller-action-combinations that
are accessible
'Index' => 'index' // The first controller and its first
action will be the default
),
array( // An array of non-cachable controller-action-combinations
(they must already be enabled)
)
);
My controller inherits
class Tx_ExtDirectTest_Controller_IndexController extends
Tx_MvcExtjs_MVC_Controller_ExtDirectActionController
and now what?
How can I use my actions from a view?
El Mon, 28 Mar 2011 13:12:35 +0200, Dennis Ahrens escribió:
> Hi Fernando,
>
> On 26.03.2011 12:25, Fernando Arconada wrote:
>> Hi
>>
>> Anyone has an example of extbase FE plugin with Ext.Direct reading
>> domain objects? I have read http://wiki.typo3.org/ExtDirect but it
>> exports a normal class methods but no extbase Actions
>>
>>
>> Kind Regards
>>
>> Fernando Arconada
>>
>> PD: AFAIK the current trunk of mvc_extjs_samples isnt working at this
>> moment
>
> It is working, but there is no sample for FE included atm. I'll try to
> provide a small sample in the next days. You may check out how it works
> for the BE module. The basic way is the same. You register your plugin
> instead of your module and that's it. Your controller will look like
> those used in the sample module and the remote calls can also be done
> like in the module.
>
> regards
> Dennis
More information about the TYPO3-project-typo3v4mvc
mailing list