[TYPO3-mvc] How can I access arguments of childnodes from within my viewHelper

Steffen Ritter info at rs-websystems.de
Wed Feb 10 17:37:52 CET 2010


Martin Kutschker schrieb:
> Franz Koch schrieb:
>> Hey Masi,
>>
>>> Iterate over the children and call a special method. If this one
>>> cannot get the arguments then
>>> simply call render(). The children's render() method will return an
>>> array (or an object) containing
>>> both the content and the arguments. Now the patent can decide which
>>> content to use.
>> Nice idea, but as Steffen already mentioned, that would pre-render all
>> cases which is not good performance wise.
> 
> I know and it could even have side effects, if you have tags like cycle that have state.
of formfields... the rendering would change the hash for checking 
against form manipulation.
> 
> Masi
Steffen


More information about the TYPO3-project-typo3v4mvc mailing list