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

news at das-rad-ruft.de news at das-rad-ruft.de
Mon Mar 2 11:02:55 CET 2009



Hi Jerome,

it's not necessarily the first list entry - in the
example below the alert Window fires up in more than only the first row,
but not in all rows.
Im my code there're 4 to 5 join operations and
there I'd the effect that the alert window only worked with the first list
entry.

regards,
 Dietmar

> Hi
Jerome,
> 
> the example works, but if I use a JOIN
operation in the SELECT then only
> the
> first checkbox
triggers the action.
> 
> for example
> SELECT *
FROM pages JOIN fe_users where pages.title != ''"
> (ok,
table is empty, but the alert pops up only on the first list entry
> after
> clicking the checkbox)
> 
> I'm
using several JOIN operations to get the result rows in the lister,
> which
> works fine for the rows, but the checkbox is only
active at the first list
> entry.
> 
> regards,
>  dietmar
> 
> 
> At Thursday, 26. February
2009 Jerome Schneider wrote:
>> Hi Dietmar,
>>
>> I tried what you describe, and it works well to me. I provided
my code
>> here
http://formidable.typo3.ug/pastebin/snippet/94.html
>>
>> Could you confirm the bug ?
>>
>>
Regards,
>> Jerome Schneider
>>
>>
Dietmar Staab a écrit :
>> > 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?t
>> >est-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
>>
>> _______________________________________________
>>
TYPO3-project-formidable mailing list
>>
TYPO3-project-formidable at lists.netfielders.de
>>
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidab
>>le
> 
> 
>
_______________________________________________
>
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