[TYPO3-mvc] Putting together a object for updateAction, from ExtJs/json
Søren Malling
soren.malling at gmail.com
Mon Mar 15 14:54:12 CET 2010
Hi,
Getting closer to the goal of my first Extbase and ExtJs project I've
ran into a issue.
When posting to my Extbase page, where the update-, index-,
createAction etc are placed, the data is posted as POST. The update
action requires a object of Tx_Groupmembers_Domain_Model_Member
public function updateAction(Tx_Groupmembers_Domain_Model_Member $member) {
but how do i create a object mathcing the "shape" of a Domain_Model
object? Is it possible/correc to remove the
"Tx_Groupmembers_Domain_Model_Member $member" part of the function and
then create the a object based on the "POST" data or should i look in
to ExtJs to see how I can submit it like a object in someway?
Regards,
Søren
More information about the TYPO3-project-typo3v4mvc
mailing list