[FLOW3-general] <f:if> limited to only one AND/OR?

Christian Essl essl at incert.at
Fri May 20 11:27:29 CEST 2011


Hi,

I am working my way into extbase/fluid and wrote the following if statement:

<f:if condition="{card.telephone}  || {card.sms} || {card.email}">

which throws an exception:
The expression "x" || "x" || "x" has more than three parts.

When I try to write only one OR:
<f:if condition="{card.telephone}  || {card.sms}">

no error is thrown. Does this mean that the fluid-conditions are limited to only one AND/OR? I looked into the documentation and sadly there was no mention of AND/OR :(.

Regards
Christian Eßl


More information about the FLOW3-general mailing list