Use cases for Velocity

2003-03-07 Thread Content Service Center
I am beginning my first major cocoon project and am making decisions about which components to use. I almost decided to do the project using the Turbine Development Kit, largely because I was attracted to Velocity. However, an XML based framework (Cocoon) has more to offer, so it is decided

DVSL Velocity xml transformation

2003-02-27 Thread Dario Liberman
Hello, I was wondering if there exist a simple way to incorporate DVSL as a transformer. Since there is already a plugin for xml generation with velocity, perhaps it is simple to incorporate a transformation with velocity. It is very powerfull, since allows during the transformation to call java

RE: VELOCITY (XML) - COCOON (PDF)

2002-07-24 Thread Terry Anderson
Found the problem. Seems I was creating a blank line at the top of the xml stream with velocity. Once this blank line was removed, stream goes through. Thanks! -Original Message- Looking for help posting xml (created with velocity) to cocoon to create a pdf. I successfully create the

Macros in velocity generator

2002-07-24 Thread Carles Canellas
Hello. I'm using a velocity generator in a internal pipeline on my sitemap in order to get a xsp file. My problem is that i want to use velocimacros to simplify the source vm file, but I don't know where cocoon is trying to find the VM_global_library.vm where I have defined the ma

VELOCITY (XML) - COCOON (PDF)

2002-07-23 Thread Terry Anderson
Looking for help posting xml (created with velocity) to cocoon to create a pdf. I successfully create the pdf with the file-generator (xml file saved to disk), but having difficulty with the stream-generator. I've attached my code for review (sorry for length). Thanks for any assistance!

RE: Error handling with nested Velocity components

2002-04-15 Thread andy . eltis
Thanks! -Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Sent: 15 April 2002 15:31 To: cocoon-users Subject: Re: Error handling with nested Velocity components From: <[EMAIL PROTECTED]> > Hi > > Does anyone know how to force a new page on the brows

Re: Error handling with nested Velocity components

2002-04-15 Thread Nicola Ken Barozzi
From: <[EMAIL PROTECTED]> > Hi > > Does anyone know how to force a new page on the browser when dealing with > errors that come from a nested Velocity component? I'm finding that with my > current pipeline: > > > > > > > causes the e

Error handling with nested Velocity components

2002-04-15 Thread andy . eltis
Hi Does anyone know how to force a new page on the browser when dealing with errors that come from a nested Velocity component? I'm finding that with my current pipeline: causes the error to appear within the page, in the same way that the Velocity component would have

Velocity

2001-12-12 Thread Andy Eltis
Hi all I'm trying to use Velocity in Cocoon 2. I would like to add objects to the VelocityContext without having to change the VelocityGenerator class (where I can add them explicitly, I know). >From what I understand reading the doc I should be able to declare the object (Menu)

Re[2]: Velocity and sitemap

2001-09-10 Thread Daniel Owsianski
Hi Michael, Monday, September 10, 2001, 5:45:48 PM, napisano co nastêpuje: M> Hello, I believe also the Velocity Cocoon2 Generator currently configures M> the Velocity engine to resolve template files relative to the templates/ M> directory inside the cocoon webapp, so your src path s

Re: Velocity and sitemap

2001-09-10 Thread Michael McKibben
Hello, I believe also the Velocity Cocoon2 Generator currently configures the Velocity engine to resolve template files relative to the templates/ directory inside the cocoon webapp, so your src path should not include the "templates/" part. Regards, --mike On Sat, 8 Sep 2001, Daniel

Re: AW: AW: Velocity and sitemap

2001-09-10 Thread Daniel Owsianski
Hi, I've found explanation for velocity generation problem on my own... 'templates' directory seems to be hard-coded in VelocityGenerator class.In A and B case velocity looking its templates in templates/templates directory. straight and simple explanation :) best Daniel >

RE: Velocity and sitemap

2001-09-10 Thread Klaus Bertram
Hi Tobias, use instead of Klaus > -Original Message- > From: Tobias Luikard [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 10, 2001 9:54 AM > To: [EMAIL PROTECTED] > Subject: Re: Velocity and sitemap > > > Hi out there, > > I got a similar probl

AW: AW: Velocity and sitemap

2001-09-10 Thread Jörn Heid
"(It was a hard weekend .-) )" Indeed - you lost an eye ;) -Ursprüngliche Nachricht- Von: Tobias Luikard [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. September 2001 10:17 An: [EMAIL PROTECTED] Betreff: Re: AW: Velocity and sitemap I'm getting old. Thanks a lot. To

Re: AW: Velocity and sitemap

2001-09-10 Thread Tobias Luikard
tember 2001 09:54 > An: [EMAIL PROTECTED] > Betreff: Re: Velocity and sitemap > > Hi out there, > > I got a similar problem like Daniel. > > I createt a example direktory called Connections. There a simple xls > example Homer.html (-.xml and adress-html.xls) which works perfekt

AW: Velocity and sitemap

2001-09-10 Thread Jörn Heid
Perhaps because of 'scr' instead of 'src' ;) -Ursprüngliche Nachricht- Von: Tobias Luikard [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 10. September 2001 09:54 An: [EMAIL PROTECTED] Betreff: Re: Velocity and sitemap Hi out there, I got a similar problem like

Re: Velocity and sitemap

2001-09-10 Thread Tobias Luikard
Ups. I forgot to mention that I use Cocoon2B2 and Tomcat 3.2.3 on a Win2000 PC. Sorry Tobias Daniel Owsianski wrote: > Hi, > > I use Cocoon2b2 and Tomcat 3.2.3 with Apache. > sitemap has the following entries: > > > > > > > > > > > > > > > > >

Re: Velocity and sitemap

2001-09-10 Thread Tobias Luikard
Hi out there, I got a similar problem like Daniel. I createt a example direktory called Connections. There a simple xls example Homer.html (-.xml and adress-html.xls) which works perfekt. But when I try to run the sales.html example a "Internal server error" occurres. The descripiton is: "org.ap

Velocity and sitemap

2001-09-07 Thread Daniel Owsianski
Hi, I use Cocoon2b2 and Tomcat 3.2.3 with Apache. sitemap has the following entries: Why only 'C' works fine ?? Both 'A' and 'B' generates processing exception (unable to find 'templates/hello-page.vm') in VelocityGenerat

velocity and cocoon

2001-07-11 Thread Rick Anderson
Hi All, I've been using cocoon for a while, but it seems that Velocity is getting a big push. Velocity uses VTL instead of XSL. I'd rather use xsl. Has anyone used Cocoon and velocity together? Are these products incompatible? Would it be easier to work with XSP instead of velocit