[TYPO3-project-formidable] Repaint nested box on ajax event 2.0.237
Jerome Schneider
typo3dev at ameos.com
Wed Aug 13 11:33:17 CEST 2008
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>/
More information about the TYPO3-project-formidable
mailing list