[TYPO3-mvc] Fluid condition

Henjo Hoeksma me at henjohoeksma.nl
Sun Feb 5 21:10:44 CET 2012


If it always generates the empty, isn't it empty?
Returned as object or as array?

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Sat, Feb 4, 2012 at 17:12, Tobias Rücker <info at tomorrow-connections.de>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
>


More information about the TYPO3-project-typo3v4mvc mailing list