Hi,

Just giving a heads up WRT to the changes that have
been made to Velocity, and the Velocity service in
Turbine itself.

Velocity itself has changed a lot over the last day due to
the changes that we've made in the way Velocity Contexts
work. In most cases client code will only have to make the
following change:

import org.apache.velocity.Context;

changes to

import org.apache.velocity.VelocityContext;

Nothing else should have to be changed because leaving
Context in the signature of methods works fine and
is actually the best way to leave your code. Just
leave the interface Context, and we can plug any
concrete impl we want deep down in the service.

Below is a full explanation of how the code was
altered. Non of these changes should affect client
code. You can use all these classes as you were.

A new TDK has been built, and has been uploaded
into the test directory. If all goes well with
testing tonight we can release it.

jvz.

---

Turbine Security Service

These changes should not affect any client code, but references
to the old org.apache.velocity.Context which was a concrete
implementation were changed to the new org.apache.context.Context
interface, and org.apache.velocity.VelocityContext is
used as the concrete implementation. Changes in these
classes do not affect client code.

Classes affected:

org.apache.turbine.services.velocity.TurbineVelocity
org.apache.turbine.services.velocity.TurbineVelocityService
org.apache.turbine.services.velocity.VelocityService

---

Velocity Actions

Changes in these classes do not affect client code.

Classes affected:

org.apache.turbine.modules.actions.VelocityAction
org.apache.turbine.modules.actions.VelocitySecureAction

---

Velocity Layouts

Changes in these classes do not affect client code.

Classes affected:

org.apache.turbine.modules.layouts.VelocityOnlyLayout
org.apache.turbine.modules.layouts.VelocityPage

---

Velocity Navigations

Changes in these classes do not affect client code.

Classes affected:

org.apache.turbine.modules.navigations.VelocityNavigation

---

Velocity Screens

Changes in these classes do not affect client code.

Classes affected:

org.apache.turbine.modules.screens.VelocityErrorScreen
org.apache.turbine.modules.screens.VelocityScreen
org.apache.turbine.modules.screens.VelocitySecureScreen

---

Torque Task

Changes in these classes do not affect client code.

Classes affected:

org.apache.turbine.torque.ant.VTorqueTask




------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to