Velocity
  1. Velocity
  2. VELOCITY-412

Enable access to application attributes

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5
    • Component/s: Engine
    • Labels:
      None

      Description

      Enable the getting of application attributes held by the RuntimeInstance.

      Currently you can set application attributes through the RuntimeServices interface, but you cannot get them.

      When Click starts up it initialises a custom Logger with Velocity and sets the logging level to INFO which produces useful initialisation debug information.

      Once initialisation has been completed it Click needs to turn down the Logger level to WARN, so that Velocity resource loading messages are not displayed.

      Please see the attached patches.

      regards Malcolm Edgar

      1. RuntimeServices_patch.txt
        0.8 kB
        Malcolm Edgar
      2. VelocityEngine_patch.txt
        1 kB
        Malcolm Edgar

        Activity

        Hide
        Henning Schmiedehausen added a comment -

        Close all resolved issues for Engine 1.5 release.

        Show
        Henning Schmiedehausen added a comment - Close all resolved issues for Engine 1.5 release.
        Hide
        Will Glass-Husain added a comment -

        Patch applied. Thanks!

        Show
        Will Glass-Husain added a comment - Patch applied. Thanks!
        Hide
        Will Glass-Husain added a comment -

        Looks good. I''ll commit this for 1.5.

        By the way, if you use "svn diff" to get the patch file you can generate one file that contains everything. It also includes any new files.

        Show
        Will Glass-Husain added a comment - Looks good. I''ll commit this for 1.5. By the way, if you use "svn diff" to get the patch file you can generate one file that contains everything. It also includes any new files.

          People

          • Assignee:
            Unassigned
            Reporter:
            Malcolm Edgar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development