FAQ

Search Discussions

43 discussions - 160 posts

  • Ok this here is my problem. I have a web page that I want to be able to display dynamic content on. In my source program I have a Vector of objects that I have fields in it like first name, Last ...
    Paul GoepfertPaul Goepfert
    Jun 14, 2005 at 1:01 am
    Jun 19, 2005 at 2:44 pm
  • Hi! What is the right way to initialize Velocity outside of a servlet? My application works fine when I'm using VelocityViewServlet, but when I'm trying to initialize Velocity from any standard Java ...
    Leo AsanovLeo Asanov
    Jun 28, 2005 at 6:07 am
    Jun 30, 2005 at 7:39 pm
  • hi guys, Any particular reason why velocity only do Class.forName() where it should first look in thread context classloader and THEN do Class.forName() ? (it gives some issues when running in ...
    Max Rydahl AndersenMax Rydahl Andersen
    Jun 5, 2005 at 6:31 pm
    Jun 7, 2005 at 9:37 pm
  • I have written a few java files and rewrote a template to be more like a template rather then standard html. When I tried to view the webpage I found that I have a NullPointerException. Usually when ...
    Paul GoepfertPaul Goepfert
    Jun 5, 2005 at 12:03 am
    Jun 8, 2005 at 1:04 am
  • Here it is, I am developing a small program that utilizes Struts, Java and Apache Velocity Templates. I am trying to move from one page to another via struts. Every time I try to move to another page ...
    Paul GoepfertPaul Goepfert
    Jun 2, 2005 at 7:23 pm
    Jun 3, 2005 at 11:00 pm
  • hii I am new to velocity i am getting two context on the velocity template say context1 and context2. Both these contexts have an array of string and of same length. Now in a single loop i want to ...
    TarunTarun
    Jun 22, 2005 at 12:07 pm
    Jun 23, 2005 at 7:08 pm
  • After looking at both Velocity and JSF, I am wondering if there is still a reason to use Velocity instead of JSF. In other words: Is JSF about to replace Velocity or in what cases is Velocity ...
    MatthiasMatthias
    Jun 18, 2005 at 2:10 am
    Jun 19, 2005 at 11:31 pm
  • Click v 0.5 Web Application Framework is now available. Click Highlights: * Very easy to learn * Component and Page Oriented design * Event base programming model * Automatic form validation * Page ...
    Malcolm EdgarMalcolm Edgar
    Jun 5, 2005 at 8:45 am
    Jun 7, 2005 at 12:58 pm
  • Correct me if I am wrong, but it appears that #stop is not intended to be used conditionally. I saw this behavior when trying to write the following macro: #macro(test $p $n) #if($!p == "") $n is ...
    Jack HoltJack Holt
    Jun 1, 2005 at 7:08 pm
    Jun 1, 2005 at 10:05 pm
  • Hello Everyone, I have just built velocity-tools-1.1 and I copied simple.war into jakarta-tomcat-5.5.9/webapps/. When I start up the server, I can see on the console: SEVERE: Error deploying web ...
    Bob WangBob Wang
    Jun 1, 2005 at 8:53 pm
    Aug 19, 2005 at 11:06 pm
  • I have developed my web app in windows using net beans 4.1 and its included webserver (tomcat 5.5.7). Under the NetBeans webserver my web app works fine. When I took the war file that was created by ...
    Paul GoepfertPaul Goepfert
    Jun 30, 2005 at 7:02 pm
    Jul 1, 2005 at 12:10 am
  • I have been trying to get the data that I collected in my webapp to dispaly on this one page that I am trying to render. I can't seem to figure it out. This is what I do. In my ResultsAction class I ...
    Paul GoepfertPaul Goepfert
    Jun 23, 2005 at 11:41 pm
    Jun 27, 2005 at 12:58 am
  • I have written a servlet that extends from VelocityServlet. I am not sure how to intergrate it into my velocity/struts app. As of now all my actions such as moving from page to page are handled by ...
    Paul GoepfertPaul Goepfert
    Jun 20, 2005 at 1:08 am
    Jun 23, 2005 at 10:40 pm
  • Hi there, It is possible to have a toolbox in a standalone velocity application? Thanks in advance, Markos --------------------------------------------------------------------- To unsubscribe, ...
    Markos CharatzasMarkos Charatzas
    Jun 21, 2005 at 11:29 am
    Jun 21, 2005 at 12:25 pm
  • Hello, I am starting to research Velocity as an option to create email text from a template and wondered if this was a valid use of this tool. It seems it is primarily targeted for generation of web ...
    Corbin, JamesCorbin, James
    Jun 13, 2005 at 9:14 pm
    Jun 13, 2005 at 10:47 pm
  • I don't know whether I should be doing this at the Server side in the servlet or in the Velocity Template, but let me get y'all's opinion. On the server side, I am setting the response's content type ...
    Jack HoltJack Holt
    Jun 24, 2005 at 9:43 pm
    Jun 25, 2005 at 11:01 am
  • Once again, please post your questions on the users list. Plus, be kind enough to write a new mail instead of replying to a mail from another thread. Velocity is server-side, Javascript is ...
    Claude BrissonClaude Brisson
    Jun 23, 2005 at 2:00 pm
    Jun 24, 2005 at 4:05 pm
  • Hi, Pls help how i can get the database values in javascript. I got list of values retrieved from backend and stored in arraylist like $alroles, so now i can pass these values to javascript and ...
    Veerappan SridharVeerappan Sridhar
    Jun 23, 2005 at 2:40 pm
    Jun 23, 2005 at 3:29 pm
  • Hi - I was wondering if there was an easy way of asking velocity to parse a template and (rather than merge it with a context) extract from its parse-tree a list of all the ...
    Tim DigginsTim Diggins
    Jun 8, 2005 at 9:39 pm
    Jun 9, 2005 at 3:28 pm
  • 3 Questions: 1) We have been using velocity 1.3.1-rc2 and have a requirement where we need to compare floats in velocity templates. So we need to do something like #set($afloat=$floatObject.gpa) ...
    Skriloff, NicholasSkriloff, Nicholas
    Jun 6, 2005 at 2:47 pm
    Jun 7, 2005 at 12:11 pm
  • Hi , If I use the $number.format('currency',$myNumber) for a -ve number, the output becomes ($number) $myNumber - -13.55 $number.format('currency',$myNumber) - ( $13.55) How to show with -ve sign ...
    Kailash SethyKailash Sethy
    Jun 3, 2005 at 10:01 pm
    Jun 3, 2005 at 11:00 pm
  • Dear sir, I am using velocity . It is nice and works fine. I want to generate a language specific file whose extension is .vm with the help of languange specific properties file and using a raw vm ...
    Nagendra singhNagendra singh
    Jun 24, 2005 at 12:17 pm
    Jun 30, 2005 at 7:43 pm
  • Hi. I'm a bit new to Velocity and Java. I've been reading all the docs online, but I'm stuck at this one point. I'm trying to pass a variable off from the build.xml I'm using to my site.vtl file ...
    Jonathan DingmanJonathan Dingman
    Jun 27, 2005 at 3:35 pm
    Jun 30, 2005 at 7:42 pm
  • Hi! Starting a new web project, I am excited to give Velocity a try. So far, things have been great: good product, good docs, and everything just works.. However, there's one thing that I thought ...
    William PietriWilliam Pietri
    Jun 22, 2005 at 6:36 am
    Jun 30, 2005 at 7:41 pm
  • Hi - Does VTL support multi-dimensional arrays (e.g. an array of arrays) and what would be the syntax to access values stored in them? I've been looking around (googling, Velocity user + developer ...
    Townson, ChrisTownson, Chris
    Jun 30, 2005 at 1:00 pm
    Jun 30, 2005 at 7:41 pm
  • Hi, I verified the cvs repository of velocity project, and saw that the last update was 15 months behind, and the question in my mind is: if the project will be discontinued. ???????????????????????? ...
    Bruno Oliveira da SilvaBruno Oliveira da Silva
    Jun 25, 2005 at 2:06 pm
    Jun 26, 2005 at 12:19 am
  • I want to reference entries in velocity.properties in a template. For example, I'd like the template: Max depth is $directive.parse.max.depth to produce Max depth is 10 I've tried a number of ...
    Bill WelchBill Welch
    Jun 23, 2005 at 3:26 pm
    Jun 23, 2005 at 4:45 pm
  • Hi, I was wondering if it was possible to get the #parse method to fail silently or log instead of displaying to the screen? --------------------------------------------------------------------- To ...
    Andrew MasonAndrew Mason
    Jun 21, 2005 at 1:13 pm
    Jun 21, 2005 at 3:44 pm
  • Aren't the varying automatic approaches a bit to strict or drastic? Ref: http://wiki.apache.org/jakarta-velocity/VelocityWhitespaceGobbling What about the way Freemarker solves this problem? The ...
    Espen KlemEspen Klem
    Jun 14, 2005 at 2:20 pm
    Jun 14, 2005 at 5:14 pm
  • I am using velocity to build a template of an iCalendar entry. Everything works great except for the spacing. Velocity.evaluate adds a space at the beginning of lines which have a carriage return. ...
    Derrick KoesDerrick Koes
    Jun 13, 2005 at 4:45 pm
    Jun 13, 2005 at 9:23 pm
  • hi, if i want show my number with the pattern ###,### what should i do.if u have any related help pl forward to me. bye.
    Sandeep PatilSandeep Patil
    Jun 13, 2005 at 4:25 am
    Jun 13, 2005 at 4:27 am
  • I use velocity with struts. Many of the objects that I set for velocity templates have bee changed significant, so the constructs such as - $objectName.methodName() are going to fail. I am wondering ...
    ManishManish
    Jun 9, 2005 at 12:36 pm
    Jun 9, 2005 at 3:10 pm
  • Hello, I've been trying to make a velocity error page but I've been having some troubles. The correct velocity template gets displayed but the error information doesn't seem to be in the request. For ...
    Michael FortinMichael Fortin
    Jun 8, 2005 at 4:55 pm
    Jun 8, 2005 at 10:17 pm
  • Hello, i am looking for something like: #set ($thema = ereg_replace('# ', '', $thema)) #set ($thema = ereg_replace('# ', '', $thema)) #set ($thema = ereg_replace('#', '', $thema)) How is it possible ...
    Allnoch GerlindeAllnoch Gerlinde
    Jun 7, 2005 at 12:22 pm
    Jun 7, 2005 at 12:58 pm
  • I am trying to fiure out why I am getting a Null Pointer Exception when I try to view any Velocity pages. The exception comes from the velocity tools packages. I was looking at the web.xml file in ...
    Paul GoepfertPaul Goepfert
    Jun 5, 2005 at 11:21 pm
    Jun 6, 2005 at 6:19 pm
  • It appears that Velocity 1.4 doesn't like line breaks inside the parentheses following an #if. I tried code like the following: #if($mightBeNull && $mightBeNull == $testValue) and Velocity threw a ...
    Jack HoltJack Holt
    Jun 6, 2005 at 3:00 pm
    Jun 6, 2005 at 4:57 pm
  • Hi, In our project we are using velocity to generate dynamic HTML output. In the vm file I wrote a statement: *$literals.safeGet("PL_$data.safeGet("STMT.${count}.FISC_IND")")* * * In this statement, ...
    Sriram SSriram S
    Jun 6, 2005 at 3:30 pm
    Jun 6, 2005 at 4:33 pm
  • Hi, My apologies if this issue was posted earlier on this list. I searched for it but couldn't find the solution. I am having this problem on my JBoss 4.0.2RC1 production server using velocity 1.3.1. ...
    Chauhan, RohitChauhan, Rohit
    Jun 23, 2005 at 9:41 pm
    Jun 23, 2005 at 9:41 pm
  • I'm pleased to anounce the release of Velosurf 1.3.1 About : Velosurf is a thin but efficient database mapping tool meant to be used with Jakarta Velocity. Its aim is to generate a set of context ...
    Claude BrissonClaude Brisson
    Jun 23, 2005 at 4:36 pm
    Jun 23, 2005 at 4:36 pm
  • Hi, In velocity page i have an array of text box, how to pass and to get the text box(i) value in javascipt and in which event i can do. if i do in submit event all the text box values will be ...
    Veerappan SridharVeerappan Sridhar
    Jun 23, 2005 at 3:26 pm
    Jun 23, 2005 at 3:26 pm
  • Hello all. I site I developed for the Exploratorium in San Francisco just went public. It aims to make digital assets that the Exploratorium holds available to teachers. The url is http:// ...
    Eric FixlerEric Fixler
    Jun 14, 2005 at 11:11 pm
    Jun 14, 2005 at 11:11 pm
  • Has anyone been able to successfully load the emacs font-locking file? I reied once before but I don't know which directory to put the library file. Any help would be appreciated. -Paul ...
    Paul GoepfertPaul Goepfert
    Jun 10, 2005 at 4:46 am
    Jun 10, 2005 at 4:46 am
  • Hi. I'm a bit new to Velocity and Java. I've been reading all the docs online, but I'm stuck at this one point. I'm trying to pass a variable off from the build.xml I'm using to my site.vtl file ...
    Jonathan DingmanJonathan Dingman
    Jun 8, 2005 at 10:52 pm
    Jun 8, 2005 at 10:52 pm
Group Navigation
period‹ prev | Jun 2005 | next ›
Group Overview
groupuser @
categoriesvelocity
discussions43
posts160
users53
websitevelocity.apache.org

53 users for June 2005

Paul Goepfert: 25 posts Shinobu Kawai: 23 posts Nathan Bubna: 11 posts Will Glass-Husain: 9 posts Jack Holt: 6 posts Markos Charatzas: 5 posts Jonathan Dingman: 4 posts Simon Christian: 4 posts Steve O'Hara: 4 posts Christoph Reck: 3 posts Jason Pettiss: 3 posts Mailmur: 3 posts Max Rydahl Andersen: 3 posts Veerappan Sridhar: 3 posts Andrew Mason: 2 posts Barbara Baughman: 2 posts Daniel Dekany: 2 posts Derrick Koes: 2 posts Didge: 2 posts Jian chen: 2 posts
show more
Archives