[TYPO3-formidable] clear a searchform and repaint the lister

Domi Garms djgarms at gmail.com
Sun Sep 5 11:32:42 CEST 2010


Hello,

I dont get my majix working on a searchform and a lister. I simply tried
following, but the lister doesnt get repaint:

Searchform:
(...)
                <renderlet:BUTTON name="se_clear" label="Reset form" >
                    <onclick runat="ajax" cache="false">
                        <userobj>
                            <php><![CDATA[


                                return
$this->aORenderlets["mylister"]->majixRepaint();

                            ]]></php>
                        </userobj>
                    </onclick>

                </renderlet:BUTTON>



<renderlet:LISTER name="mylister" ajaxLister="true">
            <searchform use="search_aupair" />

            <!-- TODO, ###ROW2### Adding -->
            <template
                path="EXT:dmf_aupairs/ressources/html/template.html"
                subpart="###mylister###"
                alternateRows="###ROW1###" />
            <pager>
                <template
                    path="EXT:dmf_aupairs/ressources/html/template.html"
                    subpart="###mylisterpager###" />
                <rows perpage="1" />
                <window>2</window>
            </pager>

(...)

I tried the repaint in a different form already, and now it doesnt work
again. Do I have to make any setup for using this repaint function?

Thanks for any help

Domi


More information about the TYPO3-project-formidable mailing list