[TYPO3-mvc] extbase/fluid: validating and manipulating data before saving?
S.Korth
s.korth at dms-arts.com
Thu May 13 12:44:28 CEST 2010
Michael Sauter schrieb:
>> Hey Michael,
>>
>> for special cases you can inherit the Abstract validator and build a new
>> one for your Model. It needs more time to implement, but you didn't need
>> the setter.
>>
>> Sascha
>
> Hey Sascha,
>
> erm, I don't get it ;) How do you convert the string then? It isn't done
> automatically in FLOW3 (unless I'm missing something ...)
>
> I know about the possibility to create custom validators (actually, you
> need to do that IMHO when you have the special setter to check if the
> given string can be converted to a date).
>
> ~michael
Hey,
i just meant a custom validator like you said -> not automatically.
But i thought it would be better to build a custom one, then doing it
withing the setter.
Sascha ;-)
More information about the TYPO3-project-typo3v4mvc
mailing list