Search Discussions

56 discussions - 252 posts

  • Are there any Velocity tool sets that allow you to write your database SQL inside your .vm templates instead of having to bury the SQL code inside of servlets? I am thinking of something similar to ...
    Aaron FreemanAaron Freeman
    Jul 26, 2003 at 6:11 pm
    Aug 23, 2003 at 7:01 am
  • Hello, Having heard lots of nice things about Velocity, we thought we'd try to move use that instead of our own simple template parser. After a few simple modifications to our code, we got things ...
    Chris BrownChris Brown
    Jul 4, 2003 at 3:14 pm
    Jul 8, 2003 at 6:33 am
  • Just to let you know, this "dialogue" with Revusky has gotten so volumunous that it's hard to find useful Velocity information anymore. (I guess that's what a DOS attack is all about.) A couple of ...
    Terry SteichenTerry Steichen
    Jul 1, 2003 at 7:26 pm
    Jul 3, 2003 at 1:36 pm
  • Greetings I am currently in a process going trough my project, to see if velocity can serve my needs. Up to now it seems very good, and I really love working with it. One concern I have now is that I ...
    Magne SkjeretMagne Skjeret
    Jul 18, 2003 at 11:09 pm
    Aug 5, 2003 at 5:55 pm
  • Hi Chris: Appreciate your response. 1.Actually the problem occurs only when HttpServletRequest request object is a paramter to any method in combination with other objects. 2. To reach the above ...
    Sushma R OnkarSushma R Onkar
    Jul 15, 2003 at 12:17 pm
    Jul 16, 2003 at 2:43 am
  • Ok, here's a stupid newbie question. I have downloaded and installed the VelocityView tools as recommended. I placed the simple.war file into my webapps directory and I used the URL: ...
    Aaron FreemanAaron Freeman
    Jul 25, 2003 at 2:07 am
    Jul 25, 2003 at 8:12 pm
  • Hi, I have a question regarding the usage of velocity templates. I downloaded the velocity and able to successfully run the examples. I made the necessary code changes to integrate velocity in our ...
    Raghuram ThoramRaghuram Thoram
    Jul 22, 2003 at 9:25 am
    Jul 23, 2003 at 8:54 pm
  • I am happy to announce the release of Velocity Tools 1.0! Velocity Tools is a collection of Velocity subprojects offering servlets and tools for rapid, clean web development with Velocity, tools for ...
    Nathan BubnaNathan Bubna
    Jul 17, 2003 at 4:33 am
    Jul 22, 2003 at 7:23 am
  • I am trying to emulate the functionality of the struts login example provided with the struts download I want to check that a person Is logged into a session ( and validated) before displaying pages. ...
    Stephan JonesStephan Jones
    Jul 14, 2003 at 7:56 pm
    Jul 14, 2003 at 11:35 pm
  • Hello, I'm trying to use Velocity with JBoss. I've generated a .ear file, puting in it all templates. After I deployed my application it haven't found any templates. That's what I have in my ...
    Cleber Miranda BarbozaCleber Miranda Barboza
    Jul 21, 2003 at 1:22 pm
    Jul 22, 2003 at 7:22 pm
  • Hi All, I am trying to generate a PDF from a merged Template. The PDFWriter needs a Document. So how can I get merged template as a Document.? Do I need to write a custom servlet to extend ...
    Abhijit B PatilAbhijit B Patil
    Jul 8, 2003 at 4:28 pm
    Jul 9, 2003 at 5:32 pm
  • Hi all, I have following problem: #set ( $spieler = $user.AktKader.getMittelfeld(0) ) #if ( $spieler ) <table ...</table #else <table ...</table #end ... #set ( $spieler = ...
    Thomas VeithThomas Veith
    Jul 27, 2003 at 7:27 pm
    Jul 27, 2003 at 10:37 pm
  • Hi, I am having a problem with velocity. I am using: 1. Tomcat version 4.1.18 2. velocity-dep-1.3.jar 3. Java1.4.0( build 1.4.0-b92) 4. Windows 2000. I am using velocity template with servlets. ...
    Sushma R OnkarSushma R Onkar
    Jul 15, 2003 at 3:17 am
    Jul 15, 2003 at 5:22 pm
  • How do I display formatting for a double in Velocity? I have a static formatDouble method that outputs what I want, but I can't seem to be able to call: $MyObj.formatDouble($myObj.doubleAttr()) ...
    Greg NudelmanGreg Nudelman
    Jul 12, 2003 at 1:24 pm
    Jul 14, 2003 at 7:47 pm
  • Hiyall, this is my first posting to the list. I skimmed the archive but didn't find a solution to my problem. I'm trying to transform an xml file into a velocity template file containing velocity ...
    Cesare RocchiCesare Rocchi
    Jul 12, 2003 at 11:58 am
    Jul 14, 2003 at 2:56 pm
  • Say folks - I've been around for a while, but didn't realize there is a VelocityFormatter class in the core that has some format functionality. The only docs seem to be javadoc right now, and one of ...
    Tim ColsonTim Colson
    Jul 1, 2003 at 7:33 pm
    Jul 2, 2003 at 5:28 pm
  • This patch against velocity 1.3.1 made all the differences for me in running a texen (torque) task which needed 300 Megabytes (!) of memory. With this patch, its memory usage is constant around 10. ...
    Henning P. SchmiedehausenHenning P. Schmiedehausen
    Jul 23, 2003 at 3:29 pm
    Oct 26, 2003 at 3:34 pm
  • Hi! I'm using Velocity in my application under Tomcat 4.1 (not in a servlet). I'm getting a ResourceNotFoundException when I try to merge templates. The problem is that even if I try to set the ...
    Monica FerreroMonica Ferrero
    Jul 25, 2003 at 4:02 pm
    Jul 28, 2003 at 3:13 pm
  • I have just installed Velocity and read both the User's Guide and the Developer's Guide. Now I am trying to think through the architecture of my site. I am using Jetty and Servlets so it seems like ...
    Aaron FreemanAaron Freeman
    Jul 24, 2003 at 7:14 am
    Jul 24, 2003 at 2:01 pm
  • Does Velocity provide some way of utilizing a multipart content-type template? In other words: I have a servlet generating data for a Velocity template. Along with text such as name and address, I ...
    Jeff OwensJeff Owens
    Jul 16, 2003 at 5:19 pm
    Jul 16, 2003 at 6:10 pm
  • Which one is better performance wise? Michael --------------------------------------------------------------------- To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org For additional ...
    Jul 11, 2003 at 7:42 pm
    Jul 14, 2003 at 3:54 pm
  • Hi All, I am using the velocity-struts tool for my web application. While using the formTool, I see that, #set ($defaults = $form.bean) <input type="text" name="username" value="$defaults.username" ...
    Melcy MaheshMelcy Mahesh
    Jul 11, 2003 at 12:55 pm
    Jul 11, 2003 at 3:56 pm
  • Anyone know why Velocity Tools can only be downloaded from the cvs repository? Doesn't this discourage people from using it? I'm probably mistaken, but don't most people prefer to download a binary ...
    Brian KuhnBrian Kuhn
    Jul 9, 2003 at 10:15 pm
    Jul 10, 2003 at 3:00 pm
  • blunt I think it speaks volumes about you as a person, that you presist in behavior that even you realize is obnoxious only to evangelize a product you work on. If as you said your postings on this ...
    Lev EpshteynLev Epshteyn
    Jul 1, 2003 at 6:39 pm
    Jul 2, 2003 at 1:51 pm
  • I am trying to use the VelocityFormatter class. I have the following in my Java code: context.put("formatter", new VelocityFormatter(context)); context.put("thingie", stuff); In the template, I have ...
    Dhruva B. ReddyDhruva B. Reddy
    Jul 1, 2003 at 4:41 pm
    Jul 1, 2003 at 8:04 pm
  • Hello (again), I've seen that you can configure resource loaders using the following approach: resource.loader=ldr1,ldr2 ldr1.loader.description=My Loader ldr1.resource.loader.class=com.... ...using ...
    Chris BrownChris Brown
    Jul 4, 2003 at 4:13 pm
    Jul 25, 2003 at 12:31 am
  • Hello, I am a new user of velocity and would like some help. I am trying to create a html report and I need to form tables using the foreach condition. I want to use the properties/methods for ...
    Tapan MehtaTapan Mehta
    Jul 21, 2003 at 6:07 pm
    Jul 22, 2003 at 9:13 am
  • hi, I'm using generic tools RenderTool.eval() (works great) from my template, but I was wondering is there a predefined variable I can use to get a handle to the context in the template? The eval ...
    Jeff HarringtonJeff Harrington
    Jul 21, 2003 at 1:03 pm
    Jul 21, 2003 at 3:36 pm
  • I am brand new to this list and to velocity. I installed velocity and wanted to try the servlet examples to make sure my installation was working. I found a couple of problems with the instructions: ...
    Jul 16, 2003 at 1:23 pm
    Jul 16, 2003 at 5:13 pm
  • Hi, I just would like to know the differencies between two part of code depending on value of velocimacro.permissions.allow.inline.local.scope property Suppose I have a macros's ## global or local ...
    Jul 13, 2003 at 12:48 pm
    Jul 15, 2003 at 11:51 am
  • I'm having alot of fun with Velocity but have noticed one peculiar behavior I'd like to get clarified if possible. I have subclassed AbstractContext to suit my application requirements, I noticed, ...
    Harris, BobbyHarris, Bobby
    Jul 11, 2003 at 12:43 pm
    Jul 11, 2003 at 1:01 pm
  • Ok, here's an interesting one. At our company, where we are experimenting with upgrading to the newer Tomcat, we noticed our Velocity code was failing due to comments (JSP comments that is). Has ...
    Evan CarewEvan Carew
    Jul 8, 2003 at 12:41 pm
    Jul 8, 2003 at 8:04 pm
  • Say folks - This email is not about Jonathan Revusky. I'll get that out of the way first so there isn't confusion/supposition/insinuation/misapprehension/a love fest. I just realized that one of my ...
    Tim ColsonTim Colson
    Jul 3, 2003 at 3:18 pm
    Jul 3, 2003 at 3:32 pm
  • Hi, I have a Webapp, deployed in JBoss-3.2.1, which basically consists of an AppServlet ( derived from org.apache.velocity.servlet.VelocityServlet ) that, depending of the Request, loads a Template ...
    Thomas VeithThomas Veith
    Jul 25, 2003 at 12:55 pm
    Jul 25, 2003 at 2:16 pm
  • Dave, I would start by subscribing to the velocity-dev list and reviewing what's in bugzilla. Also check out http://www.apache.org/dev/ for advice and tips on how to contribute. If you can confirm ...
    Serge KnystautasSerge Knystautas
    Jul 25, 2003 at 4:04 am
    Jul 25, 2003 at 1:24 pm
  • I'm new to Velocity, but very familiar with Java. How can I pass a value to a html page, from a url, and read that value on the ensuing html page to display some text. For example. On a page, I have ...
    Diodato, AnthonyDiodato, Anthony
    Jul 23, 2003 at 12:44 pm
    Jul 23, 2003 at 2:49 pm
  • Hello .. again, i'm just testing the torque .. using tdk2-2,mysql .. this is my code : ==SQLTes.java== import org.apache.torque.*; import org.apache.torque.util.*; import java.util.Date; import ...
    Jul 21, 2003 at 10:40 pm
    Jul 21, 2003 at 10:53 pm
  • Hi all, I used to use webmacro, and now I'm changeing all my application to velocity. But now I'm having a problem with follow lines of code: ... if( $errors!=null ) #foreach( $error in $errors.get() ...
    Cleber Miranda BarbozaCleber Miranda Barboza
    Jul 21, 2003 at 9:56 pm
    Jul 21, 2003 at 9:58 pm
  • Hi there, I would like to contribute my version of a tiles tool for velocity. This tool is designed to be used as part of a velocity toolbox and provides a simple way of accessing struts-tiles ...
    Tom CzarnieckiTom Czarniecki
    Jul 20, 2003 at 9:52 am
    Jul 21, 2003 at 4:11 pm
  • Hello velocity experts, i want to know what are the methods that $ui,$navigation,$content,and $page offers ... i'm a new user ... so i'm a little bit confused .. with this .. code ... please help if ...
    Jul 21, 2003 at 10:33 am
    Jul 21, 2003 at 3:31 pm
  • HI, I have a question: How do I do to pass object from Velocity Template to Servlet?? I know to pass object from Servlet to Template using context but no vice versa. thanks in advance Sara Frongillo ...
    Sara FrongilloSara Frongillo
    Jul 21, 2003 at 2:45 pm
    Jul 21, 2003 at 3:29 pm
  • hi, Is it possible to somehow call evaluate from inside a template? The reason I ask is: We have a generic getContext() method which creates the context and stuffs some global variables into the ...
    Jeff HarringtonJeff Harrington
    Jul 17, 2003 at 2:28 pm
    Jul 17, 2003 at 2:56 pm
  • Hi All, I am trying to generate a PDF from a merged Template. The PDFWriter needs a Document. So how can I get merged template as a Document.? Do I need to write a custom servlet to extend ...
    Abhijit B PatilAbhijit B Patil
    Jul 8, 2003 at 9:03 pm
    Jul 8, 2003 at 9:18 pm
  • Hi, I am trying to embed a PDF file in velocity template file. I use the EMBED tag.(I use IE browser) body id ="body" bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" ...
    Krishnakumar ramamurthyKrishnakumar ramamurthy
    Jul 7, 2003 at 3:06 am
    Jul 7, 2003 at 5:05 pm
  • I read in the unser guide how to set properties. e.g.: #set( $primate = "monkey" ) #set( $customer.Behavior = $primate ) but I get problems if $customer is not in any context. So is it not possible ...
    Immanuel NormannImmanuel Normann
    Jul 7, 2003 at 10:38 am
    Jul 7, 2003 at 11:09 am
  • Hello, What happens if I put a tool in the context to evaluate Velocity strings and some clever user tries to use it that way: #set( $x = '$vel.eval($x)' ) $vel.eval($x) ? Cheers, -- Denis. ...
    Jul 4, 2003 at 10:55 am
    Jul 4, 2003 at 11:32 am
  • How can I get the Source Code for Apache's Project velocity. I tried configuring CVS, but the authorisation fails always. Thanks Amit ...
    Amit VijAmit Vij
    Jul 1, 2003 at 10:06 am
    Jul 1, 2003 at 10:19 am
  • Kudos to the author/editor of the User's Guide document. It is the most well written User's Guide I have ever seen online! It is a quick and gentle read that does not belabor any one point. It really ...
    Aaron FreemanAaron Freeman
    Jul 24, 2003 at 1:51 am
    Jul 24, 2003 at 1:51 am
  • meaning you want a servlet to return a SVG stream? I'd look at batik, over in xml.apache.org, and see if that tool can give you a stream output... Then I'd have that be the output of the servlet. I ...
    Geir Magnusson Jr.Geir Magnusson Jr.
    Jul 16, 2003 at 10:13 pm
    Jul 16, 2003 at 10:13 pm
  • Sorry for the teaser, folks - I slipped up, this email was meant for the Velocity Developers list. Cheers, Timo --------------------------------------------------------------------- To unsubscribe, ...
    Tim ColsonTim Colson
    Jul 10, 2003 at 3:03 pm
    Jul 10, 2003 at 3:03 pm
Group Navigation
period‹ prev | Jul 2003 | next ›
Group Overview
groupuser @

79 users for July 2003

Nathan Bubna: 36 posts Tim Colson: 18 posts Jonathan Revusky: 16 posts Christoph Reck: 11 posts Aaron Freeman: 10 posts Bill Chmura: 10 posts Chris Brown: 7 posts Serge Knystautas: 7 posts Mnewcomb: 6 posts Anthony Eden: 5 posts Martin Jacobson: 5 posts Sushma R Onkar: 5 posts A. Kevin Baynes: 4 posts Claude Brisson: 4 posts Dhruva B. Reddy: 4 posts Lev Epshteyn: 4 posts Magne Skjeret: 4 posts Mike Curwen: 4 posts Thomas Veith: 4 posts Will Glass-Husain: 4 posts
show more