velocity
Trouble configuring Velocity with Spring for a JUnit test
I\'m using Spring 3.0.5, Maven 3.0.3, JUnit 4 and Velocity 1.6.2.When I run my JUnit test, it is not able to locate a velocity template I created.The error I get is:[详细]
2023-03-19 04:15 分类:问答Include part of tile with Apache Tiles?
I\'m having a hard time with Tiles. I have a webapp with many views, all of these are composed around a single template. The template has about three or four \"placeholders\", and for each view, diff[详细]
2023-03-18 19:44 分类:问答Passing parameters between Velocity templates
I am trying to find out how to pass parameter while 开发者_运维技巧calling a velocity template from another.[详细]
2023-03-17 13:54 分类:问答Show all Spring form errors on Velocity template
I\'ve got an application using Spring MVC and Velocity.On one of my forms, I want to show all errors related to the form at the top of the page.I\'ve figured out how to show errors related to one part[详细]
2023-03-16 01:33 分类:问答Apache's Velocity — getTemplate() . how to pass string/object instead of .VM file
Apache\'s Velocity — getTemplate(). Actually its allowing to pass the .vm file name , can i pass the string/object here? is there any method available to pass the 开发者_开发问答string/object?This is[详细]
2023-03-16 00:28 分类:问答Velocity templates - Syntax for passing variables to methods
I am trying to construct a \"friendly\" email message based on a database lookup and cannot seem to nail down the right syntax for the following:[详细]
2023-03-15 23:56 分类:问答How to read a java map from request and iterate over it in a velocity template?
Problem: I am working on Liferay 6.0.5. I want to read a java m开发者_Go百科ap from request and iterate over it in a velocity template. The velocity is not able to read it as map rather it is taken as[详细]
2023-03-14 14:38 分类:问答Is there a way to programmatically access the Apache Velocity cache?
My web ap开发者_JAVA技巧plication is using Velocity, and my resource loader has caching enabled.Is it possible to manually access the values in the cache?All I really need to do is remove a particular[详细]
2023-03-14 03:30 分类:问答NVelocity macro parameter not evaluating
I\'m looking to create an inline function (method) inside my NVelocity template.The solution to this appears to be to use Velocimacros.So, I mocked up the following template to test:[详细]
2023-03-13 09:19 分类:问答Velocity Dynamic Property Access
Is it possible to dynamically access properties by using #evaluate?I apologize in advance for the length, but most of this is just example code to fully illustrate my issue.[详细]
2023-03-11 15:51 分类:问答