Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-239

#foreach (${item} in ${list}) behavior inconsistent with #foreach ($item in $list)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.1
    • 1.5
    • Engine
    • None
    • Operating System: other
      Platform: Other
    • 25669

    Description

      1) #foreach (${item} in ${list})

      2) #foreach ($item in $list)

      Is there a practical reason why the first notation fails to populate $item?

      I'm guessing it's purely a technical reason (doesn't get parsed properly,
      maybe creates a variable named "

      {item}

      " instead).

      Attachments

        Activity

          People

            Unassigned Unassigned
            mkienenb Mike Kienenberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: