[TYPO3-mvc] Tx_Fluid_ViewHelpers_Form_RadioViewHelper in newAction View

Steffen Ritter info at rs-websystems.de
Mon Nov 30 06:48:13 CET 2009


Axel Müller schrieb:
> Hi,
> 
> with the following lines in my Formtemplate new.html for a newAction:
> 
> <f:form.radio property="barrierefreiheit" value="1" /> ja 
> <f:form.radio property="barrierefreiheit" value="0" checked="checked" />
> nein
> 
> I get this error-message:
> 
> RuntimeException
> No value found for key "Tx_Fluid_ViewHelpers_FormViewHelper->formObject"
> 
> Without this line, the Form functions. Is there something wrong with my
> code? 
> 
> 
> I digged into fluid and found in
> 
> fluid/Class/ViewHelpers/Form/RadioViewHelper.php line 98:
>     $propertyValue = $this->getPropertyValue();
> 
> $this->getPropertyValue() is defined in 
> fluid/Class/ViewHelpers/Form/AbstractFormFieldViewHelper.php line 149
> 
> line 150 is the Problem:
> $formObject =
> $this->viewHelperVariableContainer->get('Tx_Fluid_ViewHelpers_FormViewHelper',
> 'formObject');
> 
> Sorry, if I ask at the wrong place or ask a faq.
> 
> greetings,
> Axel Müller
> 
Same with checkboxes in "new"...


More information about the TYPO3-project-typo3v4mvc mailing list