[TYPO3-german] extbase add new eintrag ohne formular

arianesardinas asardinas at gmx.de
Fri Feb 7 15:31:05 CET 2014


Hallo Leute

ich versuche ein neues eintrag in eine tabelle zu speischern. mein problem ist, ich nutze kein formular. es sieht so aus:

public function newAction(\TYPO3\JobsDfu\Domain\Model\Occupationcategory $newOccupationcategory = NULL) {


	\TYPO3\CMS\Extbase\Reflection\ObjectAccess::setProperty($newOccupationcategory, 'name', 'hallo');
}
ich dachte es würde gehen. es geht nicht. hat jemand eine idee wie ich die Propertys setzen kann?
vielen dank in voraus!


More information about the TYPO3-german mailing list