[TYPO3-project-formidable] Ajax events doesn't work in renderlet:LISTER anymore

Martin Claus mc.laus at gmx.de
Sat Nov 15 18:31:42 CET 2008


Hi List,

I recently updated from formidable 2.0.248 to 2.0.266. While testing  
my applications I realized that there are two broken functions in  
renderlet:LISTER:

1. If I try to sort the lister data with <pager><sort column="bla"/></ 
pager> where "bla" is a field of the dataRow but not displayed by any  
column then I get following error:

Fatal error: Call to a member function _navConf() on a non-object in / 
var/www/htdocs/typo3conf/ext/ameos_formidable/api/base/rdt_lister/api/ 
class.tx_rdtlister.php on line 192

I looked in the change log and saw that there where some changes done  
concerning sorting in lister. Now I wonder if it is still possible to  
sort by values not represented by columns in the lister or have the  
syntax simply changed.

2. I have lots of lister with buttons in each row to fire ajax events.  
But when I push one of them I get the following error:

Fatal error: Call to a member function callRunneable() on a non-object  
in /var/www/htdocs/typo3conf/ext/ameos_formidable/api/ 
class.tx_ameosformidable.php on line 6748

The problem is that the function getThrower returns null. That is  
because if we consider 45 to be the uid of the dataRow then getThrower  
wants to return oFrom->aORenderlets[listername.45.buttonName]. But in  
oFrom->aORenderlets there are no dataRows initialized so null is  
returned.

I hope my explanations are somehow understandable and look forward for  
your answers.

With best regards,

Martin Claus


More information about the TYPO3-project-formidable mailing list