FAQ

Search Discussions

32 discussions - 256 posts

  • The more I use Velocity, the more I find myself writing hacks to get around the inability of Velocity to handle nulls as a context attribute value. Over the last half-year I've been subscribed to the ...
    Mike KienenbergerMike Kienenberger
    Dec 22, 2003 at 9:46 pm
    Jan 19, 2004 at 4:17 pm
  • I'm trying to embed velocity code within XHTML and have hit another stumper, this time with respect to the ampersand in #if (condition && condition) constructs. The XHTML parser (jdom) barfs on the ...
    Brad CoxBrad Cox
    Dec 29, 2003 at 9:35 pm
    Dec 31, 2003 at 11:20 pm
  • I'm developing a webapp that has several servlets each of which uses a Velocity template. (Shocking, I know.) When I tested it in Eclipse, I discovered that Velocity, by default uses the current ...
    Todd O'BryanTodd O'Bryan
    Dec 30, 2003 at 1:14 pm
    Dec 31, 2003 at 9:39 pm
  • There are two recent changes that deserve comment : 1) To help reduce pain when working with Velocity and XML-ish things (XHTML, XSLT, etc) you can now use 'and', 'or', 'lt', 'gt', 'le', 'ge', eq' ...
    Geir Magnusson JrGeir Magnusson Jr
    Dec 30, 2003 at 12:34 pm
    Dec 31, 2003 at 10:49 am
  • I committed two changes that I think need community review. (Well, the second does). The first is that you can use newlines in directives #foreach($foo in $bar) or #macro( foo $a $b ) etc. The ...
    Geir Magnusson JrGeir Magnusson Jr
    Dec 23, 2003 at 2:18 pm
    Dec 30, 2003 at 3:04 am
  • I spent part of the afternoon considering using the TIlesTool. Right now I am using straight Velocity templating, but like the versatility of the Tiles Tool. I checked the dev list and the biggest ...
    JeichelsJeichels
    Dec 12, 2003 at 12:06 am
    Dec 19, 2003 at 3:59 am
  • I haven't been able to get the modificationCheckInterval to work with the webapp resource loader, and looking at the source for it, I note this: /** * Defaults to return false. */ public boolean ...
    White, TimWhite, Tim
    Dec 9, 2003 at 8:36 pm
    Dec 12, 2003 at 11:25 pm
  • Hy there I'm currently writing a web-app using velocity. Now i want to internationalize my velocity application. And here's my question: How can i easily implement such a functionality?: i want to ...
    Rolf SchmidigerRolf Schmidiger
    Dec 4, 2003 at 11:54 pm
    Dec 10, 2003 at 6:10 pm
  • I'm writing some rudimentary tests to get Velocity up-and-running with Jakarta struts. I have a very small logon example. It works perfectly with jsp's. It works perfectly with velocity as well ...
    Rich GarabedianRich Garabedian
    Dec 10, 2003 at 3:11 pm
    Dec 10, 2003 at 5:53 pm
  • I have made a lot of progress since I last wrote this list in both struts and velocity, but I may have gotten myself into a box. I liked the design pattern of Strut's post 1.1 release ...
    JeichelsJeichels
    Dec 3, 2003 at 6:41 pm
    Dec 4, 2003 at 5:32 am
  • Lets suppose, I want to create an use case named 'View Diary'. Its task will be to display a table of times and tasks for one day. Something like this 12/02/2003 ---------- 8 : 00 wake up 9 : 00 .. ...
    Stagger LeeStagger Lee
    Dec 4, 2003 at 2:52 pm
    Dec 10, 2003 at 5:05 pm
  • ... i got the terms from : http://jakarta.apache.org/turbine/turbine-2.3/pullmodel.html (as linked from http://jakarta.apache.org/velocity/tools/view/) Nathan Bubna nathan@esha.com ...
    Nathan BubnaNathan Bubna
    Dec 18, 2003 at 10:05 pm
    Jan 9, 2004 at 6:53 am
  • I have a simple user object that has user ID and user Geo as properties. All I want to check for is the user object's exsitence in the HttpSession and then print a welcome message. something like: ...
    SarathSarath
    Dec 10, 2003 at 9:24 pm
    Dec 10, 2003 at 9:44 pm
  • How could I generate code for an enum where the trailing "," is missing? That is: enum ${name} { #foreach ($item in $enumeration ${item}, #end }; Any patterns for this? --Kurt ...
    Kurt GuentherKurt Guenther
    Dec 9, 2003 at 9:55 pm
    Dec 10, 2003 at 9:40 am
  • I found an old message on this list that mentioned that the docs for LinkTool were wrong - $link.getContextURI() does not work but $link.getContextURL() does Can we get the documentation updated? I ...
    White, TimWhite, Tim
    Dec 2, 2003 at 4:55 pm
    Dec 2, 2003 at 6:08 pm
  • An article I just completed for java.net has been published: http://today.java.net/pub/a/today/2003/12/16/velocity.html It is titled "Fast Track to Templating". You can provide feedback on the ...
    Erik HatcherErik Hatcher
    Dec 16, 2003 at 2:07 pm
    Dec 23, 2003 at 4:55 pm
  • Hi, I have been reading through the docs with respect the #set (on both the user's guide and also the specification) and have noticed that the user's guide mentions the following code: #set ( ...
    Ryan LeaRyan Lea
    Dec 18, 2003 at 11:20 am
    Dec 23, 2003 at 3:22 pm
  • Hello, This is not my first rollout of a Velocity-based application, which makes me feel more stupid, because I'm having trouble getting Velocity initialized with this application. I'm running ...
    Michael Della BittaMichael Della Bitta
    Dec 2, 2003 at 7:19 pm
    Dec 2, 2003 at 9:40 pm
  • Hello, I have a problem using ErrorsTool: $errors.all throws an exception: Invocation of method 'getAll' in class org.apache.velocity.tools.struts.ErrorsTool threw exception class ...
    Andrei IvanovAndrei Ivanov
    Dec 30, 2003 at 6:13 pm
    Jan 2, 2004 at 12:48 am
  • Hi, There are situations where Velocity prints following error because SimpleLog4JLogSystem close those appenders in its finalize method: log4j:ERROR Attempted to append to closed appender named ...
    Markku SaarelaMarkku Saarela
    Dec 15, 2003 at 8:08 am
    Dec 25, 2003 at 11:49 am
  • Hi again all, I have read the archives and understand that macro overloading is not actually a possibilty at the moment (hence my interest in using Maps for passing numerous variables as one). Is ...
    Ryan LeaRyan Lea
    Dec 23, 2003 at 4:32 pm
    Dec 23, 2003 at 4:40 pm
  • Can Velocity reference a method in a public inner class? I'm trying to call [String] getNameString() on an inner public class, but it never resolves. Note that the implicit toString() method does ...
    Mike KienenbergerMike Kienenberger
    Dec 18, 2003 at 9:40 pm
    Dec 18, 2003 at 9:57 pm
  • Good evening gentlemen, I wanted to read up on using and embedding Velocity, so I downloaded the User Guide, Developer's Guide and the VTL Reference. I prefer to have manuals and other texts for easy ...
    Mats KindahlMats Kindahl
    Dec 4, 2003 at 11:48 am
    Dec 9, 2003 at 12:22 pm
  • Hi, Within a velocity template, How can I make conversion between basic types such as byte, int, etc... and their Wrappers such as Byte, Integer, etc... ? Is there any way to convert String to int, ...
    TkchrisTkchris
    Dec 5, 2003 at 6:54 am
    Dec 5, 2003 at 7:21 pm
  • Hi, maybe this collides with the philosophy of Velocity (after reading the developer guide) but I made this class (see below) since we already have a number of classes which acts as DAO, with all ...
    Christer SandbergChrister Sandberg
    Dec 31, 2003 at 12:27 pm
    Dec 31, 2003 at 12:37 pm
  • Hey All, I use Velocity to generate XML representing an Order. I put the Order in the velocity context and different attributes of this object are put in the the template. Some of these attributes ...
    Lennart BenootLennart Benoot
    Dec 2, 2003 at 4:51 pm
    Dec 2, 2003 at 7:09 pm
  • Hi, Is it possible to have multiline method calls? Currently, I have some methods with a long parameter list and I'd like to chop them down into more than 1 line for better readability. Apparently, ...
    Francisco LeongFrancisco Leong
    Dec 30, 2003 at 4:53 am
    Dec 30, 2003 at 4:53 am
  • Never mind. Replacing $id with ${id} made it go. Sorry for the trouble. -- Brad J. Cox, PhD, 703 361 4751, http://virtualschool.edu http://virtualschool.edu/mybank Digital Rights Management System ...
    Brad CoxBrad Cox
    Dec 28, 2003 at 11:50 pm
    Dec 28, 2003 at 11:50 pm
  • Hi - I have some .xml files that I would like to load using Velocity's resource loaders. I have the resource loaders set up nicely to look in the right places for my .vm templates, and I would like ...
    White, TimWhite, Tim
    Dec 23, 2003 at 8:56 pm
    Dec 23, 2003 at 8:56 pm
  • please ignore. thanks -- Geir Magnusson Jr 203-247-1713(m) geir@4quarters.com --------------------------------------------------------------------- To unsubscribe, e-mail: ...
    Geir Magnusson JrGeir Magnusson Jr
    Dec 13, 2003 at 2:32 pm
    Dec 13, 2003 at 2:32 pm
  • Hi, I found functionality in SimpleLog4JLogSystem class witch caused this log4j error: log4j:ERROR Attempted to append to closed appender named [null] in its shutdown method it closes all appenders, ...
    Markku SaarelaMarkku Saarela
    Dec 12, 2003 at 12:33 pm
    Dec 12, 2003 at 12:33 pm
  • I'm nearing the completion of my current project, and I could use some advice on porting over one of the major pieces left. Under WebObjects, I had a "ReportComponent" presentation layer object that ...
    Mike KienenbergerMike Kienenberger
    Dec 11, 2003 at 11:42 pm
    Dec 11, 2003 at 11:42 pm
Group Navigation
period‹ prev | Dec 2003 | next ›
Group Overview
groupuser @
categoriesvelocity
discussions32
posts256
users55
websitevelocity.apache.org

55 users for December 2003

Geir Magnusson Jr: 42 posts Nathan Bubna: 39 posts Brad Cox: 15 posts Tim Colson: 13 posts Will Glass-Husain: 12 posts Todd O'Bryan: 10 posts Jeichels: 7 posts J. B. Rainsberger: 7 posts Mike Kienenberger: 7 posts Andy Lee: 6 posts Daniel Dekany: 6 posts Bill Stilwell: 5 posts Ryan Lea: 5 posts Shawn Church: 5 posts White, Tim: 5 posts Claude Brisson: 4 posts Dave Newton: 4 posts Michael Della Bitta: 4 posts Barbara Baughman: 3 posts Erik Hatcher: 3 posts
show more
Archives