[TYPO3-project-formidable] Can't get param value from a nested renderlet...

Paweł Bandura gawelx at gmail.com
Fri May 15 17:59:43 CEST 2009


Stig Nørgaard Færch pisze:
> I'm trying to get the value from a renderlet:RADIOBUTTON named 
> "question". When it is not nested in a renderlet:BOX I have no problems 
> retrieving the value. But as soon as I nest it, I only get the key - but 
> not the value...
> 
> any ideas what I'm doing wrong?
> 
> <renderlet:BOX name="test">
>     <childs>
>         <renderlet:RADIOBUTTON name="question" label="Is it 
> okay?:">                                            <data 
> defaultvalue="0">                                    
> <items>                                         <item value="1" 
> caption="Yes" />
>                 <item value="0" caption="No" />
>             </items>
>         </data>
>         <onchange runat="ajax" params="previousappliedpurposebool">
>             <userobj>
>             <php><![CDATA[/*<?*/
>             $aParams = $this->oMajixEvent->getParams();
>             print_r($aParams);

Hi

I'm not realy sure I understand, what you mean. I assume that somewher 
in your code is renderlet named "previousappliedpurposebool" and you 
want to access its value in the ajax event.
If that's correct - you shoul pass "test.previousappliedpurposebool" as 
a param.

Paweł


More information about the TYPO3-project-formidable mailing list