FAQ

Search Discussions

53 discussions - 235 posts

  • Hi, I am using VelocityServlet to control the view style according to velocity servlet_example1. I would got a blank page without any error message in velocity.log at some pc, but it is always normal ...
    Chih Ming HsuehChih Ming Hsueh
    Nov 16, 2004 at 10:12 am
    Nov 18, 2004 at 10:37 pm
  • Hello, I would like a vm to return a binary file and thereby instruct the browser not to display it, but rather to download it. That is, ask the user if they would like to "Open" or "Save" the file. ...
    Ilan AzbelIlan Azbel
    Nov 25, 2004 at 11:57 am
    Nov 28, 2004 at 5:19 pm
  • Hi everyone, I have done some research, but found not much information that covers this topic. Suppose I have an object (JavaBean) with localized data. For example a Product that for each supported ...
    Vincent van BeverenVincent van Beveren
    Nov 24, 2004 at 1:09 pm
    Nov 25, 2004 at 5:17 pm
  • Hello all, I read the velocity docs, and according to them I can write the function below in two ways: Method 1: #macro(displayPositiveOnly $val) #if($val = 0) $val #end #end Method 2: ...
    Rob ButlerRob Butler
    Nov 28, 2004 at 6:08 pm
    Dec 9, 2004 at 5:32 pm
  • Have searched the mailing list before, but all links are broken: http://www.mail-archive.com/cgi-bin/htsearch?config=velocity-user_jakarta_apache_org&restrict=&exclude=&words=obfuscation Thus... ...
    Carfield YimCarfield Yim
    Nov 22, 2004 at 11:44 am
    Nov 25, 2004 at 2:15 pm
  • I have written the following ant task (a few paths have been replaced by ellipses): <project ... ... <taskdef name="dvsl" classname="org.apache.tools.dvsl.DVSLTask" <classpath <fileset ...
    Larry SidenLarry Siden
    Nov 9, 2004 at 9:43 pm
    Nov 10, 2004 at 7:57 pm
  • I'd like to be able to detect ReferenceExceptions (and other errors) that happen during a merge operation. At the moment they appear in the velocity.log, but I'd like to be able to display them to ...
    Matthew KeeneMatthew Keene
    Nov 24, 2004 at 11:22 pm
    Nov 28, 2004 at 5:21 pm
  • Hello All! I want to get my Templates directly from a Database so i must rebuild the Velocity Source with the Build Target jar-J2EE. I installed Ant correctly and tryed to build the Velocity jar with ...
    Torsten SchmidtTorsten Schmidt
    Nov 25, 2004 at 12:13 pm
    Nov 26, 2004 at 5:26 pm
  • OK - using struts 1.2.4 together with velocity 1.4 and velocity tools 1.1 This is based on using the velocity view servlet together with the struts tiles integration. It is a conversion of an ...
    Chris SearleChris Searle
    Nov 3, 2004 at 9:46 am
    Nov 10, 2004 at 7:59 am
  • I'm unable to get the VelocityEngine.init(Properties p) method to work. VelocityEngine seems to be completely ignoring the properties. In my app, I'm using the following code (Velocity 1.4): ...
    Jeremy JongsmaJeremy Jongsma
    Nov 11, 2004 at 5:06 pm
    Jan 9, 2005 at 2:27 pm
  • Hi, I'm checking out the possibility to migrate some of our WebMacro projects to Velocity. Now there's one thing that we use a lot in WebMacro, for which I can't find a Velocity alternative just yet. ...
    Stefan RotmanStefan Rotman
    Nov 15, 2004 at 8:33 am
    Nov 23, 2004 at 1:16 pm
  • Hi. I'd like to use AbstractSearchTool (or it's apparently incipient replacements), and I'm also using Struts. I think I understand all the individual pieces, but I'm missing part of the big picture, ...
    Eric FixlerEric Fixler
    Nov 11, 2004 at 6:55 pm
    Nov 16, 2004 at 3:09 am
  • How can I handle the condition gracefully that file specified by$fileName does not exist in either - #include($fileName) #parse($fileName) As of now, when the file is not found, it throws exception - ...
    ManishManish
    Nov 8, 2004 at 6:36 am
    Nov 8, 2004 at 10:34 am
  • Using Velocity Template I have tried a variety of DateTool (and MathTool) coding approaches without success (getting NULL result). The objective is to calculate a Date object comprised of current ...
    John mahanJohn mahan
    Nov 2, 2004 at 6:57 pm
    Nov 8, 2004 at 3:37 am
  • Hi, I can't seem to get String.replace('-','_') or String.replace("-","_") to work in my template <table name="$element.name.localPart.toUpperCase().replace("\-","_")" In this template localPart is a ...
    Philip Mark DonaghyPhilip Mark Donaghy
    Nov 27, 2004 at 10:23 pm
    Nov 28, 2004 at 8:24 pm
  • Hello there, i have a velocity page containing a multipart form. Then there's the problem, that certain characters were not retrieved correctly. Well, I found a workaround and converted the strings ...
    Katrin GrunwaldKatrin Grunwald
    Nov 3, 2004 at 4:06 pm
    Nov 4, 2004 at 3:59 pm
  • Hi all, I'd like to share how I've been testing Velocity with JUnit lately. First, I made a base TestCase class, AbstractVelocityTestCase. ...
    Shinobu KawaiShinobu Kawai
    Nov 9, 2004 at 1:03 pm
    May 6, 2005 at 11:02 pm
  • Hi all! I've been thinking about ways to improve velocity lately and thought I'd share some of my ideas here: It might be very useful to add a new statement to the velocity template language, to bind ...
    Edmund UrbaniEdmund Urbani
    Nov 25, 2004 at 2:22 pm
    Nov 29, 2004 at 9:29 am
  • Is it possible to serve images directly using a VelocityServlet? or have a VelocityServlet not parse a file and return it as-is? I have images sitting on my server that should not be reached thru ...
    Ivo PletikosicIvo Pletikosic
    Nov 24, 2004 at 12:58 am
    Nov 27, 2004 at 3:30 pm
  • Is anyone aware of a package in the Red Hat Enterprise Linux ES (v. 3 for x86) distribution that contains Velocity? I have a customer that will only allow the use of open source projects that can be ...
    Kelly HarwardKelly Harward
    Nov 22, 2004 at 11:33 pm
    Nov 23, 2004 at 6:20 pm
  • Hi EveryBody, I have a doubt, how to integrate the Math Tool and how to use it in velocity .vm page? Procedure that i have done are follows... 1.In web.xml i have added these lines of code ...
    Sri dharSri dhar
    Nov 23, 2004 at 10:37 am
    Nov 23, 2004 at 11:09 am
  • Hi, Can anyone please review this code snippet? I am using the Iterator tools to iterate through a vector object that is stored in a session object. The data is populated to an array on the client ...
    Nadesan, BinuNadesan, Binu
    Nov 22, 2004 at 7:07 pm
    Nov 23, 2004 at 3:26 am
  • hi there! i am using turbine 2.3. i guess i don't have to modify my TR.props in using frames, is that correct? i followed the steps in the velocity site how-to ...
    Turbine_newbieTurbine_newbie
    Nov 10, 2004 at 6:45 am
    Nov 19, 2004 at 4:02 am
  • Hi group, I am working on a document to outline the entire web app development process. I was wondering if anyone would like to help me with the Velocity parts. Or, if you can refer me to something ...
    Dan CancroDan Cancro
    Nov 15, 2004 at 8:29 pm
    Nov 15, 2004 at 11:19 pm
  • Velociteers: I am attempting the simple task of creating a Map variable, and am having trouble with the syntax. Using the pattern exactly as in the example in the User Guide: #set ( $test.Map = ...
    Rob HoexterRob Hoexter
    Nov 15, 2004 at 10:21 pm
    Nov 15, 2004 at 11:11 pm
  • Is there any example available for "AbstractPagerTool" How can I set googlish links there? Despite keeping default size to 20, somehow my slip size is only 19!!! TIA, - Manish ...
    ManishManish
    Nov 3, 2004 at 8:15 am
    Nov 8, 2004 at 9:40 am
  • Struts/Tiles/VelocityView MessageTool works OK with saveMessages(request,msgs) but not with saveMessages(request.getSession(),msgs) which means passing messages where the action has a redirect="true" ...
    Chris SearleChris Searle
    Nov 19, 2004 at 12:20 pm
    Nov 22, 2004 at 8:38 am
  • Aye, here's the rub: If I have the following in my application's config file: directive.include.output.errormsg.start = ***ERROR: directive.include.output.errormsg.end = ***** I load those properties ...
    Jason BruceJason Bruce
    Nov 17, 2004 at 2:26 pm
    Nov 17, 2004 at 4:19 pm
  • Hi there, I am trying to educate myself about Velocity (and Java for that matter) and have been searching for some examples of html form processing. Does anyone know where I can find a sample of a ...
    Simon WhitworthSimon Whitworth
    Nov 16, 2004 at 4:28 am
    Nov 16, 2004 at 5:45 am
  • How can I have a global 404 error template in using Velocity-Struts? - Manish --------------------------------------------------------------------- To unsubscribe, e-mail: ...
    ManishManish
    Nov 8, 2004 at 4:55 am
    Nov 8, 2004 at 6:48 am
  • Hi all, I added array #length and #clone() support to the PublicFieldUberspect. cf. http://localhost/java/langspec-2.0/arrays.doc.html#64347 This seems a good place for the #length support, but I'm ...
    Shinobu KawaiShinobu Kawai
    Nov 6, 2004 at 1:04 pm
    Nov 7, 2004 at 11:30 am
  • Hi, I need to give hyper link in my vm file... i have given it like this....<a href="javascript:;" onClick="MM_openBrWindow('this .jsp')" <script language="javascript" function ...
    Rashmi Y PRashmi Y P
    Nov 29, 2004 at 3:38 am
    Nov 29, 2004 at 5:01 am
  • Hi, It looks like the nightly snapshots have stopped for over an year. Are there any plans to start them again? (With Subversion, of course.) http://cvs.apache.org/builds/jakarta-velocity/nightly/ Or ...
    Shinobu KawaiShinobu Kawai
    Nov 26, 2004 at 10:52 pm
    Nov 29, 2004 at 1:30 am
  • Hi, I know that tool is there but configuring is the problem for me.Just have a look at this and give ur comments, where err would have happen. Hi EveryBody, I have a doubt, how to integrate the Math ...
    Sri dharSri dhar
    Nov 28, 2004 at 4:38 pm
    Nov 28, 2004 at 4:38 pm
  • Hello, I have a layout that contains one line: $screen_placeholder Also, I have a corresponding .vm file that contains the following: #foreach ( $result in $results ) ...
    Ilan AzbelIlan Azbel
    Nov 25, 2004 at 6:29 am
    Nov 25, 2004 at 7:08 am
  • How can I configure velocity such that the logs go to the standard catalina.out logs for Tomcat. TIA, - Manish --------------------------------------------------------------------- To unsubscribe, ...
    ManishManish
    Nov 23, 2004 at 11:10 am
    Nov 23, 2004 at 11:36 am
  • Do I have implicit objects request and response available to my velocity templates when I am using velocity with struts? TIA, - Manish ...
    ManishManish
    Nov 18, 2004 at 6:43 pm
    Nov 18, 2004 at 7:07 pm
  • What is the most efficient method to translate one XML schema to another XML schema? Would you use Anakia and then DVSL? Thanks, Karen ...
    Strong, Karen L.Strong, Karen L.
    Nov 15, 2004 at 1:31 pm
    Nov 15, 2004 at 8:25 pm
  • Hi All, Currently I have an application where in, when the user accesses the first page of the web application. The Message Tool is able to display the page as per the user's browser language ...
    Nadesan, BinuNadesan, Binu
    Nov 4, 2004 at 2:38 pm
    Nov 4, 2004 at 9:43 pm
  • Are there known issues with jdk 1.5? --------------------------------------------------------------------- To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org For additional ...
    Amir ZuckerAmir Zucker
    Nov 4, 2004 at 2:58 pm
    Nov 4, 2004 at 3:12 pm
  • Can anybody tell me how to setup VelocityEngine to use ClasspathResourceLoader? I've the following code but fail to work: VelocityEngine ve = new VelocityEngine(); ve.setProperty("resource.loader", ...
    Carfield YimCarfield Yim
    Nov 2, 2004 at 6:41 am
    Nov 2, 2004 at 7:52 am
  • Is that just use Velocity.mergeTemplate("com.classpath.template.wm", "UTF-8", velocityContext, writer); instead of Velocity.mergeTemplate("/path/to/template.wm", "UTF-8", velocityContext, writer); ?? ...
    Carfield YimCarfield Yim
    Nov 1, 2004 at 10:12 pm
    Nov 1, 2004 at 11:39 pm
  • Hi, We are using Velocity in combination with Struts for generating view layer in our application. The basic flow of the application is some-what like this.... 1)User action is handled by Struts ...
    Amitabh PrasadAmitabh Prasad
    Nov 1, 2004 at 10:06 pm
    Nov 1, 2004 at 10:37 pm
  • Hi, I have these lines in my Velocity.properties file under the WEB-INF folder. resource.loader = file file.resource.loader.description = Velocity File Resource Loader file.resource.loader.class = ...
    Krishnan MuthuswamyKrishnan Muthuswamy
    Nov 1, 2004 at 5:52 pm
    Nov 1, 2004 at 5:56 pm
  • Hi Has anyone used Velocity with OSCache? If yes, could you please tell me where I can learn more about it? Are there any other cache systems that are usable in Velocity? I use Velocity as the ...
    BenBen
    Nov 24, 2004 at 1:08 am
    Nov 24, 2004 at 1:08 am
  • Hi, Can anyone please review this code snippet? I am using the Iterator tools to iterate through a vector object that is stored in a session object. The data is populated to an array on the client ...
    Chacko, RajChacko, Raj
    Nov 22, 2004 at 7:06 pm
    Nov 22, 2004 at 7:06 pm
  • I'm pleased to anounce the release of Velosurf 1.3. 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
    Nov 22, 2004 at 11:42 am
    Nov 22, 2004 at 11:42 am
  • This is for the users list really. That said, you can easily do this using the MathTool from Velocity Tools, see: http://jakarta.apache.org/velocity/tools/generic/MathTool.html#roundTo() - simon sri ...
    Simon ChristianSimon Christian
    Nov 22, 2004 at 10:52 am
    Nov 22, 2004 at 10:52 am
  • Hi, I'm trying to select a toolset for a project and would like to use WebWork (MVC), Sitemesh (view decoration) and Velocity (views). I can find good documentation on using any two of these ...
    Larry WhiteLarry White
    Nov 12, 2004 at 6:49 pm
    Nov 12, 2004 at 6:49 pm
  • Wow, Thank you all for suggesting DVSL. So far I have managed to replicate all of my existing functionality implemented on Anakia with DVSL. The code is a LOT cleaner and simpler too. I'm really ...
    Clifton C. CraigClifton C. Craig
    Nov 9, 2004 at 7:01 pm
    Nov 9, 2004 at 7:01 pm
Group Navigation
period‹ prev | Nov 2004 | next ›
Group Overview
groupuser @
categoriesvelocity
discussions53
posts235
users66
websitevelocity.apache.org

66 users for November 2004

Shinobu Kawai: 73 posts Clifton C. Craig: 8 posts Manish: 8 posts Eric Fixler: 7 posts Simon Christian: 7 posts Claude Brisson: 6 posts Will Glass-Husain: 6 posts Carfield Yim: 5 posts Mike Kienenberger: 5 posts Chris Searle: 4 posts Christoph Reck: 4 posts Ilan Azbel: 4 posts Larry Siden: 4 posts Marino A. Jonsson: 4 posts Piscesone123: 3 posts Chih Ming Hsueh: 3 posts David You: 3 posts Edmund Urbani: 3 posts Ivo Pletikosic: 3 posts Katrin Grunwald: 3 posts
show more
Archives