Feature #40081

Allow assigned variables as keys in arrays

Added by Viktor Livakivskyi almost 3 years ago. Updated almost 2 years ago.

Status:New Start date:2012-08-23
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Has patch:No

Description

It was asked couple of times in mailing lists, e.g. here: http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/2012-January/011389.html

is something like this possible with fluid?

Controller:

$this->view->assign('value', $value);
$this->view->assign('keyName', $keyName);

View:

arguments="{{keyName} : value, foo: bar}" 

IIRC This does not work. Any workarounds?

This is especially needed, when creating links, like index.php?id=5?tx_myext8[edit]=3, because I need to pass dynamically plugin instance id to GET via 'additionalParams' of 'f:link.page' Fluid viewHelper.


Related issues

related to TYPO3.Fluid - Feature #33215: RFC: Dynamic values in ObjectAccess paths New 2012-01-16

Also available in: Atom PDF