[TYPO3-mvc] Fluid: Access to the original object passed as content of a viewHelper?

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jan 28 23:50:46 CET 2010


Hi Masi,

>> I wonder if there is a way to get native access the object passed to a
>> viewHelper as "children". Example:
>>
>> <f:tcaLabel>{object.property}</f:tcaLabel>
>
> Perhaps if you pass them as attributes:
>
> <f:tcaLabel object="{object}" property="property" />

I already tried that too. I can access those via $this->arguments, but 
they are already converted there.

> PS: I am playing right now with the idea of value objects for "select" fields.

Please keep me updated how this turns out. I already had a look at your 
draft in your ballroom dancing extension.

-- 
kind regards,
Franz Koch


More information about the TYPO3-project-typo3v4mvc mailing list