[TYPO3-project-formidable] Repaint nested box on ajax event 2.0.237

Martin Claus mc.laus at gmx.de
Wed Aug 13 12:36:35 CEST 2008


Hi Jerome,

works great. Your speed in bugfixing is really formidable :)

Best regards,
Martin Claus

Am 13.08.2008 um 11:33 schrieb Jerome Schneider:

> Hi Martin,
>
> This bug should be corrected by today's revision 238
> available on http://formidable.typo3.ug
>
> Best regards,
> Jerome Schneider
>
>
> Martin Claus a écrit :
>> Hi List,
>>
>> I have found non expected behavior in repainting a renderlet:BOX  
>> nested
>> in a renderlet:BOX. My code looks like this:
>>
>> <renderlet:BOX name="sheet">
>>  <childs>
>>    <renderlet:BOX name="list_cont">
>>      <childs>
>>        <renderlet:LISTER name="lister">
>>          <datasource use="pages" />
>>            <columns>
>>              <column name="title" type="renderlet:TEXT"
>> listHeader="Page Title" />
>>            </columns>
>>        </renderlet:LISTER>
>>      </childs>
>>    </renderlet:BOX>
>>  </childs>
>> </renderlet:BOX>
>> <renderlet:BUTTON name="btn_repaint" label="Repaint List">
>>  <onclick runat="ajax" cache="false">
>>    <userobj>
>>      <php><![CDATA[
>>        return
>> $this->aORenderlets['sheet']->aChilds['list_cont']->majixRepaint();
>>      ]]></php>
>>    </userobj>
>>  </onclick>
>> </renderlet:BUTTON>
>>
>> If the outer box is deleted the form works as expected. But in this
>> version, at the first click on the button the data in the lister
>> disappears, on the second click, the event beaks.
>> Debug Error:
>> /htdocs/typo3conf/ext/ameos_formidable/api/base/rdt_lister/api/ 
>> class.tx_rdtlister.php
>> line 1022 - Call to a member function _navConf() on a non-object
>>
>> Can you please have a look at this problem. I have got a rather  
>> complex
>> form and need multiple nested boxes and the refreshing capability.
>>
>> With kind regards
>>
>> Martin
>
>
> -- 
>
>
> *Jérôme Schneider*
> /Developer/
> /Formidable - Rapid Application Developpement Framework for Typo3
> <http://formidable.typo3.ug>/
> /Ameos <http://www.ameos.com>/
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable



More information about the TYPO3-project-formidable mailing list