Task #9950

Task #26664: Clean up Form ViewHelpers

Task #26658: Make Form ViewHelpers consistent

Binding to nested arrays impossible for form-elements

Added by Christian Opitz over 11 years ago. Updated over 10 years ago.

Should have
Target version:
Start date:
Due date:
% Done:


Estimated time:
Has patch:


I want to bind my form to an array with variable nested arrays. I already extended form and set the formName to ---ignore--- to trigger the objectAccessor-Mode - works so far. Now all names are generated perfectly but there is a useless check in getPropertyValue() that makes it impossible to get a value of sth. like

<fh:form object="{gp}" fieldNamePrefix="gp">
    <f:textfield property="bla.blubb"/>
<!-- Which renders to: -->
    <input type="text" name="gp[bla][blub]"/>

The value can not be detected because there is a check for array in AbstractFormFieldViewHelper on line 152.

As far as i can see this check is useless as the Tx_Extbase_Reflection_ObjectAccess::getPropertyPath($formObject, $propertyName); can handle arrays too. So i would be very happy, if you could remove it :)


Updated by Sebastian Kurfuerst about 11 years ago

  • Parent task set to #26658

Updated by Robert Lemke over 10 years ago

  • Target version changed from 1.0 beta 2 to 1.0.0

Updated by Karsten Dambekalns over 10 years ago

  • Target version deleted (1.0.0)

Also available in: Atom PDF