[TYPO3-mvc] use object-data in formhandler

Pankaj Lele pankaj at lelesys.com
Thu Jul 21 19:25:05 CEST 2011


Hello Johannes,

> Now I try to get an onject-data (like item.name) into a
> formhandler-input-field.

Not sure what the formhandler-plugin means. However if you looking for
showing the object inside a form you can try following in the Fluid
template of single view:

<f:form name="myForm" action="someAction" object="{item}">
<f:form.textfield property="name" />
</f:form>

So in place of the line 2 above, you will see a text input with the
value from item.name filled in.

Hope that helps.


-- 

With best regards,
Pankaj Lele
---------------------------

CTO & Executive Director
Lelesys Infotech Pvt. Ltd.
Pune/Goa, India

Web: http://www.lelesys.com

[Certified TYPO3 Integrator]


More information about the TYPO3-project-typo3v4mvc mailing list