Title: RE: Is it difficult to change the VTL Syntax ?

Can that be exported?  In other words, could you provide something that will add the capability to DW?  We can include it with velocity....  That would be great.

And the entire velocity syntax is :

#if
#else
#elseif
#end
#set
#parse
#include
#macro
#foreach
#literal
#stop
##

I think :)



-----Original Message-----
From: Randall G. Alley [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Is it difficult to change the VTL Syntax ?


Thomas,

I am experimenting with Dreamweaver and Velocity right now, and Dreamweaver
can be customized to work better with Velocity.

Look the ThirdPartyTags capability in DW, where you can define tags like
#if
#end
, and DW will ignore them.

I haven't defined each "tag" in the entire Velocity syntax yet though,
so I can't guarantee it works for all cases.

Thomas Fahrmeyer wrote:

> Hi,
>
> i would like to have a VTL syntax that is similiar to Freemarker or simply
> said: more tag like. In this way a Designer like dreamweaver can hide the
> tags <if>,<list> it doesn't know. In my opionion it is very important that
> designer can take a look at the real page design not jumbled with code.
>
> The parser used to parse a template is generated with the help of a
> BNF-grammar. It is very difficult to change the grammar and produce a new
> Parser ???
>
> Thanx
> Thomas

Reply via email to