[TYPO3-formidable] access parent PluginObject in ajax list
Markus Lange
markus.lange at bgm-gmbh.de
Thu Jan 13 17:37:19 CET 2011
Oliver Klee schrieb:
> I had the same problem and concluded that there just is no parent cObj
> when processing an AJAX call.
thanks for your anwser!
i found a solution:
in the normal list used something like
return $this->_oParent->MethodName($params);
eg:
return
$this->_oParent->createDetailLink($aRowData['title'],$aRowData['uid']);
the list got refreshed via ajax with an error:call func with non object
i replced the call with the method itself (not really fine) but works:
...
$the_link = $this->cObj->typolink('Eintrag lesen und bewerten', $temp_conf);
return $the_link;
and this works
More information about the TYPO3-project-formidable
mailing list