[TYPO3-mvc] extbase Validation / Messaging
Steffen Ritter
info at rs-websystems.de
Fri Mar 5 16:24:54 CET 2010
Lucas Thurston schrieb:
Hi Lucas
first thing:
Please use current trunk versions of extbase and fluid.
Things like several submissions to get all errors are fixed there
already. Also some fluid-ViewHelper-Bugs.
The "error-viewhelper" which is provided is indeed not very flexible. I
did my own one[1] in my extbasetools-extension which allows to do
"per-Field" Validation and furthermore: multilevel validation (if you
have an object as property of an object you can validate the field
within this one seperetaly).
About translation or modifiyng the messages: there's no chance atm, you
just have to deal with your own viewhelpers. On thing would be: build a
viewhelper which needs the property, asks the tca for the label and
returns this one.
I hope I could help you a bit out.
regards
Steffen
[1]
http://dev.rs-websystems.de/svn/rsextbasetools/trunk/Classes/ViewHelpers/FormPropertyErrorViewHelper.php
More information about the TYPO3-project-typo3v4mvc
mailing list