[TYPO3-project-formidable] Form elements in LISTER with SEARCHFORM

Dietmar Staab news at das-rad-ruft.de
Mon Feb 23 03:08:22 CET 2009


Hi,

I'm trying to add a checkbox to each result of a search in the combination of 
SEARCHFORM and LISTER.

If I define one column for a test as
                        <column
                            name="checkboxtest"
                            type="renderlet:CHECKSINGLE"
                            activelistable="true">
                            <onclick
                                runat="client">
                                <userobj>
                                    <js>
                                        <![CDATA[
                                           
			alert("executed js");
                                           
                                            ]]>
                                    </js>
                                </userobj>
                            </onclick>
                        </column>

then in the search result in each row the checkbox appears, but the onclick 
event is only triggered on the first entry in the list (same if I click next 
to the following search results). I have the same behaviour with buttons.

Am I doing something wrong or is the onlick event not available in each list 
entry?

I'm using verson 2.0.307

On this page 
http://formidable.typo3.ug/tutorials/editing-in-list-with-modalbox.html?test-modaledit[test-modaledit.thelist]
[page]=1 is an example with a lister and a datasource which seems to work. Is 
there something different in a lister/searchform combination?

best regards,
 dietmar


More information about the TYPO3-project-formidable mailing list