Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1389

Add If, Else and ElseIf to freemarker model

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: WW 2.2.2
    • Fix Version/s: 2.0.0
    • Component/s: Plugin - Tags
    • Labels:
      None

      Description

      Add If, Else and ElseIf to freemarker model, such that in freemarker template, one could use

      <@saf.if test="...">
      do something
      </@saf.if>
      <@saf.elseif test="....">
      do some other things
      </@saf.elseif>
      <@else>
      else do something
      </@else>

        Attachments

          Activity

            People

            • Assignee:
              tm_jee tm_jee
              Reporter:
              tm_jee tm_jee
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: