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.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an