[TYPO3-mvc] Acessing a FLUID array-item with for-iteration-variable
Stefan Isak
stefanisak at googlemail.com
Mon May 9 14:20:32 CEST 2011
Hi,
why would you like to do that?
Each element gets assigned to the chosen 'as' attribute.
<f:for each=“{myArray}“ as=“foo“ iteration=“fooIterator“>
<f:debug> {foo} </f:debug>
</f:for>
That's everything you want or did I miss something?
Cheers
On May 9, 2011, at 1:54 PM, Frank Mey - NEW.EGO wrote:
> Hi list,
>
> in FLUID:
> I want to access the elements of an assigned array like {xmlpath}
> via the current index-value
> of the forViewHelper. So if I set iteration="assetIndex" it is
> possible to debug {assetIndex.index},
> but it seems not possible to use {assetIndex.index} to get an array
> element. I want to be able to
> use {xmlpfad.assetIndex.index} or sth like that... how can this be
> done ?
>
> Btw.: TYPO3 4.5.2 with the corresponding stable extbase/fluid versions...
>
> Thx 4 help,
> Frank
>
>> -----Original Message-----
>> From: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-
>> project-typo3v4mvc-bounces at lists.typo3.org] On Behalf Of Xavier
>> Perseguers
>> Sent: Monday, May 09, 2011 11:54 AM
>> To: typo3-project-typo3v4mvc at lists.typo3.org
>> Subject: Re: [TYPO3-mvc] Individual contributor agreement is still pending
>> review?
>>
>> Hi,
>>
>>>>> I don't even have a fax ... so how should I send the CLA???
>>>>
>>>> Same here - i've tried to scan + mail the CLA, but until now without
>>>> success/reaction.
>>>
>>> And I just tried to fax and got an error. This is really disappointing
>>> :-(
>>
>> I fax it about 4 weeks ago, sent an email to get feedback about the status
> but
>> only got an automatic reply that my question would be processed "soon".
>> This was nearly a week ago!
>>
>> :-(
>>
>> --
>> Xavier Perseguers
>> Release Manager TYPO3 4.6
>>
>> TYPO3 .... inspiring people to share!
>> Get involved: http://typo3.org
>>
>> _______________________________________________
>> TYPO3-project-typo3v4mvc mailing list
>> TYPO3-project-typo3v4mvc at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
More information about the TYPO3-project-typo3v4mvc
mailing list