[TYPO3-project-formidable] AJAX events calling plugin methods?
Gary Wong
gary.wong at spingroup.com
Mon Nov 17 22:15:53 CET 2008
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
More information about the TYPO3-project-formidable
mailing list