[TYPO3-mvc] extbase: Use another field than uid for action controllers

Franz Koch typo3.RemoveForMessage at elements-net.de
Sat May 21 14:26:50 CEST 2011


Hey Peter,

>> In the meantime you can simply pass your custom property value annotated
>> as "string" or whatever it is and then simply grab the item from the
>> repository like Stefan showed in his answer.
>
> there is still a difference though as you can't just add the value in
> GET/POST to get the object without having to do anything than declaring
> the proper method signature and annotation for your action and having it
> validated (big bonus!).

yes, validation is of course not working then - but it sounded as if 
this wouldn't be needed for his task. And it might even work with 
validation if you mess with the request in the initializeAction method, 
although this will become somewhat tricky though.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list