[TYPO3-project-formidable] Datasource:PHPARRAY and params passing

JéŽrô™me Schneider typo3dev at ameos.com
Tue Sep 22 14:00:35 CEST 2009


Hi Paweł !

It'as probably because your data-rows don't have a "uid" column (does 
not have to be displayed, but has to be provided by the datasource for 
each row)

try adding a unique uid in each row, like for instance, a simple counter 
incrementing.

For formidable to work properly and being able to identify each data 
row, uid has to be always given.

Regards,
Jerome Schneider

Paweł Bandura a écrit :
> Hi
> 
> I'm trying to pass a param to the ajax function in the lister bound to 
> the datasource:PHPARRAY. I use the following code:
> 
> <column type="renderlet:IMAGE" name="imgEditSemestr" listHeader="">
>    <custom>
>       class="icon-blue" title="Edytuj"
>    </custom>
>    <path>EXT:ects/res/icon/edit.gif</path>
>    <onClick
>       runAt="ajax"
>       exec="fw.imgEditSemestr_click()"
>       params="rowData::nr_semestru"
>       cache="false"
>    />
> </column>
> 
> where 'nr_semestru' is one of the column of the lister.
> 
> And I always get the set of buttons, where first edit button in the list 
> gives me the value of 'nr_semestru' from the last row in the list. The 
> rest of the edit buttons doesn't react at all, when I click them.
> 
> So, anyone knows how can I 'menage' (edit-delete) the data in this kind 
> of lister?
> 
> Regards
> Paweł Bandura


More information about the TYPO3-project-formidable mailing list