[TYPO3-mvc] multiple steps form

Ismaël Bidau bidau at ensci.com
Wed Sep 28 16:46:35 CEST 2011


Le 23/09/11 17:41, Pankaj Lele a écrit :
> Hi Ismaël,
>
>> In createAction, I put a redirect('step2'). I would like to had argument
>> this new uid but I don't know how ?
>
> I assume you have something like this:
>
> $this->frontendUserRepository->add($feUser);
>
> Then add following line
>
> $this->objectManager->get('Tx_Extbase_Persistence_Manager')->persistAll();
>
> Now your $feUser is stored in db and $feUser->getUid() would give you
> the uid of the same.
>
>
Hi Pankaj,

thanks a lot for your help.
It works.

Ismaël


More information about the TYPO3-project-typo3v4mvc mailing list