[FLOW3-general] Problems with MM table and display in Fluid

Kay Strobach typo3 at kay-strobach.de
Fri Dec 3 13:31:07 CET 2010


Hi,

So you need to iterate.

Best regards
Kay

Am 03.12.2010 13:29, schrieb Stefan Frömken:
> I found the informations about debug-helper. ThankYou
> 
> <f:debug>{ink.printer}</f:debug>
> 
> This outputs my ObjectStorage Object with my two printer Objects as array.
> 
> Stefan
> 
> Am 03.12.2010 13:24, schrieb Stefan Frömken:
>> OK...I tried with Iteration:
>>
>> <f:for each="{inks}" as="ink">
>> Type: {ink.type}<br />
>> Color: {ink.color.colorName}<br />
>> Printer: {f:for each="{ink.printer}"
>> as="printer"}{printer.printer}{/f:for}<br />
>> Base: {ink.base.base}<br />
>> Drytime: {ink.drytime.drytime}<br />
>> Capacity: {ink.capacity.capacity}<br />
>> </f:for>
>>
>> Everythink works but ink.printer has problems. Same errormessage as
>> before.
>>
>> I will have a look in my books for debug viewhelper.
>>
>> Stefan
>>
>>
>> Am 03.12.2010 13:14, schrieb Kay Strobach:
>>> Hi,
>>>
>>> I assume, you need an array or an iterator to display all records ;)
>>>
>>> There is a debug view helper ;)
>>>
>>> Best regards
>>> Kay
>>>
>>>
>>>> {ink.printer.printer}
>>>> results in an empty output
>>>>
>>>> A google search is completely empty:
>>>> http://www.google.de/search?hl=de&client=firefox-a&hs=4H&rls=org.mozilla%3Ade%3Aofficial&q=Cannot+cast+object+of+type+Tx_Extbase_Persistence_ObjectStorage+to+string.&aq=f&aqi=&aql=&oq=&gs_rfai=
>>>>
>>>>
>>>>
>>>>
>>>> So...I hope that you have an additional idea.
>>>>
>>>> Stefan
>>>
>>
> 



More information about the FLOW3-general mailing list