Hello,
Has somebody already wrote a template to display the hierarchy of topic/posts of a forum or document discussion ?
As you may know a discussion contains all its posts, and the posts have cm:references relationships between then to remember which one is the answer to another one. I want to write a template to really show the answers hierarchy, like :
Discussion1
—Post1
——Answer1
———Answer to Answer1
———Other answer to Answer1
————Answer to Other anwer…
——Answer2
——Answer3
—Post2
——Answer to Post2
Discussion2
…
and so on…
Is it possible in FreeMarker to display an unlimited hierarchy ?
Should it be done using the "recurse" instruction ?
Any help/idea would be appreciated !