[TYPO3-mvc] Disable recursive validation | objectstorage
Philipp Wrann
philippwrann at gmail.com
Mon Jul 14 15:27:32 CEST 2014
> These models are attached to the objectstorage from an external resource
i think i dont get it...
If you are in a crud context (so you want to create the object) you can set the validation options in the initialize method.
eg: public function initializeCreateAction() {}
There you can access the http request ($this->request) and make some adjustments needed.
If you are in a simple list/display context make use of the method annotation
@ignorevalidation $paramIgnoredInValidation
An make sure you are only passing the objects uid, that can prevent some troubles.
More information about the TYPO3-project-typo3v4mvc
mailing list