Velocity
  1. Velocity
  2. VELOCITY-547

Add ablity to add directives programatically

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6
    • Component/s: Engine
    • Labels:
      None

      Description

      Some directives may have complex initialization and setup requirements. So much so that it's simpler to configure them in the calling code, and not thru some reflection mechanism. The attached patch adds methods to support this.

        Activity

        Adam Heath created issue -
        Adam Heath made changes -
        Field Original Value New Value
        Attachment feature_add-get-add-remove-directive.patch [ 12357213 ]
        Hide
        Will Glass-Husain added a comment -

        seems reasonable to me. and would allow Inversion-of-Control style configuration. The implementation is simple. Any other comments on this?

        Show
        Will Glass-Husain added a comment - seems reasonable to me. and would allow Inversion-of-Control style configuration. The implementation is simple. Any other comments on this?
        Adam Heath made changes -
        Component/s Engine [ 12311337 ]
        Hide
        Will Glass-Husain added a comment -

        patch applied.

        Show
        Will Glass-Husain added a comment - patch applied.
        Will Glass-Husain made changes -
        Fix Version/s 1.6 [ 12310290 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Mark Thomas made changes -
        Workflow jira [ 12403838 ] Default workflow, editable Closed status [ 12551510 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551510 ] jira [ 12552202 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Adam Heath
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development