Wenn das deine komplette Action ist, wäre es hilfreich, ein neues Objekt zu instanziieren, bevor du darauf operierst.
Zitat von arianesardinas <asardi...@gmx.de>:
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! _______________________________________________ TYPO3-german mailing list
TYPO3-german@lists.typo3.orghttp://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
_______________________________________________ TYPO3-german mailing list TYPO3-german@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german