You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Malcolm Edgar (JIRA)" <ji...@apache.org> on 2005/10/19 01:53:44 UTC

[jira] Created: (VELOCITY-412) Enable access to application attributes

Enable access to application attributes
---------------------------------------

         Key: VELOCITY-412
         URL: http://issues.apache.org/jira/browse/VELOCITY-412
     Project: Velocity
        Type: Improvement
  Components: Source  
    Versions: 1.5    
    Reporter: Malcolm Edgar


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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


Re: [jira] Resolved: (VELOCITY-412) Enable access to application attributes

Posted by Malcolm Edgar <ma...@gmail.com>.
Thanks Will.

Hard to bet OS turn around time.

regards Malcolm Edgar

[jira] Updated: (VELOCITY-412) Enable access to application attributes

Posted by "Malcolm Edgar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VELOCITY-412?page=all ]

Malcolm Edgar updated VELOCITY-412:
-----------------------------------

    Attachment: VelocityEngine_patch.txt

> Enable access to application attributes
> ---------------------------------------
>
>          Key: VELOCITY-412
>          URL: http://issues.apache.org/jira/browse/VELOCITY-412
>      Project: Velocity
>         Type: Improvement
>   Components: Source
>     Versions: 1.5
>     Reporter: Malcolm Edgar
>  Attachments: RuntimeServices_patch.txt, VelocityEngine_patch.txt
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[jira] Updated: (VELOCITY-412) Enable access to application attributes

Posted by "Malcolm Edgar (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VELOCITY-412?page=all ]

Malcolm Edgar updated VELOCITY-412:
-----------------------------------

    Attachment: RuntimeServices_patch.txt

> Enable access to application attributes
> ---------------------------------------
>
>          Key: VELOCITY-412
>          URL: http://issues.apache.org/jira/browse/VELOCITY-412
>      Project: Velocity
>         Type: Improvement
>   Components: Source
>     Versions: 1.5
>     Reporter: Malcolm Edgar
>  Attachments: RuntimeServices_patch.txt, VelocityEngine_patch.txt
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[jira] Commented: (VELOCITY-412) Enable access to application attributes

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/VELOCITY-412?page=comments#action_12332436 ] 

Will Glass-Husain commented on VELOCITY-412:
--------------------------------------------

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.

> Enable access to application attributes
> ---------------------------------------
>
>          Key: VELOCITY-412
>          URL: http://issues.apache.org/jira/browse/VELOCITY-412
>      Project: Velocity
>         Type: Improvement
>   Components: Source
>     Versions: 1.5
>     Reporter: Malcolm Edgar
>  Attachments: RuntimeServices_patch.txt, VelocityEngine_patch.txt
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[jira] Resolved: (VELOCITY-412) Enable access to application attributes

Posted by "Will Glass-Husain (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/VELOCITY-412?page=all ]
     
Will Glass-Husain resolved VELOCITY-412:
----------------------------------------

    Fix Version: 1.5
     Resolution: Fixed

Patch applied.  Thanks!

> Enable access to application attributes
> ---------------------------------------
>
>          Key: VELOCITY-412
>          URL: http://issues.apache.org/jira/browse/VELOCITY-412
>      Project: Velocity
>         Type: Improvement
>   Components: Source
>     Versions: 1.5
>     Reporter: Malcolm Edgar
>      Fix For: 1.5
>  Attachments: RuntimeServices_patch.txt, VelocityEngine_patch.txt
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org


[jira] Closed: (VELOCITY-412) Enable access to application attributes

Posted by "Henning Schmiedehausen (JIRA)" <de...@velocity.apache.org>.
     [ https://issues.apache.org/jira/browse/VELOCITY-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henning Schmiedehausen closed VELOCITY-412.
-------------------------------------------


> Enable access to application attributes
> ---------------------------------------
>
>                 Key: VELOCITY-412
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-412
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.5
>            Reporter: Malcolm Edgar
>             Fix For: 1.5
>
>         Attachments: RuntimeServices_patch.txt, VelocityEngine_patch.txt
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org