init
This commit is contained in:
@@ -0,0 +1,192 @@
|
||||
<%@ page contentType="text/html;charset=utf-8"%>
|
||||
<%@ page language="java" buffer="8kb" %>
|
||||
<%@ page autoFlush="true" isErrorPage="false" %>
|
||||
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
|
||||
|
||||
<c:url value="/common/image" var="imageUrl" />
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Calendar</title>
|
||||
<META http-equiv=Content-Type content="text/html; charset=utf-8">
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.:link { color:#000000; text-decoration:none; font-family:돋움,verdana; }
|
||||
a.:visited { color:#000000; text-decoration:none; font-family:돋움, verdana; }
|
||||
a.:hover { color:#000000; text-decoration:underline; font-family:돋움, verdana; }
|
||||
.sun {color:#FF0000; text-decoration:none; font-family:돋움,verdana;}
|
||||
.sat {color:blue; text-decoration:none; font-family:돋움,verdana;}
|
||||
.nm {color:#000000; text-decoration:none; font-family:돋움,verdana;}
|
||||
.text { font-size: 9pt; color: #000000; font-family: "돋움", "Verdana"; }
|
||||
.text1 { font-size: 9pt; color: #000000; font-family: "돋움", "Verdana"; }
|
||||
.text12 { font-size: 12pt; color: #000000; font-family: "돋움", "Verdana"; font-weight: bold; }
|
||||
-->
|
||||
</style>
|
||||
|
||||
<Script Language="JavaScript">
|
||||
this.focus();
|
||||
var now = new Date();
|
||||
var nowYear = now.getYear();
|
||||
var nowMonth = now.getMonth()+1;
|
||||
var nowDay = now.getDate();
|
||||
var defaultDate = nowYear+"-"+nowMonth+"-"+nowDay;//+" 00:00:00.0";
|
||||
now = null;
|
||||
|
||||
function leapYear(year) {
|
||||
if (year % 4 == 0){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function getDays(month, year) {
|
||||
var ar = new Array(12);
|
||||
ar[0] = 31;
|
||||
ar[1] = (leapYear(year)) ? 29 : 28;
|
||||
ar[2] = 31;
|
||||
ar[3] = 30;
|
||||
ar[4] = 31;
|
||||
ar[5] = 30;
|
||||
ar[6] = 31;
|
||||
ar[7] = 31;
|
||||
ar[8] = 30;
|
||||
ar[9] = 31;
|
||||
ar[10] = 30;
|
||||
ar[11] = 31;
|
||||
return ar[month];
|
||||
}
|
||||
|
||||
function setCalendar(year,month,day){
|
||||
nowYear = year;
|
||||
nowMonth = month;
|
||||
nowDay = day;
|
||||
var nextMonth = month + 1;
|
||||
var prevMonth = month - 1;
|
||||
var nextYear = year;
|
||||
var prevYear = year;
|
||||
|
||||
if (nextMonth > 12){
|
||||
nextMonth = 1;
|
||||
nextYear = nextYear + 1;
|
||||
}
|
||||
|
||||
if (prevMonth < 1){
|
||||
prevMonth = 12;
|
||||
prevYear = prevYear - 1;
|
||||
}
|
||||
var text = "";
|
||||
|
||||
text += '<table width="280" border="0" cellpadding="0" cellspacing="0">';
|
||||
text += '<tr>';
|
||||
text += '<td height="51" background="<c:out value="${imageUrl}" />/cal_top_bg.gif" align=center>';
|
||||
text += '<table border="0" cellspacing="0" cellpadding="0">';
|
||||
text += '<tr>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_prev.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ (year - 1) +','+ month +',0)" style="cursor:hand"></td>';
|
||||
text += '<td valign="middle" nowrap width=55 align=center><span class="text12">'+ year +'</span><span class="text1"><font color="#000000">년</font></span></td>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_next.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ (year + 1) +','+ month +',0)" style="cursor:hand"></td>';
|
||||
text += '<td valign="middle"> </td>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_prev.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ prevYear +','+ prevMonth +',0)" style="cursor:hand"></td>';
|
||||
text += '<td valign="middle" width=35 align=center><span class="text12">'+ month +'</span><span class="text1"><font color="#000000">월</font></span></td>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_next.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ nextYear +','+ nextMonth +',0)" style="cursor:hand"></td>';
|
||||
text += '</tr></table></td></tr><tr><td><img src="<c:out value="${imageUrl}" />/cal_day.gif" width="280" height="23"></td></tr>';
|
||||
text += '<tr><td bgcolor="#FFFFFF"><table width="280" border="0" cellspacing="0" cellpadding="0">';
|
||||
|
||||
var firstDayInstance = new Date(year, month-1, 1);
|
||||
var firstDay = firstDayInstance.getDay() + 1;
|
||||
var lastDay = getDays(month-1, year);
|
||||
|
||||
firstDayInstance = null;
|
||||
drawCal(firstDay, lastDay, day, text);
|
||||
}
|
||||
|
||||
function drawCal(firstDay, lastDate, day, text) {
|
||||
var digit = 1;
|
||||
var curCell = 1;
|
||||
|
||||
for (var row = 1; row <= Math.ceil((lastDate + firstDay - 1) / 7); ++row) {
|
||||
text += '<tr>';
|
||||
text += '<td bgcolor="B7B7B7"><img src="<c:out value="${imageUrl}" />/space.gif" width="1" height="1"></td>';
|
||||
text += '</tr>';
|
||||
text += '<tr>';
|
||||
text += '<td background="<c:out value="${imageUrl}" />/cal_line_01.gif">';
|
||||
text += '<table width="280" height="25" border="0" cellpadding="0" cellspacing="0">';
|
||||
text += '<tr align="center" valign="middle" class="text">';
|
||||
|
||||
for (var col = 1; col <= 7; ++col) {
|
||||
if (curCell < firstDay) {
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
curCell++;
|
||||
}else if ( digit > lastDate){
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
}else{
|
||||
|
||||
if (nowYear+"-"+nowMonth+"-"+digit == defaultDate) {
|
||||
//아래에 나오는 것은 현재 날짜입니다...
|
||||
text += '<td width="40" bgcolor="#87CEEB" style="cursor:hand" onClick="javascript:init('+ digit +');">' + digit + '</td>';
|
||||
}else{
|
||||
|
||||
if(col==1){
|
||||
text += '<td class="sun" style="cursor:hand" width="40" onmouseover="this.style.backgroundColor=\'#87CEEB\'" onmouseout="this.style.backgroundColor=\'\'" onClick="javascript:init('+ digit +');">' + digit + '</td>';
|
||||
|
||||
}else if(col==7){
|
||||
text += '<td class="sat" style="cursor:hand" width="40" onmouseover="this.style.backgroundColor=\'#87CEEB\'" onmouseout="this.style.backgroundColor=\'\'" onClick="javascript:init('+ digit +');">' + digit + '</td>';
|
||||
|
||||
}else{
|
||||
text += '<td class="nm" style="cursor:hand" width="40" onmouseover="this.style.backgroundColor=\'#87CEEB\'" onmouseout="this.style.backgroundColor=\'\'" onClick="javascript:init('+ digit +');">' + digit + '</td>';
|
||||
}
|
||||
}
|
||||
digit++;
|
||||
} // if end
|
||||
} // for end
|
||||
|
||||
text += '</tr></table></td></tr>';
|
||||
|
||||
if (digit > lastDate){
|
||||
break;
|
||||
}
|
||||
} // for end
|
||||
|
||||
for(var blrow=row; blrow <= 5; blrow++){
|
||||
text += '<tr>';
|
||||
text += '<td bgcolor="B7B7B7"><img src="<c:out value="${imageUrl}" />/space.gif" width="1" height="1"></td>';
|
||||
text += '</tr>';
|
||||
text += '<tr>';
|
||||
text += '<td background="<c:out value="${imageUrl}" />/cal_line_01.gif">';
|
||||
text += '<table width="280" height="25" border="0" cellpadding="0" cellspacing="0">';
|
||||
text += '<tr align="center" valign="middle" class="text">';
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
text += '<td class="nm" width="40"> </td>';
|
||||
text += '</tr></table></td></tr>';
|
||||
}
|
||||
|
||||
text += '</table></td><tr><td bgcolor="B7B7B7"><img src="<c:out value="${imageUrl}" />/space.gif" width="1" height="1"></td></tr></table></body></html>';
|
||||
cal.innerHTML=text;
|
||||
}
|
||||
|
||||
function init(dd){
|
||||
var sMonth = "0" + nowMonth.toString();
|
||||
var sDD = "0" + dd.toString();
|
||||
if(sMonth.length > 2){ sMonth = sMonth.substring(1) };
|
||||
if(sDD.length > 2){ sDD = sDD.substring(1) };
|
||||
var sDate = nowYear+"-"+sMonth+"-"+sDD ;//+" 00:00:00.0";
|
||||
opener.setDate(sDate);
|
||||
window.close();
|
||||
}
|
||||
</Script>
|
||||
</head>
|
||||
<body bgcolor="EDEDED" leftmargin="0" topmargin="0" marginwidth="0"
|
||||
marginheight="0">
|
||||
<span id="cal"></span>
|
||||
<script Language="JavaScript">
|
||||
setCalendar(nowYear,nowMonth,nowDay);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,175 @@
|
||||
<%@ page contentType="text/html;charset=utf-8"%>
|
||||
<%@ page language="java" buffer="8kb"%>
|
||||
<%@ page autoFlush="true" isErrorPage="false"%>
|
||||
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
|
||||
|
||||
<c:url value="/common/image" var="imageUrl" />
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Calendar</title>
|
||||
<META http-equiv=Content-Type content="text/html; charset=utf-8">
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
<style type="text/css">
|
||||
<!--
|
||||
a.:link { color:#000000; text-decoration:none; font-family:돋움,verdana; }
|
||||
a.:visited { color:#000000; text-decoration:none; font-family:돋움, verdana; }
|
||||
a.:hover { color:#000000; text-decoration:underline; font-family:돋움, verdana; }
|
||||
.sun {color:#FF0000; text-decoration:none; font-family:돋움,verdana;}
|
||||
.sat {color:blue; text-decoration:none; font-family:돋움,verdana;}
|
||||
.nm {color:#000000; text-decoration:none; font-family:돋움,verdana;}
|
||||
.text { font-size: 9pt; color: #000000; font-family: "돋움", "Verdana"; }
|
||||
.text1 { font-size: 9pt; color: #000000; font-family: "돋움", "Verdana"; }
|
||||
.text12 { font-size: 12pt; color: #000000; font-family: "돋움", "Verdana"; font-weight: bold; }
|
||||
-->
|
||||
</style>
|
||||
<script language="JavaScript" type="text/javascript">
|
||||
<!--
|
||||
function NotMoveWindow(){
|
||||
if (document.forms[0].CloseFlag.value == "1" ) {
|
||||
window.focus();
|
||||
}
|
||||
}
|
||||
|
||||
function onOk(userName, userId){
|
||||
var systemUserForm = document.SystemUserForm;
|
||||
var searchForm = opener.parent.SearchForm;
|
||||
|
||||
searchForm.managerName.value = userName;
|
||||
searchForm.managerId.value = userId;
|
||||
onClose();
|
||||
}
|
||||
|
||||
function onClose() {
|
||||
// document.forms[0].CloseFlag.value == "0";
|
||||
window.close();
|
||||
}
|
||||
// -->
|
||||
</script>
|
||||
<Script Language="JavaScript">
|
||||
this.focus();
|
||||
var now = new Date();
|
||||
var nowYear = now.getYear();
|
||||
var nowMonth = now.getMonth()+1;
|
||||
var nowDay = now.getDate();
|
||||
var defaultDate = nowYear+"-"+nowMonth+"-"+nowDay;//+" 00:00:00.0";
|
||||
now = null;
|
||||
|
||||
function leapYear(year) {
|
||||
if (year % 4 == 0){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function getDays(month, year) {
|
||||
var ar = new Array(12);
|
||||
ar[0] = 31;
|
||||
ar[1] = (leapYear(year)) ? 29 : 28;
|
||||
ar[2] = 31;
|
||||
ar[3] = 30;
|
||||
ar[4] = 31;
|
||||
ar[5] = 30;
|
||||
ar[6] = 31;
|
||||
ar[7] = 31;
|
||||
ar[8] = 30;
|
||||
ar[9] = 31;
|
||||
ar[10] = 30;
|
||||
ar[11] = 31;
|
||||
return ar[month];
|
||||
}
|
||||
|
||||
function setCalendar(year,month,day){
|
||||
nowYear = year;
|
||||
nowMonth = month;
|
||||
nowDay = day;
|
||||
var nextMonth = month + 1;
|
||||
var prevMonth = month - 1;
|
||||
var nextYear = year;
|
||||
var prevYear = year;
|
||||
|
||||
if (nextMonth > 12){
|
||||
nextMonth = 1;
|
||||
nextYear = nextYear + 1;
|
||||
}
|
||||
|
||||
if (prevMonth < 1){
|
||||
prevMonth = 12;
|
||||
prevYear = prevYear - 1;
|
||||
}
|
||||
var text = "";
|
||||
|
||||
text += '<table width="280" border="0" cellpadding="0" cellspacing="0">';
|
||||
text += '<tr>';
|
||||
text += '<td height="100" background="<c:out value="${imageUrl}" />/cal_top_bg.gif" align=center>';
|
||||
text += '<table border="0" cellspacing="0" cellpadding="0">';
|
||||
text += '<tr>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_prev.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ (year - 1) +','+ month +',0)" style="cursor:hand"></td>';
|
||||
text += '<td valign="middle" nowrap width=55 align=center><span class="text12">'+ year +'</span><span class="text1"><font color="#000000">년</font></span></td>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_next.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ (year + 1) +','+ month +',0)" style="cursor:hand"></td>';
|
||||
text += '<td valign="middle"> </td>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_prev.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ prevYear +','+ prevMonth +',0)" style="cursor:hand"></td>';
|
||||
text += '<td valign="middle" width=35 align=center><span class="text12">'+ month +'</span><span class="text1"><font color="#000000">월</font></span></td>';
|
||||
text += '<td align="center" valign="middle"><img src="<c:out value="${imageUrl}" />/cal_next.gif" width="17" height="15" border="0" onclick="javascript:setCalendar('+ nextYear +','+ nextMonth +',0)" style="cursor:hand"></td>';
|
||||
text += '</tr>';
|
||||
text += '<tr><td height="30" width=30 colspan="1"><td height="30" valign="middle" align=center colspan="6">';
|
||||
text += '<input type="button" value="확 인" onclick="javascript:init()" onfocus="this.blur()">';
|
||||
text += '</td></tr>';
|
||||
text += '</table></td></tr>';
|
||||
// text += '<tr><td><img src="<c:out value="${imageUrl}" />/cal_day.gif" width="280" height="23"></td></tr>';
|
||||
text += '<tr><td bgcolor="#FFFFFF"><table width="280" border="0" cellspacing="0" cellpadding="0">';
|
||||
|
||||
|
||||
var firstDayInstance = new Date(year, month-1, 1);
|
||||
var firstDay = firstDayInstance.getDay() + 1;
|
||||
var lastDay = getDays(month-1, year);
|
||||
|
||||
firstDayInstance = null;
|
||||
drawCal(firstDay, lastDay, day, text);
|
||||
}
|
||||
|
||||
function drawCal(firstDay, lastDate, day, text) {
|
||||
var digit = 1;
|
||||
var curCell = 1;
|
||||
|
||||
for (var row = 1; row <= Math.ceil((lastDate + firstDay - 1) / 7); ++row) {
|
||||
for (var col = 1; col <= 7; ++col) {
|
||||
if (curCell < firstDay) {
|
||||
curCell++;
|
||||
}else if ( digit > lastDate){
|
||||
}else{
|
||||
digit++;
|
||||
} // if end
|
||||
} // for end
|
||||
|
||||
// text += '</tr></table></td></tr>';
|
||||
|
||||
if (digit > lastDate){
|
||||
break;
|
||||
}
|
||||
} // for end
|
||||
for(var blrow=row; blrow <= 5; blrow++){
|
||||
}
|
||||
text += '</table></td><tr><td bgcolor="B7B7B7"><img src="<c:out value="${imageUrl}" />/space.gif" width="1" height="1"></td></tr></table></body></html>';
|
||||
cal.innerHTML=text;
|
||||
}
|
||||
function init(year, month){
|
||||
var sMonth = "0" + nowMonth.toString();
|
||||
if(sMonth.length > 2){ sMonth = sMonth.substring(1) };
|
||||
var sDate = nowYear+"-"+sMonth ;//+" 00:00:00.0";
|
||||
opener.setDate(sDate);
|
||||
window.close();
|
||||
}
|
||||
</Script>
|
||||
</head>
|
||||
<body bgcolor="EDEDED" leftmargin="0" topmargin="0" marginwidth="0"
|
||||
marginheight="0">
|
||||
<span id="cal"></span>
|
||||
<form name="myform"><input type="hidden" name="CloseFlag" /> <script
|
||||
Language="JavaScript">
|
||||
setCalendar(nowYear,nowMonth,nowDay);
|
||||
</script></form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,6 @@
|
||||
<%@ page language="java" buffer="8kb"%>
|
||||
<%@ page contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
|
||||
|
||||
<input type="hidden" name="topMenuId"
|
||||
value="<c:out value="${param.topMenuId}" />" />
|
||||
@@ -0,0 +1,4 @@
|
||||
<%@ page language="java"%>
|
||||
<%@ page contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
|
||||
<c:out value="${result}" />
|
||||
@@ -0,0 +1,83 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"
|
||||
pageEncoding="utf-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="/monitoring/addon/bootstrap.min.css" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="/monitoring/addon/codemirror/lib/codemirror.css" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="/monitoring/addon/codemirror/theme/dracula.css" />
|
||||
<script src="/monitoring/addon/jquery-1.12.1.min.js"></script>
|
||||
<script src="/monitoring/addon/bootstrap.min.js"></script>
|
||||
<script src="/monitoring/addon/codemirror/lib/codemirror.js"></script>
|
||||
<script src="/monitoring/addon/codemirror/mode/javascript/javascript.js"></script>
|
||||
<script src="/monitoring/addon/codemirror/addon/edit/matchbrackets.js"></script>
|
||||
<script src="/monitoring/addon/codemirror/addon/comment/comment.js"></script>
|
||||
<script src="/monitoring/addon/codemirror/addon/comment/continuecomment.js"></script>
|
||||
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="/monitoring/addon/codemirror/addon/lint/lint.css" />
|
||||
<script src="/monitoring/addon/codemirror/addon/lint/lint.js"></script>
|
||||
<script src="/monitoring/addon/codemirror/addon/lint/javascript-lint.js"></script>
|
||||
<script src="/monitoring/addon/codemirror/addon/lint/json-lint.js"></script>
|
||||
<title>EDIT MOCK FILES</title>
|
||||
<style type="text/css">
|
||||
.CodeMirror {
|
||||
font-size: 14px;
|
||||
}
|
||||
.title {
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container" style="width: 95%; height: 95%;">
|
||||
<div class="title">
|
||||
<span>JSON Content</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div>
|
||||
<textarea id="contentText" class="form-control" readonly="readonly"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
|
||||
var editor;
|
||||
var activeFileName;
|
||||
|
||||
function init() {
|
||||
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
init();
|
||||
|
||||
console.log('<%=request.getAttribute("jsonString")%>');
|
||||
|
||||
var textArea = document.getElementById('contentText');
|
||||
|
||||
editor = CodeMirror.fromTextArea(textArea, {
|
||||
lineNumbers : false,
|
||||
matchBrackets : true,
|
||||
autoCloseBrackets : true,
|
||||
readOnly : true,
|
||||
theme: 'dracula',
|
||||
mode : "application/json"
|
||||
});
|
||||
|
||||
editor.setSize('100%', '100%');
|
||||
try {
|
||||
var jsonObj = JSON.parse(opener.window.document.getElementsByName('bzwkDataCtnt')[0].value);
|
||||
editor.getDoc().setValue(JSON.stringify(jsonObj, null, 2));
|
||||
} catch(error) {
|
||||
editor.getDoc().setValue('JSON 형식의 데이터가 아닙니다.');
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,2 @@
|
||||
<%@ page contentType="text/xml;charset=ms949"%><%=request.getAttribute("bizData")%>
|
||||
<%=request.getAttribute("bizDataHexa")%>
|
||||
@@ -0,0 +1,36 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"%>
|
||||
<html>
|
||||
<head>
|
||||
<title>View Original Data</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<jsp:include page="/jsp/common/include/css.jsp"/>
|
||||
<jsp:include page="/jsp/common/include/script.jsp"/>
|
||||
<script language="javascript" >
|
||||
var $ = jQuery.noConflict();
|
||||
|
||||
$(document).ready(function() {
|
||||
$("#sp_copy").click(function() {
|
||||
var data = $("textarea[name=bzwkDataCtnt]").val();
|
||||
// alert(data);
|
||||
window.clipboardData.setData("Text", data);
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<form name="form">
|
||||
<table class="table_row" cellspacing="0" >
|
||||
<tr>
|
||||
<th>요청메시지</th>
|
||||
<th width="100">[<span id="sp_copy" style="color:#000000; text-align:right;">clipboard 복사</span>]</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<textarea rows="" cols="" name="bzwkDataCtnt" style="width: 100%;height:250px" readonly><%=request.getAttribute("bizData")%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,32 @@
|
||||
<%@ page language="java" contentType="text/html; charset=utf-8"%>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
||||
<%
|
||||
String xmlData = (String)request.getAttribute("param");%>
|
||||
<html>
|
||||
<head>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
||||
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
||||
<META HTTP-EQUIV="Cache-control" CONTENT="no-cache">
|
||||
<title>Login Time</title>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="<c:url value="/css/web_ui.css"/>"/>
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="<c:url value="/css/theme_${themeColor}.css"/>" />
|
||||
<script language="javascript" src="<c:url value="/js/jquery-1.12.1.min.js"/>"></script>
|
||||
<script language="javascript" src="<c:url value="/js/prefixfree.min.js"/>"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!-- <div class="right_box"> -->
|
||||
<div>
|
||||
<table class="table_row" >
|
||||
<tr>
|
||||
<th>XML º¸±â</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<textarea type="text" name="xmlData" rows="40"><%=xmlData %></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<%@ page contentType="text/html;charset=MS949"%><%
|
||||
String xmlData = (String)request.getAttribute("param");
|
||||
%>
|
||||
<html>
|
||||
<body>
|
||||
<textarea style="width:100%;height:100%">
|
||||
<%= xmlData%>
|
||||
</textarea>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,4 @@
|
||||
<%@ page contentType="text/xml;charset=utf-8"%><%
|
||||
String xmlData = (String)request.getAttribute("param");
|
||||
System.out.println("xmlData = \n"+ xmlData);
|
||||
%><%= xmlData%>
|
||||
@@ -0,0 +1,5 @@
|
||||
<script language="javascript">
|
||||
// not use in new dashboard
|
||||
var redirectPage = "<%=(String)session.getAttribute("redirectPage")%>" ;
|
||||
document.location.href="<%=request.getContextPath()%>/gfm/dashboard/dashboard04.gfm?redirectPage=" + redirectPage ;
|
||||
</script>
|
||||
@@ -0,0 +1,36 @@
|
||||
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>RMS REFRESH PAGE</title>
|
||||
<meta http-equiv="pragma" content="no-cache">
|
||||
<meta http-equiv="cache-control" content="no-cache">
|
||||
<meta http-equiv="expires" content="0">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table border="1" cellspacing="2" cellpadding="1">
|
||||
<tr bgcolor="#77BBFF">
|
||||
<th>KEY</th>
|
||||
<th>VALUE</th>
|
||||
</tr>
|
||||
<%
|
||||
Object obj = session.getAttribute("After.Refresh.Properties");
|
||||
if( obj != null ) {
|
||||
Properties p = (Properties)obj;
|
||||
Enumeration keys = p.keys();
|
||||
while( keys.hasMoreElements()) {
|
||||
String key = (String)keys.nextElement();
|
||||
String value = (String)p.get(key);
|
||||
out.print("<tr><td>" + key + "</td>");
|
||||
out.print("<td>" + value + "</td></tr>");
|
||||
}
|
||||
} else {
|
||||
out.print("<tr><td>Empty key</td>");
|
||||
out.print("<td>Empty value</td></tr>");
|
||||
}
|
||||
%>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user