Project

General

Profile

Actions

Task #48964

closed

Enable property path for nested objects (ObjectStorages) in forms

Added by Nico de Haen about 11 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2013-06-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It is not possible to create a form for editing multiple objects residing in a object property of type ObjectStorage.
Example:
Model: Contact
Property: Adresses (ObjectStorage containing multiple Adress-Models)

<f:form object="{Contact}">
    <for each="{Contact.Adresses}" as="adress">
        <f:form.textfield property="adress.street" />  // not possible 
        <f:form.textfield property="adress[].street" />  // not possible 
    <f:/for>
<f:/form>

Files

ObjectAccess.patch (1.77 KB) ObjectAccess.patch Nico de Haen, 2013-06-08 18:09
ObjectAccess.patch (1.39 KB) ObjectAccess.patch Nico de Haen, 2013-06-08 18:13
Actions

Also available in: Atom PDF