[TYPO3-mvc] Validation for a controller

Sebastian Schreiber me at schreibersebastian.de
Tue Mar 29 19:06:45 CEST 2011


Hi everyone,
i already made a post to discuss this topic.

I have a validator for a controller action.
Inside the validator i can call the addError Method, but
i can´t map the error to a specific property of the model.
So the fluid form viewhelpers are not aware which property is incorrect 
and therefore the specifiy error message is not shown.
It would be nice to bind the error to a specific property.
Why not implement a addPropertyError method within the
Tx_Extbase_Validation_Validator_AbstractValidator class?
This method could instantiate a Tx_Extbase_Validation_PropertyError Object.

Or is it possible and i´m just blind?

Thanks

-- 
Sebastian Schreiber
(Medieninformatiker)
(TYPO3 Certified Integrator)

Sülzburgstraße 36
D-50937 Köln

T  0221 677 88 541
M  0176 431 05 790

Skype schreibersebastian.de

me at schreibersebastian.de
www.schreibersebastian.de

Steuernummer: 219 / 5302 / 2302



More information about the TYPO3-project-typo3v4mvc mailing list