以下示例是否有内联符号?
<f:if condition="{value}==1">
<f:then>Value is 1</f:then>
<f:else if="{value}==2">Value is 2</f:else>
</f:if>
谢谢你的帮助
最佳答案
可能是if
的级联- View 助手:
{f:if(condition:'{value}==1',
then:'Value is 1',
else:'{f:if(condition:\'{value}=2\', then:\'Value is 2\')}'
)}
通常的缺点是为堆叠的内联 View 助手转义字符串分隔符。
关于fluid - Typo3 流体 : elseif inline notation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47161945/