• 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
  • Bear Bibeault
  • Junilu Lacar
  • Martin Vashko
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Scott Selikoff
  • salvin francis
  • Piet Souris

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]
 
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
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!