• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic