<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-tiles" prefix="tiles" %>
<%@ taglib uri="/tags/struts-nested" prefix="nested" %>
<%@ 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/esr-core" prefix="esrcore" %>
<%@ taglib uri="/tags/fw" prefix="fw" %>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShell">
<tr>
<td>
 <table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShellTable">
  <tr>
   <td>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="moduleShellTableHead">
     <tr> 
        <td class="moduleBlueBox"><img alt=""  src="../images/spacer.gif" width="28" height="23"/></td>
		<td nowrap style="padding-left: 7"> <bean:write name="selectedMessage" property="type.code"/>: <bean:write name="selectedMessage" property="type.description"/> - Error </td>
		<td>&nbsp;</td>
		<td width="100%"><img alt=""  src="../images/spacer.gif"/></td>
		<td nowrap class="moduleBlueLink" style="padding: 1 8 1 8">
		    <%  			
			java.util.HashMap params = new java.util.HashMap();
			String selectedSiteId = (String)request.getAttribute(gov.va.med.esr.ui.message.action.MessageConstants.SELECTED_SITE_ID);
			if(selectedSiteId != null && selectedSiteId.length() > 0) params.put("selectedSiteId",selectedSiteId);
			pageContext.setAttribute("parameters",params);
		    %>
			<fw:link action="/hl7Message.do?methodName=chooseDisplayMessages" name="parameters"><bean-el:message key="link.name.backToMessageList"/></fw:link></td>
        <td><img alt=""  src="../images/spacer.gif" width="5"/></td>				
	</tr>
    </table>
   </td>
  </tr>
  
  <tr>
	<td>			
	   <table width="100%" cellpadding="0" cellspacing="0" border="0" class="moduleShellTableBody">
		<tr><td colspan="3" class="browncontent">&nbsp;</td></tr>
		 <tr>
			<td width="5%" class="browncontent">&nbsp;</td>
			<td class="browncontent">
				<bean:write name="selectedMessage" property="errorText"/>
			</td>
			<td width="5%" class="browncontent">&nbsp;</td>
		 </tr>
		 <tr><td colspan="3" class="browncontent">&nbsp;</td></tr>	 	   
	</table>
	</td>
	</tr>
	</table>
  </td>
 </tr>
</table>
