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

add documentation to explain precedence for resolving property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.6
    • Documentation
    • None
    • 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.

      Attachments

        Activity

          People

            henning Henning Schmiedehausen
            jchen Jim Chen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: