Object accessor could work for associative arrays
I'm not exactly sure if this is a bug or a missing feature:
The manual (http://flow3.typo3.org/documentation/manuals/fluid/fluid.usermanual/#d0e161) states that it is possible to traverse associative arrays with the object accessor syntax.
I thought it should be used like this (correct my if I'm mistaken):
$foo = array('bar' => array('baz' => 'value'));
And in Fluid:
Which would result in:
This does not work though (r4040). The problem seems to be in Parser/SyntaxTree/ObjectAccessorNode.php. There, either the property of an object is resolved or the variable is directly returned.
Applied patch adds the functionality to traverse associative arrays. It's probably not the cleanest solution though ...