[Flow] [SOLVED] form with items that do not represent members of an object
mario chiari
ml at mariochiari.net
Tue Oct 8 18:29:56 CEST 2013
Hi
good for you,
although "You should not use or rely on these arguments in your own
applications."
:-)
mario
On Tue, 2013-10-08 at 18:13 +0200, Axel Wüstemann wrote:
> Due to
>
> http://docs.typo3.org/flow/TYPO3FlowDocumentation/stable/TheDefinitiveGuide/PartIII/ModelViewController.html#internal-arguments
>
> one can create a field like
>
> <f:form.textfield name="__newItem" />
>
> and then in the controllers createAction
>
> if ($this->request->getInternalArgument('__newItem') !== '') {
> $newObject->setItem($this->request->getInternalArgument('__newItem'));
> }
>
> Nice ;=)
>
> Axel
>
....
More information about the Flow
mailing list