• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

unable to understand JForum's .htm file coding. please give me some inputs.

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rafael,

I am trying to integrate JForum with my web application (struts, tiles and jsp).
But, I got stucked in understaing .htm files code.
for ex. in ..\forums_list.htm there is code something look like following.


<#if forum.isModerated()>

${I18n.getMessage("ForumIndex.moderators")}
<#assign moderators = fir.getModeratorList(forum.id)/>

<#list moderators as m>
${m.name?html}
</#list>
</#if>

I am not getting the above code. How its possible to write like "<#.." in .htm file.

I am not a master in .htm. but I didnt see this type of tags(?) or scripts(?) earlier.
Please let me know what is that code and how exactly its works.

Thanks in advance..

[originally posted on jforum.net by sridharmnj]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a template engine named Freemarker. Check it out at http://freemarker.sf.net

Rafael
[originally posted on jforum.net by Rafael Steil]
 
I love a good mentalist. And so does this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!