[TYPO3-mvc] Multidimensional Arguments

Sebastian Fischer typo3 at fischer.im
Thu Jan 21 18:56:27 CET 2010


Hi everybody,

lately i have the problem, that i need to have 2dimensional arguments e.g.:

<f:form.hidden name="{item.uid}[h]" value="1"/>
<f:form.checkbox name="{item.uid}[cb]" value="1" checked="{item.uid} == 
5" />

This is needed to have the opportunity to uncheck various items. If you 
only submit the checkbox you never get to notize which items are not 
checked, because html only submits checked values.

Solution for that is, to transmit hidden values for every variable item 
possible and then check which of them is additionaly checked or not.

If i would transmit as given above i get the error #1210858767: Invalid 
argument name.

Now the 1000 dollar question is, is it possible or not? And if it is, 
how does it need to be setup?

Greets and thanks in advanced

Sebastian Fischer
Certified TYPO3 Integrator


More information about the TYPO3-project-typo3v4mvc mailing list