[TYPO3-mvc] Validating nested objects on create
Steffen Ritter
info at rs-websystems.de
Sat Nov 13 13:42:39 CET 2010
Am 13.11.2010 10:28, schrieb Franz Koch:
> Hey Astrid,
>
>> I am working on a first project with extbase and I'm stuck on the topic
>> of validating nested Objects. I need to validate 1:1 related objects as
>> well as 1:n related objects (multiple childobjects in one form). How did
>> you solve it? What do you think would be the best way to deal with this
>> until the feature is implemented?
>
> I'd say custom validators combined with custom viewHelpers to display
> the nested errors (see my comments on the ticket). With those I managed
> to validate 1:1 relations for now, but 1:n or n:m relations
> (objectStorages) should also work, although they are more tricky to
> display correctly (bound to the related object while it doesn't have a
> identifier yet).
>
I did an automatic validation vor for object storages (and therore for
such relations).
I presented it (with some other fixes) at T3CON, there seemed to be
interest, but I did not here anything about this from Jochen or
Sebastian anymore...
regards
Steffen
More information about the TYPO3-project-typo3v4mvc
mailing list