[TYPO3-mvc] Validating nested objects on create

Steffen Ritter info at rs-websystems.de
Sun Nov 14 10:12:35 CET 2010


Am 13.11.2010 16:04, schrieb Astrid Haubold:
> Am 13.11.10 13:42, schrieb Steffen Ritter:
>> 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
> Hi Steffen, sorry if perhaps I'm being stupid: can I find your solution
> anywhere?
> Thank you!
> Astrid

No it is not only yet... Find according patches attached.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: validationExtbasePart.diff
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20101114/15661a44/attachment-0001.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: validationFluidPart.diff
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20101114/15661a44/attachment-0001.asc>


More information about the TYPO3-project-typo3v4mvc mailing list