Re: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-25 Thread Mike Kienenberger
Kienenberger [EMAIL PROTECTED] To: Shinobu Kawai [EMAIL PROTECTED]; Velocity Users List velocity-user@jakarta.apache.org Cc: Velocity Users List velocity-user@jakarta.apache.org Sent: Thursday, February 24, 2005 7:07 PM Subject: Re: Escaping in VTL (was Re: Velocity JSP Generation) Shinobu Kawai

RE: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-25 Thread Gonzalo Diethelm
Doesn't quite work that easily. The problem is that if #directive is not an actual macro, than \#directive is shown verbatim. You only should escape when the same code is legit in both the source and the generated Velocity. This can be a little confusing. I know there is no

Re: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-25 Thread Will Glass-Husain
:09 AM Subject: RE: Escaping in VTL (was Re: Velocity JSP Generation) Doesn't quite work that easily. The problem is that if #directive is not an actual macro, than \#directive is shown verbatim. You only should escape when the same code is legit in both the source and the generated Velocity

Re: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-25 Thread Nathan Bubna
will break. WILL - Original Message - From: Gonzalo Diethelm [EMAIL PROTECTED] To: 'Velocity Users List' velocity-user@jakarta.apache.org Sent: Friday, February 25, 2005 7:09 AM Subject: RE: Escaping in VTL (was Re: Velocity JSP Generation) Doesn't quite work that easily

Re: Velocity JSP Generation

2005-02-24 Thread Rana Asif Rubbani
, February 24, 2005 12:23 PM Subject: Re: Velocity JSP Generation - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Thursday, February 24, 2005 8:41 AM Subject: Re: Velocity JSP Generation snip I wonder if anybody uses

Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-24 Thread Shinobu Kawai
Hi Will, #* First time I've ever heard of creating JSP with Velocity. :) I wonder if anybody uses Velocity to create Velocity templates. I might need to add vtl to the EscapeTool. (half joking, half...) *# Ha. I wrote an app that uses Velocity to generate Velocity templates.

Re: Velocity JSP Generation

2005-02-24 Thread Florin Vancea
Subject: Re: Velocity JSP Generation I totally agree with Florin Vancea about it. Taming struts with torque/hibernate can be marvelous. Struts++ ;) Asif - Original Message - From: Florin Vancea [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org; Shinobu Kawai

Re: Velocity JSP Generation

2005-02-24 Thread Mike Kienenberger
Florin Vancea [EMAIL PROTECTED] wrote: But really, what if (only what if) one would provide the Struts validator and config files (which are info-rich-enough), along with the *.properties containing messages, and at the startup of the WAR (or even at build time) Velocity would generate a set

Re: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-24 Thread Mike Kienenberger
Shinobu Kawai [EMAIL PROTECTED] wrote: Escaping the VTL properly was a little challenging, but otherwise it was no big deal. I still don't get the whole escaping scheme, partly because I can't find any documentation that is completely correct. We might want a document totally devoted to

Re: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-24 Thread Shinobu Kawai
Hi Mike, I still don't get the whole escaping scheme, partly because I can't find any documentation that is completely correct. We might want a document totally devoted to escaping in VTL. :( Escape all [$], [#], [], [!] and [']. (actually, ! might be overkill, but better safe than

Re: Escaping in VTL (was Re: Velocity JSP Generation)

2005-02-24 Thread Will Glass-Husain
- From: Mike Kienenberger [EMAIL PROTECTED] To: Shinobu Kawai [EMAIL PROTECTED]; Velocity Users List velocity-user@jakarta.apache.org Cc: Velocity Users List velocity-user@jakarta.apache.org Sent: Thursday, February 24, 2005 7:07 PM Subject: Re: Escaping in VTL (was Re: Velocity JSP Generation

Velocity JSP Generation

2005-02-23 Thread Rana Asif Rubbani
Hi Is there any tool/framework available that you just give it the database schema and it creates the jsp pages for you. Like GUIs for add/edit/delete cases and a controller page where all pages will be submitted. Is there any such jsp code generator available. Regards Rana Asif Rubbani

Re: Velocity JSP Generation

2005-02-23 Thread Shinobu Kawai
Hi Rana, Is there any tool/framework available that you just give it the database schema and it creates the jsp pages for you. Like GUIs for add/edit/delete cases and a controller page where all pages will be submitted. Is there any such jsp code generator available. I'm not aware of such

Re: Velocity JSP Generation

2005-02-23 Thread jian chen
Wow, it seems to me off the chart here by asking for jsp related stuff. Personally I think Velocity is the way to go, why need JSP? jian On Wed, 23 Feb 2005 22:41:21 -0800, Shinobu Kawai [EMAIL PROTECTED] wrote: Hi Rana, Is there any tool/framework available that you just give it the

Re: Velocity JSP Generation

2005-02-23 Thread Will Glass-Husain
23, 2005 10:41 PM Subject: Re: Velocity JSP Generation Hi Rana, Is there any tool/framework available that you just give it the database schema and it creates the jsp pages for you. Like GUIs for add/edit/delete cases and a controller page where all pages will be submitted. Is there any

Re: Velocity JSP Generation

2005-02-23 Thread Florin Vancea
- Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Thursday, February 24, 2005 8:41 AM Subject: Re: Velocity JSP Generation snip I wonder if anybody uses Velocity to create Velocity templates. I might need

Re: Velocity JSP Generation PROPOSED PROJECT

2005-02-23 Thread Rana Asif Rubbani
. I'm excited about this project. Regards Rana Asif Rubbani - Original Message - From: Shinobu Kawai [EMAIL PROTECTED] To: Velocity Users List velocity-user@jakarta.apache.org Sent: Thursday, February 24, 2005 11:41 AM Subject: Re: Velocity JSP Generation Hi Rana, Is there any tool/framework