Feature #33814

Hint how to allow string comparison in IfViewHelper

Added by Adrian Föder over 3 years ago. Updated over 3 years ago.

Status:Resolved Start date:2012-02-09
Priority:Should have Due date:
Assigned To:Adrian Föder % Done:

100%

Category:ViewHelpers
Target version:TYPO3 Flow Base Distribution - 1.1
Has patch:No

Description

currently, string comparisons are not directly supported. With a trick, it can be achieved nevertheless ({0: foo.bar} == {0: 'stringToCompare'}).
The Code example should mention that trick at least until "real" comparisons are allowed.

Associated revisions

Revision 05828520
Added by Adrian Föder over 3 years ago

[FEATURE] Hint about achieving string comparison in IfViewHelper

IfViewHelper's condition doesn't support real string
comparison. There's a known workaround which is now
mentioned in the VH's code examples.

Change-Id: Ia4b545290f6a54579e0167d3f0234581931387ba
Resolves: #33814
Releases: 1.1

History

#1 Updated by Gerrit Code Review over 3 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8932

#2 Updated by Gerrit Code Review over 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8932

#3 Updated by Adrian Föder over 3 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF