<%@ taglib uri="/tags/struts-bean-el" prefix="bean-el" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html-el" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/tags/fw" prefix="fw" %>
<%@ taglib uri="/tags/esr-core" prefix="esrcore" %>
<%@ page import='gov.va.med.esr.ui.report.action.ReportConstants' %>
<c:set var="reportParamConfig" value="${reportParamConfigMap[reportInfoForm.reportIdNoSpace]}" />
<c:set var="reportFormatParameter" value="${reportParamConfig[reportTypeParam]}" />
    <esrcore:setLookup var="ReportFormatList" className="gov.va.med.esr.common.model.lookup.ReportFormat" />
    <tr><td colspan="3">&nbsp;</td></tr>
    <c:choose>
      <c:when test="${reportParamConfig.reportFormat.displayParameter eq false}">
        <tr style="display: none" id="reportFormatId">
      </c:when>
      <c:otherwise>
        <tr>
      </c:otherwise>
    </c:choose>
	<td class="moduleLabel" style="vertical-align: top"><bean-el:message key="label.required.prefix" />&nbsp;<bean-el:message key="label.report.reportFormat" />:</td>
	<td class="moduleValue" colspan="2">
	  <table border="0" cellpadding="0" cellspacing="0" role="presentation">
	    <c:forEach var="item" items="${ReportFormatList}">
	        <c:if test="${item.code != 3}">
		<c:set var="reportFormatText"><bean-el:message key="label.required" />,&nbsp;<bean-el:message key="label.report.reportFormat"/>&nbsp;(<c:out value="${item.description}" />)</c:set>
		<tr><td><html-el:radio title="${reportFormatText}" property="reportFormat" styleId="reportFormatId_${item.code}" onclick="selectReportFormat('${item.code}','reportDetailBy', '')" value="${item.code}" /></td><td class="moduleValue">
		<fw:label property="reportFormat" forId="reportFormatId_${item.code}"><c:out value="${item.description}" /></fw:label></td></tr>
                </c:if>
	    </c:forEach>
	  </table>
	</td>
    </tr>
