Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.4
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None
    • Environment:
      Operating System: other
      Platform: Other

      Description

      I know velocity can only introspect Methods, not member variables, but
      perhaps you could make an exception for arrays?
      Arrays are basically suported with foreach iteration.
      Now it would be great if I could also say "$myarray.length items displayed".
      Is this possible somehow now?
      If not, does someone agree this could be implemented?

      I think .length support should be possible only IF the passed variable is an
      array, and for nothing else.

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Gernot Hüller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development