[TYPO3-dev] How to distinguish between different save buttons?
Charles Brunet
charles at cbrunet.net
Thu Jun 27 19:58:40 CEST 2013
Ok,
I solved my problem. The name of the input tag cannot be simply any name,
but must be an array that identify the extension and bla bla bla. I rewrote
my ViewHelper based on the SubmitViewHelper, and now the input tag is
properly constructed and the name is passed to the request object.
Thank you for your help.
*Charles Brunet, B. Ing.*
Webmestre.
Étudiant au doctorat, génie électrique, Université Laval.
2013/6/26 Xavier Perseguers <xavier at typo3.org>
> Hi,
>
> Charles Brunet wrote:
> > Yes, I know this ViewHelper. But this is for a link. For the save
> button, I
> > need to submit a form, so it must be an <input type="image" ... >. The
> > problem is that I don't know how to distinguish between different submit
> > buttons, since they all call the same action.
>
> Give a name to your submit button and take it as argument of your
> controller
>
>
> --
> Xavier Perseguers
> Release Manager TYPO3 4.6
>
> TYPO3 .... inspiring people to share!
> Get involved: http://typo3.org
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
>
More information about the TYPO3-dev
mailing list