[TYPO3-formidable] Radiobutton in lister

Aike Terjung a.terjung at inmedias.com
Wed Jul 21 15:36:01 CEST 2010


Hi Jerome,

fore shure, it should provide an uid, because i simply copied your example, so the datasource is:

		<datasource:DB name="ds-pages" enableFields="true">
			<sql><![CDATA[

				SELECT * FROM pages WHERE pid=11

			]]></sql>
		</datasource:DB>

i only changed the pid to match my typo3 installation.

any other ideas?

thank you very much

Aike

----- Ursprüngliche Mail -----
Von: "JéŽrô™me Schneider" <j.schneider at ameos.com>
An: typo3-project-formidable at lists.typo3.org
Gesendet: Mittwoch, 21. Juli 2010 15:26:25 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
Betreff: Re: [TYPO3-formidable] Radiobutton in lister

Hi Aike,

The problem is probably that your datasource bound to the corresponding 
lister is not providing any uid data for each row (which is mandatory in 
Formidable).

Regards,
Jerome Schneider

Le 21/07/10 15:19, Aike Terjung a écrit :
> in addition,
>
> with firebug, i can track down that in my environment this line gives no value:
>
> oChangedRow = this.oForm.rdt("mylist").getCurrentRow();
>
> on the formidable website, oChangedRow is filled with the selected uid, on my system the value is "undefined".
>
> thanks in advance
>
> Aike
> ----- Ursprüngliche Mail -----
> Von: "Aike Terjung"<a.terjung at inmedias.com>
> An: "TYPO3 project list for the FORMidable extension"<typo3-project-formidable at lists.typo3.org>
> Gesendet: Mittwoch, 21. Juli 2010 14:47:23 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
> Betreff: Re: [TYPO3-formidable] Radiobutton in lister
>
> Hi Jerome,
>
> first, thank you for your help. unfortunately, i cant get your example to work. I have simply copied your code into my system, but when i click on a Radiobutton it will select it and dont deselect the last selected.
> At the moment i dont know what information i should provide additionaly.
>
> i hope you can give me a hint.
>
> thanks in advance
>
> Aike
> ----- Ursprüngliche Mail -----
> Von: "Jerome Schneider"<typo3dev at ameos.com>
> An: typo3-project-formidable at lists.typo3.org
> Gesendet: Donnerstag, 15. Juli 2010 23:05:26 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien
> Betreff: Re: [TYPO3-formidable] Radiobutton in lister
>
> Hi Aike,
>
> You're right, for the moment, no solution to handle this natively. But
> with a bit of scripting, you can obtain a result.
>
> I made this little example to explain how:
> http://formidable.typo3.ug/tutorials/radiobutton-in-lister.html
>
>
> Hope this unblocks you,
> Jerome Schneider
>
> Le 15/07/2010 12:24, Aike Terjung a écrit :
>> Hello List,
>>
>> i hope someone can help me. I am trying to implement a lister inside a form to select out of some alternatives. Every line in the lister should have a Radiobutton to select this line.
>> My problem is that the RADIOBUTTON renderlet implements a radiobutton-group within the lines, so every linke could be selected individualy instead of selecting only one line out of the lister.
>>
>> Has someone an idea how i could solve this issue?
>>
>> thanks in advance
>>
>> Aike
>>
>
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-formidable
>

_______________________________________________
TYPO3-project-formidable mailing list
TYPO3-project-formidable at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-formidable

-- 

Telefon +49 2408 719983

Internetagentur, Aachen, Hamburg:     http://www.team-in-medias.de
Typo3-Agentur, Aachen, Hamburg:      http://www.typo3-macher.de

team in medias GmbH
Pascalstraße 15
52076 Aachen

Geschäftsführer: Dr. Erwin Lammenett
HRB 6764, Amtsgericht Aachen 


More information about the TYPO3-project-formidable mailing list