[TYPO3-mvc] access to ChildNodes arguments

Bastian Waidelich bastian at typo3.org
Thu Jul 30 11:00:56 CEST 2009


Christian Zenker wrote:

Hi Christian,

> But I need to access the label-argument of the children. [...]

Instead of accessing the arguments of child view helpers I'd iterate 
through the children and execute their render method. The first child 
that returns anything intercepts the loop.


> Temporarily i solved it using the viewHelperVariableContainer, but I 
> don't think that this is a good or durable solution.

Actually I think, using the viewHelperVariableContainer is the right way 
for this!

BTW: I'd rename the "label"-attribute to "condition" or something alike.

Bastian


More information about the TYPO3-project-typo3v4mvc mailing list