[TYPO3-mvc] Nested objects in Fluid forms
Rens Admiraal
renst3 at e-rank.nl
Wed Jan 13 10:57:58 CET 2010
Hi all,
Found the answer allready, but forgot to post it yet. It is possible to create
nested objects in a form but not with arrays of objects.
The right format is <f:form.textbox property="user.username" /> for example.
My problem was closing the form tag to early ;-)
Greetz,
Rens
On Friday 08 January 2010 12:06:07 Rens Admiraal wrote:
> Hi all,
>
> I'm working on a registration form in which a person object has to be
> created. This person has 3 properties which are an array of other objects
> (using a MM_ table): Account, Address and Group.
>
> The AbstractFormFieldViewHelper has a method called
> addAdditionalIdentityPropertiesIfNeeded which seems to support a property
> like users.userName, but this does not work:
> <f:form.textbox property="users.username" />
>
> What is the (best) way to create a nested object in a fluid form?
>
> I've allready read that arrays of objects are not supported by fluid at the
> moment, which is not a big problem because for now we only support 1
> account, and only 1 address / group during registration. So a 1 to 1
> relation is fine for now.
>
> Greetz,
> Rens
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
More information about the TYPO3-project-typo3v4mvc
mailing list