[TYPO3-project-formidable] Dynamic Refresh of LISTER Content by AJAX Event

Luc Muller l.mul-nospam-ler at ameos.com
Mon Apr 21 11:00:16 CEST 2008


You'll find the new packages available there : 
http://formidable.typo3.ug/svn/latest-revision.html

Albert van der Veen a écrit :
> Hi Jerome,
>
> This is a nice feature, but brakes the pager, correct? In your example 
> there are no more than 5 results when clicking on A or B. If there 
> were more and you would use the pager to go to the next page of 
> results, it would actually give you the page from the complete 
> resultset (that is, as if you hadn't clicked on A or B). Is there a 
> solution for this?
>
> grtz,
> Albert
>
> On 2008-04-18 15:07:55 +0200, Jerome Schneider <typo3dev at ameos.com> said:
>
>> Hi Martin,
>>
>> Refreshing anything can be done in ajax using majixRepaint()
>>
>> This method is available only on renderlet:BOX for the moment, which 
>> is OK as you can wrap the part of your application you want to 
>> refresh in a BOX
>>
>>
>> I placed an example for your understanding there:
>>
>> http://formidable.typo3.ug/features/the-mighty-lister/refresh-list-with-ajax.html 
>>
>
>
> Hope
>>
>> this answers
>>
>> Jerome
>>
>>
>>
>> Martin Claus a écrit :
>>> Hello List,
>>>
>>> can anybody please help me. I need to change the phparray datasource 
>>> of an LISTER renderlet according to userinput.
>>> The button which fires the event is placed in an other LISTER using 
>>> some column values as parameter.
>>>
>>> To replace the code of the datasource I use code like this:
>>>
>>> <onclick runat="ajax" cache="false" params="rowData::someColumn">
>>>     <userobj>
>>>     <php><![CDATA[
>>>         $aParams = func_get_arg(1);
>>>
>>>         //change Datasource
>>>         
>>> $this->aODataSources["DataourceOfListerToChange"]->aElement["bindsto"]["userobj"]["php"] 
>>> = <![CDATA[ new CODE ]]>;
>>> .
>>> .
>>> .
>>>
>>> This works quite fine.
>>> The problem is: How can I refresh the Data of the LISTER. No majix 
>>> function I tried work properly.
>>>
>>> With Best regards
>>>
>>> Martin Claus
>
>


-- 

*Luc Muller*
/Web Developper/
/Formidable - Rapid Application Developpement Framework for Typo3 
<http://formidable.typo3.ug>/
/Typo3 Ameos <http://www.ameos.info>/



More information about the TYPO3-project-formidable mailing list