<%@taglib uri="taglib.tld" prefix="jcrm" %>
<!-- get thread for case ID 123456 -->
<jcrm:getMessages ticketId="123456" id="A"/>
<%
for (int i=0; i<A.length; i++)
{
// date of posting
out.println("<br>Date: "+A[i].getDate());
// author. Will be empty for users, otherwise it is the name from the profile (staff or admin)
out.println("<p>Author: "+A[i].getAuthor());
// message
out.println("<br>Message: "+A[i].getMessage());
}
%>