[TYPO3-mvc] Validator with "trim" funnctionality smilar to TCEFORM
Chris Wolff - AERTiCKET AG
cwolff at aer.de
Wed Apr 2 09:03:52 CEST 2014
Hi Steffen,
Thanks alot. I will note the typeConverter for a later Time. As the Production site still runs at TYPO3 4.5 LTS.
As the new Property Manager is not Available there I need to solve this problem is on my own then. And keep in mind fixing it after the site has been upgraded to 6.2 LTS.
Regards chris
-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Steffen Müller
Gesendet: Dienstag, 1. April 2014 18:44
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc] Validator with "trim" funnctionality smilar to TCEFORM
Hi.
On 01.04.2014 17:43 Chris Wolff - AERTiCKET AG wrote:
> And it would be nice if my validator could modify the value.
Keep in mind it's a validator, not a modifier.
Don't mix contexts, otherwise your code will become hard to understand and maintain.
Alternatively you can use a TypeConverter of the rewritten propertymapper.
I don't have a working example at hand but I'm pretty sure google will find some. For example: http://forge.typo3.org/issues/52480
--
cheers,
Steffen
Active Contributor TYPO3 CMS
TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node _______________________________________________
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