You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by ku...@apache.org on 2024/08/02 10:01:20 UTC

(struts-site) branch revert-229-WW-5391-velocity-ext created (now 495664a21)

This is an automated email from the ASF dual-hosted git repository.

kusal pushed a change to branch revert-229-WW-5391-velocity-ext
in repository https://gitbox.apache.org/repos/asf/struts-site.git


      at 495664a21 Revert "WW-5391 Update VelocityManager extension interface"

This branch includes the following new commits:

     new 495664a21 Revert "WW-5391 Update VelocityManager extension interface"

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(struts-site) 01/01: Revert "WW-5391 Update VelocityManager extension interface"

Posted by ku...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kusal pushed a commit to branch revert-229-WW-5391-velocity-ext
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 495664a21353563547e80a23c96431b938048f1e
Author: Kusal Kithul-Godage <gi...@kusal.io>
AuthorDate: Fri Aug 2 20:01:15 2024 +1000

    Revert "WW-5391 Update VelocityManager extension interface"
---
 source/plugins/plugins-architecture.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/plugins/plugins-architecture.md b/source/plugins/plugins-architecture.md
index 75f4210a8..3d0f30905 100644
--- a/source/plugins/plugins-architecture.md
+++ b/source/plugins/plugins-architecture.md
@@ -80,7 +80,7 @@ The following extension points are available in Struts 2:
 | struts.mapper.class                     | Determines the ActionMapping from a request and a URI from an ActionMapping                                                                                                                  | singleton   | org.apache.struts2.dispatcher.mapper.ActionMapper                |
 | struts.multipart.parser                 | Parses a multipart request (file upload)                                                                                                                                                     | per request | org.apache.struts2.dispatcher.multipart.MultiPartRequest         |
 | struts.freemarker.manager.classname     | Loads and processes Freemarker templates                                                                                                                                                     | singleton   | org.apache.struts2.views.freemarker.FreemarkerManager            |
-| struts.velocity.manager.classname       | Loads and processes Velocity templates                                                                                                                                                       | singleton   | org.apache.struts2.views.velocity.VelocityManagerInterface       |
+| struts.velocity.manager.classname       | Loads and processes Velocity templates                                                                                                                                                       | singleton   | org.apache.struts2.views.velocity.VelocityManager                |
 | struts.actionValidatorManager           | Main interface for validation managers (regular and annotation based).  Handles both the loading of configuration and the actual validation (since 2.1)                                      | singleton   | com.opensymphony.xwork2.validator.ActionValidatorManager         |
 | struts.valueStackFactory                | Creates value stacks (since 2.1)                                                                                                                                                             | singleton   | com.opensymphony.xwork2.util.ValueStackFactory                   |
 | struts.reflectionProvider               | Provides reflection services, key place to plug in a custom expression language (since 2.1)                                                                                                  | singleton   | com.opensymphony.xwork2.reflection.ReflectionProvider            |
@@ -319,7 +319,7 @@ public class VelocityBeanSelectionProvider extends AbstractBeanSelectionProvider
 
     @Override
     public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException {
-        alias(VelocityManagerInterface.class, VelocityConstants.STRUTS_VELOCITY_MANAGER_CLASSNAME, builder, props);
+        alias(VelocityManager.class, VelocityConstants.STRUTS_VELOCITY_MANAGER_CLASSNAME, builder, props);
     }
 
 }