Velocity
  1. Velocity
  2. VELOCITY-447

add documentation to explain precedence for resolving property

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      document

      Description

      The Velocity user guide is not clear about the precedence for resolving the property of a variable. As in the UberspectImpl.java code, the precedence to resolve a property should be something like in this order:

      getbar()
      getBar()
      get("bar")
      isBar()

      This information will be very useful to the user. I suggest that this is added to the user guide under the "Properties" section.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Henning Schmiedehausen
            Reporter:
            Jian Chen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development