[TYPO3-mvc] extbase: possible/allowed action names?
Jochen Rau
jochen.rau at typoplanet.de
Thu Mar 18 14:38:32 CET 2010
Hi Peter,
this is an unknown feature ;-)
It is implemented inside the ActionController.
/**
* A special action which is called if the originally intended action could
* not be called, for example if the arguments were not valid.
*
* The default implementation sets a flash message, request errors and
forwards back
* to the originating action. This is suitable for most actions dealing
with form input.
*
* @return string
* @author Robert Lemke <robert at typo3.org>
* @author Christopher Hlubek <hlubek at networkteam.com>
* @api
*/
protected function errorAction() { ... }
regards
Jochen
On 18.03.10 14:34, Peter Niederlag wrote:
> Hello,
>
> I just ran into problems when using a "errorAction" inside my controller.
>
> Is this a bug or a known feature?
> (Leaves you with an empty page, as soon as any object/property on any
> targetAction needs validation).
>
> Now reacftored to 'ordererrorAction', which seems to cure the problem. :->
>
> Greets,
> Peter
More information about the TYPO3-project-typo3v4mvc
mailing list