<% /** * **********************************************************@@ Program Name * : doc_list.jsp Description : /Áý°è ¹®¼­¿¡ ´ëÇÑ º¸°íÀÚ Á¤º¸ Author : ±âÇöÅ×Å© Create Date * : 2010.11.27 History : * @@*********************************************************** */ %> <%@ page contentType="text/html; charset=euc-kr" import="java.text.SimpleDateFormat" import="javax.jdo.PersistenceManager" import="javax.jdo.Transaction" import="kr.co.kihyun.beans.entity.util.*" import="kr.co.kihyun.beans.entity.*" import="kr.co.kihyun.moumi.Moumi" import="kr.co.kihyun.lang.MLong" import="kr.co.kihyun.lang.MString"%> <%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%> <% PersistenceManager pm = new MPersistenceManager(PMF.get().getPersistenceManager()); Transaction tx = pm.currentTransaction(); try { tx.begin(); /** * **** Parameter ***** */ Long reportID = MLong.parseLong(request.getParameter("reportID"), null); TotReport totReport = pm.getObjectById(TotReport.class, reportID); %> <%=Moumi.getMessageBundle().getString("moumi.message.tot_report.submit")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.person")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.info")%>    
<%=Moumi.getMessageBundle().getString("moumi.message.tot_report.submit")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.person")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.name")%> <%= MString.checkNull(totReport.getOwnerName(pm))%> 
<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.coporation")%>/<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.devision")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.name")%>  <%= totReport.getUser(pm).getUpperDept(pm).getName()%>  <%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.telNumber")%>  <%= MString.checkNull(totReport.getOwnerPhone())%> 
E-MAIL <%= MString.checkNull(totReport.getOwnerEmail())%>  <%=Moumi.getMessageBundle().getString("moumi.message.tot_report.submit")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.dateTime")%>  <%=totReport.getSubmitDate() == null ? "" : new SimpleDateFormat("yy/MM/dd HH:mm:ss").format(totReport.getSubmitDate())%> 
<% tx.rollback(); } catch (Exception ex) { ex.printStackTrace(); out.println(kr.co.kihyun.text.html.ServletUtil.getJavaScript("location='/servlet/kr.co.kihyun.beans.user.HttpSSOLogin?mode=logout';")); } finally { if (tx.isActive()) { tx.rollback(); } pm.close(); } %>