[TYPO3-mvc] Getting object into my Fluid form

Søren Malling soren.malling at gmail.com
Thu Feb 18 10:29:57 CET 2010


Hi,

Thanks for all the help yesterday, I spent the most of last night
playing with extbase and the MVC concept - what a fantastic work!

I started playing with Fluid templating instead of the scaffolding
example, and now i occures this problem:

An error occurred while trying to call
Tx_Groupmembers_Controller_MemberController->editAction(). Error:
Required property 'member' does not exist.

My editAction looks like this

public function editAction(Tx_Groupmembers_Domain_Model_Member $member) {
	$this->view->assign('member', $member);
}

My Fluid template looks like this

<f:form method="post" action="update" name="member" object="{member}">
	<div id="edit-personal">
		<label for="name">Name</label><br />
		<f:form.textbox property="name" /><br />
	</div>
</f:form>

The code is more or less taken from the blog_example Blog model part
but i get the above error instead of my form.

Can anyone point me to the problem?

Thanks again, I really hope to be able to help others starting with
extbase, when I get hold on it :-)

Regards,

Søren


-- 
Officially Certified TYPO3 Integrator


More information about the TYPO3-project-typo3v4mvc mailing list