Re: Any plans for a 100% wm syntax compatibility?

"Jonathan Revusky" <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
I patched it to translate VTL->FTL and it works. The problem now is
that it only works in an appletviewer locally. If I try to load it in
a browser (safari) it has all the security exception things because
the Velocity runtime is trying to read properties files and so on. I
have to figure out how to get around that and it would work.

What I have now is available via:

svn co https://freemarker.svn.sourceforge.net/svnroot/freemarker/tools/vel2ftl

In the top directory, there is ant appletjar and the applet should work with

appletviewer vel2ftl.jar

But I have to patch the Vel code a bit so it doesn't try to read from any files.

Also, this has me thinking that we could have a similar applet to
convert from older FTL syntax to the newer 2.4. And I can put up one
pretty much immediately that changes angle bracket syntax to square
brackets, for example.

JR

On Thu, Apr 3, 2008 at 7:43 PM, Tim Diggins <[email protected]> wrote:
>
>  On 3 Apr 2008, at 02:57, Jonathan Revusky wrote:
>
> > P.S. If you want to volunteer to write the applet, it's real simple,
> > I'll point you to the code you need...
> >
>
>
>  Ok, if this is good enough, I've volunteered:
>  http://red56.co.uk/transfer/freemarker/freemarker-applet/example.html
>  (NB: "translation" is just uppercasing... but could easily be the correct
> code. If you type in "bad", it will catch a generated exception).
>
>  code is available at:
>  http://red56.co.uk/transfer/freemarker/freemarker-applet.zip
>
>  But I could integrate your translation code too if you want, but it's v
> straightforward.
>
>  all the best
>
>  Tim
>
>
>
>
>  Tim Diggins
>  http://red56.co.uk/people/tim
>
>
>
>
>
>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.