[FLOW3-general] Relations of created sub-properties

"Christian Müller (Kitsunet)" christian.mueller at typo3.org
Wed Nov 16 12:37:50 CET 2011


Hi Helmut,

seems to be that no one I could ask so far has tried that... Some 
workaround suggestion would be a hidden field:

<f:form.hidden id="artist_concert" property="artists.0.concert" 
value="{newConcert}" />

but that is untested. I hope I can get some more info from the team 
about it to see if I miss something here. But it seems to me that this 
is a use case that could come up all the time...

cheers,
Christian



On 16/11/11 09:24, Helmut Hummel wrote:
> Hi Christian,
>
> On 15.11.11 12:11, "Christian Müller (Kitsunet)" wrote:
>
>> Indeed doctrine forces you to set the association on the "One" side of a
>> OneToMany just as you experienced. That is not a bug but a feature;)
>
> Hmm.. but I need to set the relation on the "Many" side. Again my problem:
>
> Concert: one- inversed side
> Artist: many- owning side
>
>
> I want to create a Concert with one Artist, thus creating a form for a
> concert and a field for the artist property:
>
> <f:form.textbox id="artist" property="artists.0.name" />
>



More information about the FLOW3-general mailing list