[TYPO3-mvc] Tx_Fluid_ViewHelpers_Form_RadioViewHelper in newAction View
Axel Müller
axel.mueller at amit-services.de
Fri Nov 27 10:49:34 CET 2009
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
--
axel.mueller at amit-services.de
http://www.amit-services.de
tel (06322) 680 668
mobil 0160 973 483 27
jabber-id: axelm at jabber.ccc.de
More information about the TYPO3-project-typo3v4mvc
mailing list