Github user victorsosa commented on a diff in the pull request: https://github.com/apache/struts/pull/84#discussion_r50339318 --- Diff: plugins/sitemesh/src/main/java/org/apache/struts2/sitemesh/VelocityDecoratorServlet.java --- @@ -78,17 +88,18 @@ public void init(ServletConfig config) throws ServletException { velocityManager.init(config.getServletContext()); // do whatever we have to do to init Velocity - setVelocityEngine(velocityManager.getVelocityEngine()); - toolboxManager = velocityManager.getToolboxManager(); + getVelocityView().setVelocityEngine(velocityManager.getVelocityEngine()); + //getVelocityView().getToolboxFactory(). toolboxManager = velocityManager.getToolboxManager(); --- End diff -- WARN: I didn't find a way to translate this line to the new API, but the ALL test are passing
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org