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

add documentation to explain precedence for resolving property

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: 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

        Hide
        nbubna Nathan Bubna added a comment -

        The user guide in its current form looks pretty explicit on this matter already. See user-guide.xml lines 579-601. I don't see how it would be improved.

        Show
        nbubna Nathan Bubna added a comment - The user guide in its current form looks pretty explicit on this matter already. See user-guide.xml lines 579-601. I don't see how it would be improved.
        Hide
        wglass Will Glass-Husain added a comment -

        marking for version 1.6 so we can track this

        Show
        wglass Will Glass-Husain added a comment - marking for version 1.6 so we can track this
        Hide
        henning Henning Schmiedehausen added a comment -

        It will be in the upcoming docbook User Guide. In fact I've just written the chapter about this and it will contain this information. Thanks for suggesting.

        Show
        henning Henning Schmiedehausen added a comment - It will be in the upcoming docbook User Guide. In fact I've just written the chapter about this and it will contain this information. Thanks for suggesting.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development