Feature #26692

String comparison support for f:if

Added by Martin Brüggemann about 4 years ago. Updated about 4 years ago.

Status:Rejected Start date:2011-05-07
Priority:Must have Due date:
Assigned To:Bastian Waidelich % Done:

0%

Category:ViewHelpers
Target version:-
Has patch:No

Description

I think it's really necessary that <f:if> fully supports simple string comparisons like this:

<f:if condition="{object.type} == 'cat'">
  <p>I am a cat.</p>
</f:if>

Today every string comparison has to be workarounded by setting additional boolean view-variables at the controller.

<f:if condition="{isCat}">
  <p>I am a cat.</p>
</f:if>

Related issues

duplicates TYPO3.Fluid - Feature #26665: Fluid: Implement String comparison Resolved 2010-03-10

History

#1 Updated by Bastian Waidelich about 4 years ago

  • Status changed from New to Rejected
  • Assigned To set to Bastian Waidelich

Thanks for reporting, but this is a duplicate of #26665 ;)

Also available in: Atom PDF