Zum Hauptinhalt gehen

Fs 5.1 Method equals not comparing the object

Kommentare

1 Kommentar

  • Zendesk API User
    Author: mbergmann - 8/7/2014 9:05

    Hello Siva,

    The reason is that you are simply not comparing Strings ;-)

    Using $CMS_SET(...)$...$CMS_END_SET$ does not create a String but a template fragment object that will be rendered upon calling $CMS_VALUE(..)$ or .toString() on it - as described in the documentation of $CMS_SET$.

    So you have to use

    $CMS_VALUE("lt_overlaylink_email".equals(ltSelectedName.toString()))$

    Michael

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.