[TYPO3-mvc] Where does form.errors come from
Claus Fassing
claus at fassing.eu
Sat Sep 18 22:42:42 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'm using a controller argument validation.
@validate $object Tx_Myext_Domain_Validator_ObjectValidator
In this validator I add the error message.
$this->addError('The given subject was empty.', 1221560718);
This message do not appear in the FE with form.errors.
Where does form.errors come from and how can I touch this ?
Which object related to form.errors ?
Looks like that the from.errors only appear from domain model field
validation. Can I inject there an error, or which mechanism do I have to
handle localized (error) messages ?
Regards Claus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMlSRCAAoJELsIv+audObf+OgH/1U8QAahoinvUSTZOWpmwJnl
wWQ2Wn1uOKJteEDhQzPGFa8PMuF2R/ifl74yUOI2J3DVo+dTi2/gPwSww1mIlfCg
SVpT7JvgcH5iWKQDcNxGuddkaHcVIcjp5DeZ/q3kywd4M8xQ+u1pHuKCWc5Uu4Vn
gix1mRs197XIcXX7Sqz+06yveLvb2MYEDXhx7qkY4zLy4yBvmmxEgT7/3gErEtDE
6h6jWz6pM73PNVkkXtrEDruJ1+CKCKEYYzaLLMLxvsNA/SVAny6gcHOMeUpgAo7Y
kh1SHx14kxKR9RllJz+lNm7LpQ41gxWwxH4UrcoD7YcjdFCXacnaHXF7O7/blhM=
=oz1S
-----END PGP SIGNATURE-----
More information about the TYPO3-project-typo3v4mvc
mailing list