[ http://issues.apache.org/jira/browse/VELTOOLS-12?page=all ]

Tim Colson moved VELOCITY-321 to VELTOOLS-12:
---------------------------------------------

      Project: VelocityTools  (was: Velocity)
          Key: VELTOOLS-12  (was: VELOCITY-321)
    Component:     (was: Tools)
      Version:     (was: 1.5)

> Factorizing VelocityEngine instance among servlets is not possible
> ------------------------------------------------------------------
>
>          Key: VELTOOLS-12
>          URL: http://issues.apache.org/jira/browse/VELTOOLS-12
>      Project: VelocityTools
>         Type: Bug
>  Environment: Operating System: All
> Platform: PC
>     Reporter: Claude Brisson
>     Priority: Minor
>  Attachments: vvs.patch
>
> When one uses several servlets that all inherit VelocityViewServlet, one may
> want to factorize the instance of VelocityEngine along all servlets, typically
> by overriding initVelocity(), getVelocityEngine() and getVelocityProperty() so
> that they refer to a static instance of VelocityEngine.
> But it's not possible because VelocityViewServlet makes several direct
> references to its private member 'velocity' whereas it should use
> getVelocityEngine().
> I'll try to contribute a 'subversive' patch if I figure how to do it :-)

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to