[TYPO3-mvc] attach on non-object error

Alexander Schnitzler mail at alexanderschnitzler.de
Mon Mar 5 10:15:53 CET 2012


I'm sorry, but this is a little bit weird. I guess I understand what you 
want to do but the code you provided just isn't enough to give a good 
answer or solution.

I just see that you did some strange things, I would not do myself. For 
example something like <f:form.select 
name="person[{person.aid}][passport]" options="{passports}"
optionLabelField="passportname" multiple="TRUE" size="6"/>

This just looks like hacking extbase and fluid. A solution with the 
property attribute should work.
<f:for each="{persons}" as="person">
[...] property="{person.passport}" [...]
</f:for>

So I cannot give a solution yet, it's just small hints. What I do not 
understand until now is the term "aid" and what you mean with "or none 
if a 'delete'(no property of model) is set in form". If it's easier to 
describe in german, please do.


More information about the TYPO3-project-typo3v4mvc mailing list