FAQ

Search Discussions

56 discussions - 231 posts

  • I use : #set { $script = "confirmDelete(...)" } #set ( $onClickEvent = "onClick=\"$script\"" ) $onClickEvent And i would like to display : onClick="confirmDelete(...)" And it doesn't work. Any idea ? ...
    Richard HallierRichard Hallier
    Jan 24, 2003 at 3:36 pm
    Jan 31, 2003 at 6:22 pm
  • Hi All, I hope I'm not being out off topic... If I am, really sorry. We're trying to use struts for our webapps, but we don't want to use jsp... We just want to continue using velocity... The problem ...
    Mario MatosMario Matos
    Jan 29, 2003 at 2:37 pm
    Jan 31, 2003 at 8:14 pm
  • I coded the ActionMessage support for Struts 1.1, but i dont know if i have to do it for the generation of javascript in the stuts 1.1 validator support ? I guess the future release is planned with ...
    Richard LamuetteRichard Lamuette
    Jan 24, 2003 at 6:22 pm
    Jan 27, 2003 at 10:19 pm
  • Hello, What is the best way to QUICKLY develop web apps with Servlets/Velocity? If I'm not editing a template (which is easy, and immediate with Velocity), I get hit with the VM start times and WAR ...
    Dru NelsonDru Nelson
    Jan 4, 2003 at 7:16 am
    Jan 9, 2003 at 10:22 pm
  • hello i'm developing a webapp where i found the following problem: i have foreach loop: #foreach($log in $history) HTML HERE #end where $history is a java.util.Vector object. my question is: how to ...
    Tomasz MielnikTomasz Mielnik
    Jan 29, 2003 at 8:09 am
    Jan 30, 2003 at 4:54 pm
  • Hi, is it possible to write an own foreach-macro? E.g. something like this #macro { myForeach param1 param2 } ... #end And then use it as follows: #myForeach x y ... #end I have no idea how to do ...
    Matthias DavidMatthias David
    Jan 8, 2003 at 3:22 pm
    Jan 10, 2003 at 10:26 am
  • Hello users. I am in a desperate need of migrating a Tomcat 3.1 + Turbine 2.1 + velocity 1.2 application to Weblogic server 7.01. Moving the webapp was no problem, only slight changes. But for some ...
    RmadariagaRmadariaga
    Jan 23, 2003 at 4:27 pm
    Jan 29, 2003 at 12:13 pm
  • Looking into the Velocity-Parser-Definition it only accepts ["a"-"z", "A"-"Z", "0"-"9", "-", "_"] as identifiers. So you cannot use other characters out of the box. You would have to change the ...
    Peter RomianowskiPeter Romianowski
    Jan 20, 2003 at 3:24 pm
    Jan 22, 2003 at 8:56 pm
  • The first public release of an editor plugin for Velocity templates is available on http://sourceforge.net/projects/veloedit/ (Eclipse Online-Update Site: http://veloedit.sourceforge.net/updates/). ...
    Torsten JuergeleitTorsten Juergeleit
    Jan 10, 2003 at 2:01 pm
    Jan 19, 2003 at 6:44 pm
  • Hi all Im using velocity 1.3 and am trying to add afew string together like I would do in the Following java code String x[] = { "jim", "tim", "bob"}; String st = ""; for (int i = 0; i < x.length; ...
    Jimmy coyneJimmy coyne
    Jan 31, 2003 at 1:40 pm
    Jan 31, 2003 at 2:04 pm
  • Is there ability to compile velocity screens to Java class files? Eugeny N. Dzhurinsky WEB-developer -------------------------------------------------------- Private cell +380677940549 Inet dept., ...
    Eugeny N DzhurinskyEugeny N Dzhurinsky
    Jan 18, 2003 at 6:21 pm
    Jan 20, 2003 at 2:55 pm
  • Hi Recently I switched from java 1.3 to 1.4, and now i found out that international characters (in my case danish iso 8859-1 characters) are converted to "?" when written in a velocity template. This ...
    Jesper LillesoeJesper Lillesoe
    Jan 8, 2003 at 10:36 am
    Jan 8, 2003 at 4:34 pm
  • Hi, How can I get content of a variable where the variable name is stored in another variable? Example: ## Begin vm file #set ( $foo = "Hi" ) #set ( $var = '$foo' ) ## Using something like Foo value ...
    Andres_artigasAndres_artigas
    Jan 2, 2003 at 7:58 pm
    Jan 7, 2003 at 3:39 am
  • Thanks. I checked out the contrib in download area, there is only a struts related stuff there. Where should I look for this #local plugin. I attempt to turn my template into a giant macro and do ...
    Hacking bearHacking bear
    Jan 2, 2003 at 9:02 pm
    Jan 3, 2003 at 7:17 pm
  • VPP, the Velocity Preprocessor, has just release version 1.2.0. VPP provides general file preprocessing support based on the Velocity Template Engine and Ant. The core funtionality is provided as a ...
    DidgeDidge
    Jan 22, 2003 at 7:23 pm
    Dec 5, 2003 at 8:06 am
  • Hi, I'm just writing some velocity templates for Java Source code. Now I'm wondering if maybe someone has already written some useful macros for this case or knows where I could get them? I'm ...
    Matthias DavidMatthias David
    Jan 23, 2003 at 9:52 am
    Jan 23, 2003 at 5:28 pm
  • Hi, Are there any example velocity apps that are good skeletons for a full site? Something without persistence, but with a decent layout, menu, and tree of pages. Sort of a boilderplate? dru -- To ...
    Dru NelsonDru Nelson
    Jan 17, 2003 at 10:11 pm
    Jan 19, 2003 at 4:56 pm
  • Hi all, I was wondering if I have a variable that is inside a velocity template and that variable contains VTL, is there anyway for the variable to be parsed by Velocity. Example I have an variable ...
    Steve GSteve G
    Jan 8, 2003 at 7:15 pm
    Jan 10, 2003 at 1:58 am
  • Hello, I am currently using Velecity through Texen. I am having empty lines in the generated document while these lines are not present in the table as shown in the following code : The output is as ...
    Karim DAKKIKarim DAKKI
    Jan 2, 2003 at 9:48 am
    Jan 2, 2003 at 7:50 pm
  • Here is the content that was posted back in December: That's usually an inversion of things - the controller usually has a clue... In contrib/temporary/templatetool you'll find a little (unsupported) ...
    Cort SchaeferCort Schaefer
    Jan 31, 2003 at 10:02 pm
    Feb 3, 2003 at 3:48 pm
  • Hi All, I need all you help. My website, www.intercitra.com, blueoxygen.org, guerilla-forum.org is powered by Velocity But i have a difficulty to show the context inside loop, but using manual. The ...
    Frans ThamuraFrans Thamura
    Jan 30, 2003 at 4:35 am
    Jan 30, 2003 at 6:50 am
  • Update: Adding my logger in properties caused ResourceManager error, which caused me to have to explicitly name the ResourceManager class and the ResourceCache class. Is this by design? ~akb I began ...
    Kevin BaynesKevin Baynes
    Jan 28, 2003 at 1:44 pm
    Jan 29, 2003 at 2:24 pm
  • Thank you for your email. I am sorry that I am not able to respond to you immediately as I am away until 23 Jan 2003. I will revert as soon as I return. Thank you and have a nice day! -- To ...
    LimhsLimhs
    Jan 15, 2003 at 8:02 pm
    Jan 29, 2003 at 11:56 am
  • Is there a convenient way to have an index counter in my for loop? In other words, is there a short-hand for this: #set($i=0) #foreach ($foo in $bar) The $i th element is $foo #set( $i =$i + 1 ) #end
    Russell BlackRussell Black
    Jan 22, 2003 at 6:11 am
    Jan 22, 2003 at 7:11 am
  • I am using the latest available release (1.3rc2) and am being bitten badly by the bug described here: http://issues.apache.org/bugzilla/show_bug.cgi?id=13623 "Use of Velocimacro forward reference ...
    Arh14Arh14
    Jan 18, 2003 at 3:01 am
    Jan 18, 2003 at 7:08 am
  • Hello, I am using Velocity 1.3 (not sure exactly which version, the date on my jar is 7/28/2002), trying to make the Roller project use Velocity properly (http://www.rollerweblogger.org). I've ...
    Lance LavandowskaLance Lavandowska
    Jan 15, 2003 at 6:45 pm
    Jan 17, 2003 at 3:57 pm
  • Hi All, A new comer to velocity world and first question to velocity community. In velocity template file, how can I change the case of a reference value? Is there any global functions in VTL to ...
    Bob ZhangBob Zhang
    Jan 10, 2003 at 9:22 pm
    Jan 13, 2003 at 3:01 pm
  • I have a template that I am trying to get to work && it's 1:30 am. I have a variable that will equal a character (i.e. "a") If the variable is NOT zero length string (i.e. ""), I want to output ...
    Phillip RhodesPhillip Rhodes
    Jan 10, 2003 at 6:51 am
    Jan 10, 2003 at 12:11 pm
  • I'm using Cewolf, a taglib for JFreeChart. How can I use Cewolf taglibs (or any other taglib) with Velocity? Example: <cewolf:chart id="XYChart" renderer="cewolf" type="xy" title="XYChart" ...
    Leonardo FrancalanciLeonardo Francalanci
    Jan 9, 2003 at 2:14 pm
    Jan 9, 2003 at 2:49 pm
  • I have some html in a velocity page which includes a url that looks something like this: <a href="http://www.mydomain.com/whatever.html#setupsomething.html" When it gets parsed, I get an error that ...
    Mike BridgeMike Bridge
    Jan 8, 2003 at 9:58 pm
    Jan 8, 2003 at 11:25 pm
  • Hi , I'm new with VTL and I 'm make some test and I need fill a html table from a BD table and I can't . What king of objects (matrix of Vector, String) can I use to do this ?? Sergio -- To ...
    Sergio EduardoSergio Eduardo
    Jan 8, 2003 at 9:21 am
    Jan 8, 2003 at 9:30 pm
  • Hi, I have developed an application which uses a few HTML pages containing VTL tags to get the business logic rendered. Now, I have to add some checkboxes and mutiple select options on one of these ...
    Ext-prashant EmaniExt-prashant Emani
    Jan 7, 2003 at 7:45 am
    Jan 7, 2003 at 1:23 pm
  • Hi all, and happy new year! I have a little problem, maybe somebody else already tried to do this. I want to use a texen derived ant task from my application, hopefull without generate a temporary ...
    Davide MoraDavide Mora
    Jan 3, 2003 at 3:20 pm
    Jan 3, 2003 at 7:08 pm
  • I have dots in most of application's java.util.Properties, and I construct my VelocityContext using these properties. This causes problems when I try to include these properties in a template, since ...
    Russell BlackRussell Black
    Jan 2, 2003 at 4:34 am
    Jan 3, 2003 at 7:04 pm
  • Hi, I got the following error when I tried to build Velocity by keying "ant jar". I am using ant version 1.5.1 and Velocity version 1.3, running on Window XP. Please help. Thanks. Buildfile: ...
    LimhsLimhs
    Jan 3, 2003 at 7:38 am
    Jan 3, 2003 at 2:09 pm
  • Velocity-powered Project: ModelJ - open-source EJB/Struts code generator for JBoss 3.x released --------------------------------------------------------------------- ModelJ is an open-source RAD ...
    Tom TessierTom Tessier
    Jan 6, 2003 at 4:55 am
    Oct 26, 2003 at 12:38 pm
  • Hi All, I need a tips, How to make a foreach for 10 value but using 2 times foreach. so there is a break in middle of them, so i can foreach from 1-5 and do again in another foreach. Thnks Frans ...
    Frans ThamuraFrans Thamura
    Jan 30, 2003 at 4:40 am
    Jan 30, 2003 at 2:50 pm
  • Hi,I wrote the following template code: #set( $value = "hello\"") $value The result is: hello\" not expected: hello" Can someone tell me how to write a string literal hello" 与联机的朋友进行交流,请使用 MSN ...
    Gu DakeGu Dake
    Jan 29, 2003 at 9:04 am
    Jan 29, 2003 at 9:46 am
  • This isn't a question about Velocity, but I thought it would be easy to explain my question to Velocity users. I am looking to write a program to download html from a web site, and then I want to ...
    Dave DutcherDave Dutcher
    Jan 25, 2003 at 10:00 pm
    Jan 25, 2003 at 10:46 pm
  • Does anybody on this list know how you can convince Dreamweaver MX that these files are HTML and there for to provide HTML hints when editing? -- To unsubscribe, e-mail: For additional commands, ...
    Robert NicholsonRobert Nicholson
    Jan 23, 2003 at 7:53 pm
    Jan 24, 2003 at 1:17 am
  • Has anyone managed to get the Validator framework working with Velocity/Struts? If so, I would be interested to know how. Thanks in advance, Eric --- Outgoing mail is certified Virus Free. Checked by ...
    Eric PenegorEric Penegor
    Jan 14, 2003 at 1:28 pm
    Jan 14, 2003 at 3:11 pm
  • Hi, I'm sending an Object to the template which has a method which in turn returns a List of other Objects. I'm trying to get this first Object of that List via the method but am having some probs. ...
    Colin ChalmersColin Chalmers
    Jan 9, 2003 at 4:43 pm
    Jan 10, 2003 at 1:10 am
  • Go and REad the developes guide you will find out how it works http://jakarta.apache.org/velocity/veltag.html cheers -----Original Message----- From: Leonardo Francalanci Sent: 09 January 2003 15:47 ...
    Vaneet SharmaVaneet Sharma
    Jan 9, 2003 at 3:32 pm
    Jan 9, 2003 at 3:42 pm
  • Hi everybody, I think this is the right place to ask this - which version of Struts does the CVS HEAD of the Velocity-Struts tool module work with? Thanks in advance, Eliot This email has been ...
    Eliot SykesEliot Sykes
    Jan 9, 2003 at 1:32 pm
    Jan 9, 2003 at 3:36 pm
  • I will be out of the office starting 12/20/2002 and will not return until 01/05/2003. If you have an issue that requires immediate attention contact the IT Help Desk at 213.624.1200 ext 4444 and ask ...
    JkikkawaJkikkawa
    Jan 1, 2003 at 9:10 am
    Jan 2, 2003 at 5:53 pm
  • Happy New Year, I have been assuming that velocity #parse() would create its own local context from the caller scope. But it seems variable changes in local scope are visible in the caller. For ...
    Hacking bearHacking bear
    Jan 2, 2003 at 12:39 am
    Jan 2, 2003 at 5:11 am
  • Hi All I see there is several issue in the list implementation, because the iterator can only move forward, is there an implementation such as prev or next in velocity? Thns ...
    Frans ThamuraFrans Thamura
    Jan 30, 2003 at 5:04 am
    Jan 30, 2003 at 5:04 am
  • Just to pass on some odd, mildly annoying behavior. I've noticed it from time to time, but just figured out what's really going on. 1) If you comment out a section of a template using '#*....*#, and ...
    Terry SteichenTerry Steichen
    Jan 28, 2003 at 7:35 pm
    Jan 28, 2003 at 7:35 pm
  • Hi, I am new to Velocity. I have seen Velocity used for generating Java code from XML (XSD) files in Poseidon (Java-based IDE) and JBuilder. Has anyone attempted to generate C++ code from an XML/XSD ...
    Hamedany, AllenHamedany, Allen
    Jan 25, 2003 at 12:12 am
    Jan 25, 2003 at 12:12 am
  • To whom it may concern, I would like to request that the following be added to the list of Velocity-powered Products and Projects list: Name: VPP (http://vpp.sourceforge.net) Description: VPP ...
    DidgeDidge
    Jan 23, 2003 at 4:50 pm
    Jan 23, 2003 at 4:50 pm
Group Navigation
period‹ prev | Jan 2003 | next ›
Group Overview
groupuser @
categoriesvelocity
discussions56
posts231
users88
websitevelocity.apache.org

88 users for January 2003

Nathan Bubna: 23 posts Claude Brisson: 8 posts Geir Magnusson Jr.: 7 posts Peter Romianowski: 7 posts Richard Lamuette: 7 posts Dru Nelson: 6 posts Kevin Baynes: 6 posts Leonardo Francalanci: 5 posts Matthias David: 5 posts Vaneet Sharma: 5 posts Limhs: 4 posts Christoph Reck: 4 posts Andy Lee: 4 posts Daniel Dekany: 4 posts Frans Thamura: 4 posts Gabriel Sidler: 4 posts Guillaume Mathe: 4 posts Jeff Linwood: 4 posts Rmadariaga: 4 posts Thomas Marsh: 4 posts
show more
Archives