[TYPO3-project-formidable] AJAX events calling plugin methods?

Stephan Petzl spetzl at gmx.at
Fri Aug 14 18:51:12 CEST 2009


Gary Wong schrieb:
> I am creating a plugin that uses Formidable.
> 
> In one of my XML files, when I create an AJAX event, the event function 
> is not called in the scope of my plugin.
> 
> So, code like this won't work when called by ajax:
> 
> return $this->oParent->myPluginMethod();
> 
> In fact, the plugin is probably never even initiated during the call.
> 
> Can someone shed some light as to how to do something like this?
> I'd like the Ajax event to refresh a search results list using methods 
> in my plugin.
> 
> My solution currently is to try and stick as much code in a codebehind 
> PHP file instead.
> 
> Thanks for any info,
> Gary Wong
> 

have exactly the same problem! any hints?

-- 
Best Regards
Stephan Petzl
http://netrabbit.at


More information about the TYPO3-project-formidable mailing list