FAQ

Search Discussions

63 discussions - 242 posts

  • I have a question related to the recent one about forcing all references to be quiet. I didn't see an answer in the docs, but feel free to tell me "It's right there, you dope!" I often want to ...
    Andy LeeAndy Lee
    Nov 4, 2002 at 5:57 am
    Nov 5, 2002 at 12:21 pm
  • I'm sorry if this is documented somewhere, but I spent a while reading over the docs and mailing list archives and couldn't find this. Normally if $foo appears in a template and foo doesn't exist, ...
    Serge KnystautasSerge Knystautas
    Nov 3, 2002 at 10:58 pm
    Nov 27, 2002 at 7:26 pm
  • Hi, I am planning to deploy Velocity(v1.3) in a stand-alone Java application to process email templates. A little benchmark test of my own shows that Velocity(with caching enabled) outperforms the ...
    Mailing Lists AccountMailing Lists Account
    Nov 21, 2002 at 8:50 pm
    Nov 27, 2002 at 4:49 pm
  • I am fairly new to Velocity. Every time I make a change to my servlet, the app is unable to display the data that I am accessing from my database. In order to properly see my changes, I have to ...
    RgrieselhuberRgrieselhuber
    Nov 4, 2002 at 6:10 pm
    Nov 4, 2002 at 8:13 pm
  • Hi there! I compilled velocity right now. No problems at all. Once it was compilled, I tryied: C:\velocity-1.3.1-rc2\build c:\ant\bin\ant test Buildfile: build.xml env: [echo] java.home = ...
    Rodolfo SikoraRodolfo Sikora
    Nov 28, 2002 at 5:37 am
    Dec 3, 2002 at 5:51 pm
  • I'm trying to make a simple HelloWorld example, and I'm doing this from inside the doGet method in a servlet: ------------------ Velocity.init(); VelocityContext context = new VelocityContext(); ...
    Søren NeigaardSøren Neigaard
    Nov 26, 2002 at 7:37 pm
    Nov 28, 2002 at 1:55 am
  • Hi Is there any way to stop the template execution at any point? I tried using #stop, but it gives me an error. Here is the code I used: #foreach($root in $roots) ...
    Rodrigo ReyesRodrigo Reyes
    Nov 21, 2002 at 5:44 pm
    Oct 26, 2003 at 12:02 pm
  • Hallo, does anyone know if it is possible to include pictures dynamically, and to make things slightly more complicated, in a RTF document? Let say, I have a database with image names & locations. ...
    Jan VeselyJan Vesely
    Nov 27, 2002 at 1:52 pm
    Dec 2, 2002 at 1:09 pm
  • Hi. For hours I can't figure what is wrong here... I have a VelocityServlet which is similar to the 2nd example. Trying to run it, Tomcat says: javax.servlet.ServletException: Error initializing ...
    Yura UshakhowYura Ushakhow
    Nov 9, 2002 at 2:53 pm
    Nov 11, 2002 at 10:00 am
  • I have the following two macros. The content output is fine but the formatting is not how I want it. How can I modify my macros to output the content in the desired format (see below)? #macro(button ...
    Alexandre MartinAlexandre Martin
    Nov 26, 2002 at 5:07 pm
    Nov 27, 2002 at 10:51 am
  • I'm trying to integrate another (Perl CGI based) app into a site built with Velocity and I'd like to import pages generated by that app into pages generated by velocity. The obvious approach would be ...
    Laurie HarperLaurie Harper
    Nov 14, 2002 at 6:07 am
    Nov 14, 2002 at 7:14 pm
  • A friend just pointed me to the fact that Ted Husted's book "Struts in Action" is out now. It includes one chapter (chapter 17, 16 pages) on Struts using Velocity as the view layer. I read chapter 17 ...
    Gabriel SidlerGabriel Sidler
    Nov 6, 2002 at 2:16 pm
    Nov 8, 2002 at 10:25 pm
  • Hi there, Is there a way to add a tool to the context in Anakia (if not why not :-) ), I am using it to generate source code and it would be really usefull to be able to add a couple of helper ...
    RobertRobert
    Nov 30, 2002 at 7:20 am
    Nov 30, 2002 at 6:27 pm
  • Can anybody tell me if Velocity would be given to displaying recursive structures? From a brief skimming over the macro language, it appears this would be possible by having a macro call itself. The ...
    Aaron HamidAaron Hamid
    Nov 20, 2002 at 8:48 pm
    Nov 25, 2002 at 5:58 am
  • Hi, supose I have a class: class MyClass { private String name; public MyClass(String name) { this.name = name; } public String getName() { return name; } } Now I want to make 'n' MyClass objects ...
    Rafael SteilRafael Steil
    Nov 16, 2002 at 7:05 am
    Nov 16, 2002 at 3:24 pm
  • Hi I am using the #parse directive and I need to pass some variables to the template which is being parsed. The code I am using is: #macro (FE_textline $element) #set($label = ...
    Rodrigo ReyesRodrigo Reyes
    Nov 26, 2002 at 5:21 pm
    Nov 27, 2002 at 10:06 am
  • Anyone knows the reason for this : [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. I looked everywhere and can't find anything about it. - shen -- To ...
    SthamStham
    Nov 20, 2002 at 6:16 am
    Nov 26, 2002 at 6:47 pm
  • Hi everyone, I wonder if the following thing is possible, and if it is, how to make Velocity do it...(i simplify the real situation & use different classes, but the problem is the same): I have one ...
    Jan VeselyJan Vesely
    Nov 26, 2002 at 10:03 am
    Nov 26, 2002 at 11:29 am
  • I'm trying to output '$TTL'. I put '\$TTL' in the template. '\$TTL' gets output. If I remove the \, the output is '$TTL', but an error is generated in velocity.log. Is there any way I can output ...
    Daniel StolzDaniel Stolz
    Nov 14, 2002 at 2:25 pm
    Nov 15, 2002 at 7:07 pm
  • Hi all, I have a cautionary tale about developing internationalized code on windows for deployment on unix machines. Generating web pages for Japan requires that we use Shift-JIS character sets. ...
    Brett Joseph MorganBrett Joseph Morgan
    Nov 7, 2002 at 12:12 am
    Nov 7, 2002 at 4:52 pm
  • Hi My question is does Velocity support URL Rewriting or I have to employ URL rewriting with my own Implementation. I know that with Servlets you can do URL Rewriting while printing out to the ...
    KwiriraiKwirirai
    Nov 29, 2002 at 4:30 pm
    Nov 29, 2002 at 8:04 pm
  • Hi all, I have a really long macro called displayAllMessages which is used to display nicely formatted messages to the user of my web application. The macro takes two arguments; the messages to ...
    Rodney SchneiderRodney Schneider
    Nov 28, 2002 at 12:32 am
    Nov 28, 2002 at 3:34 am
  • Hi People! I would be verry happy, if you could help me with my problem: Is there any way to to tell velocity to use another velocity.properties file without editing a property/config-file of the ...
    Florian SuschetzFlorian Suschetz
    Nov 26, 2002 at 2:20 pm
    Nov 26, 2002 at 2:33 pm
  • Hallo, I would like to use Velocity for generating RTF documents. Ok, I can do that. But I have a specific question about this - does anyone know how to do the following thing in a "nice way": ...
    Jan VeselyJan Vesely
    Nov 22, 2002 at 11:17 am
    Nov 22, 2002 at 5:02 pm
  • hello all I'm trying to build a site map (a visual thing, with clickable links to screengrabs) of our velocity-using site and the normal tools aren't really up to the job, what with the dynamic ...
    Nicky thompsonNicky thompson
    Nov 18, 2002 at 4:28 pm
    Nov 20, 2002 at 5:07 pm
  • I noticed the same problem. Velocity seems to lack the facility for delimiting velocity code from html (like php's <?? ) and also lacks methods for inserting literal html into a document from within ...
    DevonDevon
    Nov 20, 2002 at 12:29 am
    Nov 20, 2002 at 4:32 pm
  • Is there a way in velocity to pass in an array list defined in Velocity as a function parameter? For example, can I have: #set ($arr = ["blah", "blah", "blah"]) #set ($result = $tool.foo($arr)) ? If ...
    William LeeWilliam Lee
    Nov 19, 2002 at 7:50 pm
    Nov 20, 2002 at 3:16 am
  • I tried to put an #if statement on two lines as such: #if ($params != "paramList" && $params != "req" && $params != "res" && $params != "c") and got the following error: SEVERE: parse error for ...
    Rob MclainRob Mclain
    Nov 15, 2002 at 5:26 pm
    Nov 18, 2002 at 3:55 pm
  • Dear Sir, I am from Beijing, China. I am working at a computer company as software engineer & project manager. Most of projects I have done were involved in J2EE web application. I think Velocity ...
    Qi ChenQi Chen
    Nov 15, 2002 at 7:55 pm
    Nov 18, 2002 at 7:27 am
  • Hello I have problem with passing array of objects into Velocity context, or rather with accessing fields of these objects. Here is some of my code: Java Servlet class Category { String parent="", ...
    Jakub BogusławskiJakub Bogusławski
    Nov 7, 2002 at 1:25 pm
    Nov 13, 2002 at 9:43 pm
  • Hi, I am currently in the process of beginning to write a web-application. Since the design has to be customizable I would like to use Velocity as a template engine. But what is not quite clear to ...
    Philipp LeusmannPhilipp Leusmann
    Nov 5, 2002 at 6:24 pm
    Nov 5, 2002 at 7:15 pm
  • hi. I have the following problem(I'm not sure if it's a bug or an erroneus configuration): I have several applications running on my server, but It seems that they are sharing the ...
    Borja MartínBorja Martín
    Nov 4, 2002 at 4:49 pm
    Nov 5, 2002 at 3:16 pm
  • Clear DayThe velocity context is map of keys to objects. These objects have methods and are possibly of quite varying complexity and are in fact the only "contract" between the code that prepares ...
    Michal ChmielewskiMichal Chmielewski
    Nov 27, 2002 at 5:36 pm
    Nov 27, 2002 at 5:50 pm
  • Have a interesting problem: If I do something like : #set( $foo = $bar / 52 ) $foo where $bar is some Float set in the context (say 52), then I get $foo - ie it isn't replaced. However, if I do this: ...
    Peter HarrisonPeter Harrison
    Nov 27, 2002 at 2:59 am
    Nov 27, 2002 at 4:41 pm
  • Is it safe to have one part of an application use the singleton Velocity engine, while another part uses the non-singleton (VelocityEngine) model? -- Paul Lynch Aquilent, Inc. National Library of ...
    PlynchnlmPlynchnlm
    Nov 25, 2002 at 10:35 pm
    Nov 27, 2002 at 4:19 pm
  • Hi, I was just wondering if anyone knew if it was possible to change the content type in an actual .vm file itself? If so, how? I know it can be done in the velocity.properties file but I would like ...
    Johnny DynnJohnny Dynn
    Nov 26, 2002 at 5:29 pm
    Nov 26, 2002 at 5:51 pm
  • hi guys, How can i put the template generated by velocity on my midlet ... ie. a java program on mobile. Does it works same way like retreiving data via XML i want the result generated by my servlet ...
    Vaneet SharmaVaneet Sharma
    Nov 26, 2002 at 4:26 pm
    Nov 26, 2002 at 4:36 pm
  • Hi! I have a webspace with servlets support, but is is not a tomcat, it's RESIN. I read for Tomcat you need to configure WEB-INF/web.xml for the velocity.properties Because the path for the .vm files ...
    Florian SuschetzFlorian Suschetz
    Nov 25, 2002 at 12:30 pm
    Nov 25, 2002 at 6:55 pm
  • Hello, I just checked out jakarta-velocity-tools and I'm trying to build it: [otis@linux2 jakarta-velocity-tools]$ ant Buildfile: build.xml BUILD FAILED file:/foo/jakarta-velocity-tools/build.xml:1: ...
    OtisgOtisg
    Nov 25, 2002 at 1:50 am
    Nov 25, 2002 at 5:52 am
  • Thought I had the use of velocityCounts figured out. Can someone tell me what's wrong? I am replacing my webmacro indexing attribute w/ velocity code. <select name="startMonth" ## #foreach( $month in ...
    Rich BaldwinRich Baldwin
    Nov 18, 2002 at 6:42 pm
    Nov 18, 2002 at 6:50 pm
  • Hi all I having trouble trying to figure out which method to use when initializing my servlet.Normally I would initialize all my variables that are to be used throughout the servlet life using the ...
    KwiriraiKwirirai
    Nov 14, 2002 at 7:03 am
    Nov 14, 2002 at 9:56 am
  • Hello, Does Velocity 1.3.1_rc2 support Servlet 2.3 API? Thanks, Yag -- To unsubscribe, e-mail: For additional commands, e-mail:
    Yagantappa JayaYagantappa Jaya
    Nov 9, 2002 at 1:36 am
    Nov 9, 2002 at 4:00 am
  • Can a Template object be instantiated from a String containing VTL? I'd like to store VTL as a varchar in a database rather than as a file in a filesystem. Cheers.
    Richard CowinRichard Cowin
    Nov 8, 2002 at 2:07 pm
    Nov 8, 2002 at 2:28 pm
  • Hi, I am trying to write a web-app using several servlets. Most of the servlets should use Velocity. To do this they subclass VelocityServlet. My problem is, that they don´t find the templates if I ...
    Philipp LeusmannPhilipp Leusmann
    Nov 7, 2002 at 6:39 pm
    Nov 7, 2002 at 10:19 pm
  • I thought this used to work. I am in a subdirectory of my template root. If I do a #parse(x.vm") where x.vm is in the same directory as the file that contains the parse, I get a "parse, can not find ...
    Phillip RhodesPhillip Rhodes
    Nov 3, 2002 at 3:40 am
    Nov 3, 2002 at 3:07 pm
  • Version 20021128 of vDoclet has been released, and is available at http://vdoclet.sourceforge.net/ vDoclet is a Java code-generation framework. It takes Java source-code, annotated with custom ...
    Mike WilliamsMike Williams
    Nov 30, 2002 at 12:09 am
    Nov 30, 2002 at 12:09 am
  • I have a need for someone to do some DVSL/xdocs work related to styling into PDF using whatever open source toolkit works. This will be paid work, and I will do what I can to contribute the output ...
    Geir Magnusson Jr.Geir Magnusson Jr.
    Nov 27, 2002 at 4:18 pm
    Nov 27, 2002 at 4:18 pm
  • Aloha, Actually, it turned out to be something in my CLASSPATH. I don't know what yet, but it's not build.xml problem - sorry for the false alarm. Thanks, Otis ---- On Mon, 25 Nov 2002, Geir ...
    OtisgOtisg
    Nov 25, 2002 at 3:21 pm
    Nov 25, 2002 at 3:21 pm
  • Hi, During startup tomcat 3.2.4 (velocity 1.2 ) the Method loadConfiguration() is called once. All stuff initialized very well. Wenn i try to call the servlet with http://localhost:8080/zerf the ...
    Carsten nichteCarsten nichte
    Nov 22, 2002 at 11:02 am
    Nov 22, 2002 at 11:02 am
  • Hi, Does anyone use a tidier/beautifer for Velocity? I use UltraEdit to edit the velocity/html text but am looking for something that will help format things. /c -- To unsubscribe, e-mail: For ...
    Colin ChalmersColin Chalmers
    Nov 20, 2002 at 6:47 pm
    Nov 20, 2002 at 6:47 pm
Group Navigation
period‹ prev | Nov 2002 | next ›
Group Overview
groupuser @
categoriesvelocity
discussions63
posts242
users90
websitevelocity.apache.org

90 users for November 2002

Geir Magnusson Jr.: 31 posts Peter Romianowski: 12 posts Andy Lee: 10 posts Christoph Reck: 8 posts Jan Vesely: 8 posts Nathan Bubna: 8 posts Geir Magnusson Jr.: 6 posts Rodrigo Reyes: 6 posts Rgrieselhuber: 5 posts Plynchnlm: 4 posts Claude Brisson: 4 posts Kevin Baynes: 4 posts Rafael Steil: 4 posts Søren Neigaard: 4 posts Yura Ushakhow: 4 posts Bill Burton: 3 posts Bob mcwhirter: 3 posts Daniel Dekany: 3 posts Denis: 3 posts Devon: 3 posts
show more
Archives