[TYPO3-mvc] If-ViewHelper problems

Andriy Kushnarov akushnarov at gmail.com
Wed Jul 22 12:31:43 CEST 2009


Dear all,

I found such code:

<ul>
	<f:for each="{users}" as="user" key="index">
		<li <f:if condition="{index} %
2">class="even"</f:if>">{user.firstName} {user.lastName}</li>
	</f:for>
</ul>

does it work? As for me it doesn't :)

-- 
Best Regards
Andriy Kushnarov


More information about the TYPO3-project-typo3v4mvc mailing list