You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
4.6 KiB
127 lines
4.6 KiB
|
|
<% |
|
/************************************************************@@ |
|
* Program Name : popup_content_write.jsp |
|
* Description : /보고자/내문서함/임시보고함/임시보고 |
|
* Author : 기현테크 |
|
* Create Date : 2010-11-27 |
|
* History : |
|
@@************************************************************/ |
|
%> |
|
<%@ page contentType="text/html; charset=UTF-8"%> |
|
<%@ page import="kr.co.kihyun.beans.user.HttpSSOLogin"%> |
|
<%@ page import="kr.co.kihyun.lang.MString" |
|
import="kr.co.kihyun.lang.MLong" import="java.util.List" |
|
import="javax.jdo.PersistenceManager" |
|
import="kr.co.kihyun.beans.entity.*" |
|
import="kr.co.kihyun.beans.entity.util.*"%> |
|
<%@ page import="kr.co.kihyun.util.MUtil"%> |
|
<%@ page import="kr.co.kihyun.moumi.Moumi"%> |
|
|
|
<jsp:useBean id="userView" class="kr.co.kihyun.beans.user.UserView" |
|
scope="page" /> |
|
<jsp:useBean id="reportView" |
|
class="kr.co.kihyun.beans.totsys.report.ReportView" scope="page" /> |
|
|
|
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%> |
|
|
|
<% |
|
PersistenceManager pm = new MPersistenceManager(PMF.get().getPersistenceManager()); |
|
try{ |
|
Long reportID = MLong.parseLong(request.getParameter("reportID"), null); |
|
TotReport totReport = pm.getObjectById(TotReport.class, reportID); |
|
|
|
List<TotReportHistory> memoList = totReport.getHistories(); |
|
%> |
|
<html> |
|
<head> |
|
<title><%=Moumi.getTitle()%></title> |
|
<link rel="stylesheet" href="/totsys/common/css/text.css" |
|
type="text/css"> |
|
<link rel="stylesheet" href="/totsys/common/css/kecttep.css" |
|
type="text/css"> |
|
<script src="/totsys/common/js/rollover.js"></script> |
|
<script language="javascript"> |
|
</script> |
|
</head> |
|
|
|
<body style='' bgcolor="#FFFFFF" text="#000000" leftmargin="0" |
|
topmargin="0" marginwidth="0" marginheight="0"> |
|
<table width="600" border="0" cellspacing="0" cellpadding="0" |
|
height="350"> |
|
<tr> |
|
<td width="29"><img src="images/popupt_top_left.gif" width="29" |
|
height="19"></td> |
|
<td background="images/popupt_top_center.gif" height="19"> </td> |
|
<td width="30"><img src="images/popupt_top_right.gif" width="30" |
|
height="19"></td> |
|
</tr> |
|
<tr> |
|
<td background="images/popupt_center_left.gif"> </td> |
|
<td valign="top"> |
|
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
<tr> |
|
<td style="padding-top: 10; padding-bottom: 10"> |
|
<table width="100%" height="29" border="0" cellpadding="0" |
|
cellspacing="0"> |
|
<tr> |
|
<td width="39" background="images/title1.gif"> </td> |
|
<td class="kecttep_title" background="images/titlebg.gif"><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.subDoc")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.document")%> |
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.modify")%><%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.content")%></td> |
|
<td width="13" background="images/title2.gif"> </td> |
|
</tr> |
|
</table> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td valign="top" style="padding-left: 10; padding-right: 10;"> |
|
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
<!---- 내용 시작 ----> |
|
<%for(int i=0; i<memoList.size(); i++){%> |
|
<tr> |
|
<td valign="top" width="10%" class="body"><storng><%=i+1%> |
|
<%=Moumi.getMessageBundle().getString("moumi.message.tot_doc.sequence")%></strong> |
|
:</td> |
|
<td valign="top" colspan="3" class="body"> <%= memoList.get(i).getMemo() %> |
|
</td> |
|
</tr> |
|
<tr> |
|
<td colspan="4" height="15"></td> |
|
</tr> |
|
<%}%> |
|
<!---- 내용 끝 ----> |
|
</table> |
|
</td> |
|
</tr> |
|
</table> |
|
<br> |
|
<!---- 확인,취소버튼 테이블 시작 ----> |
|
<table border="0" cellspacing="0" cellpadding="0" align="center"> |
|
<tr> |
|
<td><a href="javascript:self.close();" |
|
onMouseOut="MM_swapImgRestore()" |
|
onMouseOver="MM_swapImage('bt_enter','','images/bt_enter.gif',1)"><img |
|
name="bt_enter" border="0" src="images/bt_enter.gif"></a></td> |
|
</tr> |
|
</table> |
|
<!---- 확인,취소버튼 테이블 끝 ----></td> |
|
<td background="images/popupt_center_right.gif"> </td> |
|
</tr> |
|
<tr> |
|
<td><img src="images/popupt_bottom_left.gif" width="29" |
|
height="24"></td> |
|
<td background="images/popupt_bottom_center.gif" height="24"> </td> |
|
<td><img src="images/popupt_bottom_right.gif" width="30" |
|
height="24"></td> |
|
</tr> |
|
</table> |
|
</body> |
|
</html> |
|
<% |
|
}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{ |
|
pm.close(); |
|
} |
|
%>
|
|
|