Re: Velocity - Struts- XML

2009-02-10 Thread Nathan Bubna
VelocityTools 2 has an XmlTool. Even if that doesn't fit your particular need, the source code for it shows how to load an xml file into a dom object and use the data that way. On Wed, Feb 4, 2009 at 5:26 AM, Sathish Jayapal wrote: > I have an application that uses struts actions rendering some

Velocity - Struts- XML

2009-02-08 Thread Sathish Jayapal
I have an application that uses struts actions rendering some information and template's body content is from a XML file. I'm not sure how to go about merging XML information along with struts actionform. I tried various examples to get some information. I was able to velocity working for

Re: Velocity Struts Example Issues

2008-01-23 Thread Nathan Bubna
hmed Hamad <[EMAIL PROTECTED]> wrote: > > Dears > > I'm trying to run the *Velocity Struts Example* on WebSphere application > > server 6.0 I'm getting the following exception: > > > > [1/23/08 8:42:31:015 AST] 002c ViewToolInfo E Exception when

Re: Velocity Struts Example Issues

2008-01-23 Thread Nathan Bubna
'm trying to run the *Velocity Struts Example* on WebSphere application > server 6.0 I'm getting the following exception: > > [1/23/08 8:42:31:015 AST] 002c ViewToolInfo E Exception when calling > init(Object) on [EMAIL PROTECTED] > [1/23/08 8:42:31:030 AST]

Velocity Struts Example Issues

2008-01-22 Thread Ahmed Hamad
Dears I'm trying to run the *Velocity Struts Example* on WebSphere application server 6.0 I'm getting the following exception: [1/23/08 8:42:31:015 AST] 002c ViewToolInfo E Exception when calling init(Object) on [EMAIL PROTECTED] [1/23/08 8:42:31:030 AST] 002c ViewT

Re: [ANNOUNCE] Velocity-Struts

2007-02-21 Thread janbrito
: > > Are you still using Velocity 1.4? I'm pretty sure that it's not > possible to get that same error with Velocity 1.5-beta2. Also, can > you send the log output? And have you tried running the > velocity-struts example app? > > On 2/21/07, janbrito <[EMAIL

Re: [ANNOUNCE] Velocity-Struts

2007-02-21 Thread Nathan Bubna
Are you still using Velocity 1.4? I'm pretty sure that it's not possible to get that same error with Velocity 1.5-beta2. Also, can you send the log output? And have you tried running the velocity-struts example app? On 2/21/07, janbrito <[EMAIL PROTECTED]> wrote: Hi Nathan,

Re: [ANNOUNCE] Velocity-Struts

2007-02-21 Thread janbrito
#x27; >> >> java.lang.NullPointerException >> at >> org.apache.velocity.io.VelocityWriter.write(VelocityWriter.java:319) >> at > > i don't remember the exact trigger for this, but this is a bug which > has been fixed in Velocity 1.5-

Re: Velocity-Struts

2007-02-20 Thread Nathan Bubna
ue); then, in your template, just do: $myDBValue Thanks -- View this message in context: http://www.nabble.com/Velocity-Struts-tf3263441.html#a9071152 Sent from the Velocity - User mailing list archive at Nabble.com. - To unsu

Velocity-Struts

2007-02-20 Thread janbrito
va.lang.Thread.run(Thread.java:595) So I pretty sure I've missed a step or two when setting Velocity up :) Also, I would like to know how do I replace velocity tags with database values I retrieve on my action classes. Thanks -- View this message in context: http://www.nabble.com/Velocity-