%--
* Copyright by Intland Software
*
* All rights reserved.
*
* This software is the confidential and proprietary information
* of Intland Software. ("Confidential Information"). You
* shall not disclose such Confidential Information and shall use
* it only in accordance with the terms of the license agreement
* you entered into with Intland.
*
* $Revision$ $Date$
--%>
<%@ taglib uri="jstl-c" prefix="c" %>
<%@ page import="com.intland.codebeamer.persistence.dao.impl.TrackerItemCommentDaoImpl"%>
<%@ page import="com.intland.codebeamer.persistence.dto.UserDto"%>
<%@ page import="com.intland.codebeamer.persistence.dao.impl.TrackerItemDaoImpl"%>
<%@ page import="com.intland.codebeamer.persistence.dto.TrackerItemDto"%>
<%
final Integer task_id = new Integer(pageContext.findAttribute("task_id").toString());
UserDto user= (UserDto) request.getUserPrincipal();
TrackerItemDto trackerItem = TrackerItemDaoImpl.getInstance().findById(task_id);
request.setAttribute("itemComments", TrackerItemCommentDaoImpl.getInstance().findByItem(user, trackerItem));
%>
Comments: