[TYPO3-mvc] access to ChildNodes arguments

Christian Zenker christian.zenker at 599media.de
Fri Jul 31 11:50:30 CEST 2009


Am 30.07.2009, 11:00 Uhr, schrieb Bastian Waidelich <bastian at typo3.org>:

Hi Bastian.

> 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.

This is a good idea.
But it might become a problem, if the children of a CaseViewHelper return  
an empty string on purpose.

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

I didn't use "condition" as it might be mixed up with the IfViewHelper's  
"condition".

Christian.


More information about the TYPO3-project-typo3v4mvc mailing list