[TYPO3-mvc] if viewHelper with or logic?

Ulrich Lorenz PHZ Luzern lorenz.ulrich at phz.ch
Tue Jun 29 13:59:10 CEST 2010


Hi Nikolas

Thanks for your hint. Just improved my code and as a side effect now I can just check if "singledata.reports" is set or not.

Still I wonder why there is no "or" logic (like i.e. in Smarty).


Regards,


Lorenz

> -----Ursprüngliche Nachricht-----
> Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org [mailto:typo3-
> project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von Nikolas
> Hagelstein
> Gesendet: Dienstag, 29. Juni 2010 13:10
> An: 'TYPO3 v4 MVC project'
> Betreff: Re: [TYPO3-mvc] if viewHelper with or logic?
> 
> Hi,
> 
> wouldn't it be better to prepare/pass the data in a more processable
> way?
> E.g.
> <f:for each="{singledata.reports}" as="report">
> 	<h3>{report.title}</h3>
> 	<f:format.html>{report.bodytext}</f:format.html>
> </f:for>
> 
> Cheers,
> Nikolas
> 
> 
> _______________________________________________
> 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