[TYPO3-english] Nested if fluid viewhelper in inline notation

Frenck Lutke frenck at innologi.nl
Wed May 15 11:00:35 CEST 2013


Hi Sergio,

On 14-5-2013 14:49, Sergio Catalá wrote:
> checked="{f:if(condition: iterator.isFirst, then: 1, else:
> {f:if(condition: '{salutation.uid} == {checkoutForm.salutation.uid}',
> then: 1, else: 0)})}"

There are some rules regarding nesting, found at the wiki. [1] Most 
notably, you need to enclose this type of nested inline notations with 
single quotes and escape single quotes nested within single quotes.

HTH,
Frenck

[1] 
http://forge.typo3.org/projects/typo3v4-mvc/wiki/FAQ#Can-ViewHelpers-be-nested


More information about the TYPO3-english mailing list