[TYPO3-mvc] Fluid condition
Daniel Schöne
daniel at schoene.it
Sat Feb 4 19:04:40 CET 2012
object.count should work
cheers,
daniel
On Feb 4, 2012, at 5:12 PM, Tobias Rücker wrote:
>
> Hello,
>
> I get a object from the repository with some records. On a condition I will check if the object is empty or not.
>
> How can count the records or check is not NULL.
>
> In the example I get alway "not empty".
>
>
> <f:if condition="{object}">
> <f:then>
>
> not empty
>
> </f:then>
> <f:else>
>
> empty
>
> </f:else>
> </f:if>
>
>
> thanks
> Tobias
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
--
Daniel Schöne
More information about the TYPO3-project-typo3v4mvc
mailing list