[TYPO3-mvc] Fluid: viewHelperForm always produces an object?
Sebastian Kurfürst
sebastian at typo3.org
Thu May 28 10:31:04 CEST 2009
Hey Sebastian,
> As far as I understand it the Blog Controller will get an Blog Object
> with updated properties named updatedBlog.
Exactly.
> Do I need something like a search object that stores the form data and
> brings it to my controller?
No, that's not needed.
You can just do something like:
<f:form controller=".." action="..">
<f:form.input name="searchString" />
</f:form>
Important is here that you did not bind an object to the form.
Now, inside your Controller, you get a string parameter named
"searchString".
Greets,
Sebastian
More information about the TYPO3-project-typo3v4mvc
mailing list