[TYPO3-mvc] Map numeric values with thousands separators to float properties

Peter Niederlag typo3-list at niekom.de
Tue Feb 8 21:46:04 CET 2011


Hello,

Am 01.02.2011 15:32, schrieb roberto blanko:
> Hello, hello!
[...]
> I don't want the last case to happen. Is there a nice way to influence how
> Extbase (or is it Fluid?) maps values to properties?

what you can currently do is use an initializeXyzAction(), get the 
argument, change it and set it again to the request.

Here you can find an example that simply replaces ',' to '.'
https://gist.github.com/817189

hth,
Greets,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-typo3v4mvc mailing list