### ### List document comments ### ### TODO: web service? ### ## #if(!$showcomments) ## #set($showcomments = $xwiki.getWebPreference("showcomments")) ## #end ## #if($showcomments!="no") #if($xwiki.getWebPreferenceAsInt("commentsorder",1)==1) #set($comments = $doc.getComments()) #else #set($comments = $doc.getComments(false)) #end
$msg.get("comments")
#if($comments.size()>0) #set($count=0) #foreach($comment in $comments) #if($count > 0)#end #set($count=$count+1)