• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

How To Edit .html freemarker files with editing tools

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings - I was wondering if anyone has any ideas on how to view and edit freemarker template files in an .html files in an editor?

I've thought about trying to write a program to 'comment out' the custom tags for .html editing, then put the tags back for jforum.

Just wondering if anyone else has tackled this?

Many thanks!
Curt
[originally posted on jforum.net by curtc]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess Dreamweaver has a way to handle Velocity tags, but I haven't seen a similar for Freemarker.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a freemarker eclipse-ide plugin available. I haven't used it yet, so don't know what it offers.
[originally posted on jforum.net by GatorBait3]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the input!

For editing freemarker tags - would it be possible to simply take the freemarker specific tags and wrap them in HTML comments, which would then allow editing, then unwrap the tags for jforum? Would there be something else involved?

Thanks for the assistance,
Curt.
[originally posted on jforum.net by curtc]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid tha't s not possible.

If the <#X> sintax is causing you problems, you can try the [#X] sintax. More at http://freemarker.sourceforge.net/docs/dgui_misc_alternativesyntax.html

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!