[TYPO3-mvc] multiple steps form

Pankaj Lele pankaj at lelesys.com
Fri Sep 23 17:41:29 CEST 2011


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.


-- 

With best regards,
Pankaj Lele
---------------------------

CTO & Executive Director
Lelesys Infotech Pvt. Ltd.
Pune/Goa, India

Web: http://www.lelesys.com

[Certified TYPO3 Integrator]


More information about the TYPO3-project-typo3v4mvc mailing list