[TYPO3-mvc] Flex form values set in $this->settings inside newAction but not createAction

Konrad Chorosinski kc at konster.de
Thu Apr 19 13:05:46 CEST 2012


Excerpt form my flexform.xml
<settings.flexform.notifyAdminsEmail>
				<TCEforms>
					<label>E-Mail Adressen zur Benachrichtung</label>
					<config>
						<type>input</type>
						<size>60</size>
						<eval></eval>
					</config>
				</TCEforms>
			</settings.flexform.notifyAdminsEmail>


And I am accessing the value with
$this->settings['flexform']['notifyAdminsEmail']


Am 19.04.2012 12:37, schrieb Konrad Chorosinski:
>
> Hello!
>
> I have a controller with two simple actions.
> "new" and "create".
>
> "new" creates a form for a new object and "create" saves the object in
> the repository.
>
> Inside the "new" method I am accessing $this->settings to read my flex
> form values. All good!
>
> Here is the thing I dont understand:
> After submitting the form, when my script gets to the "create" action,
> $this->settings appears to be empty - my flexform values are not set /
> gone.
>
> Why is that and how can I reinitialize my flexform settings?
>
> Thanks for any help,
> Konrad



More information about the TYPO3-project-typo3v4mvc mailing list