[TYPO3-mvc] Edit/Validation of hidden record

Henjo Hoeksma me at henjohoeksma.nl
Fri Apr 15 00:17:15 CEST 2011


On 2011-04-14 22:37:47 +0200, Fabian Fisahn said:

> Hello,
> 
> I work on a Backend Extbase Extension where Users can add/edit records.
> The records can be hidden and visible.
> I have no problems with the visible data, but if I want to update a
> hidden record, I get the message:
> 
> The value must be of type "Tx_My_Model", but was of type "array".
> 
> I know that Extbase only can get visible und undeleted data. But is
> there a way to set a global setRespectEnableFields(FALSE) to get and
> validate also hidden records?
> 
> Thanks
> Fabian

Hi Fabian, I think I read somewhere about this and that it is possible 
to do so now.

Have a look at the second block of code in this article[1].

Have fun!

Henjo
[1] 
http://forge.typo3.org/projects/typo3v4-mvc/wiki/Default_Orderings_and_Query_Settings_in_Repository 




More information about the TYPO3-project-typo3v4mvc mailing list