encrypt.jsp 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <%--
  2. - FileName : encrypt
  3. - Author(s) : ok
  4. - Date : 2014.07.28
  5. - Copyright : Copyright (c) 2014 www.udapsoft.co.kr, Inc.
  6. - Description: (전자조달.구매대금) 대금신청현황의 대금신규등록 팝업
  7. --%>
  8. <%@page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%>
  9. <%@ page contentType="text/html; charset=utf-8" %>
  10. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  11. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  12. <%@ page import="kr.co.hsnc.common.util.*"%>
  13. <%@ page import="kr.co.hsnc.common.sql.*" %>
  14. <%@ page import="kr.co.hsnc.common.util.Formatter"%>
  15. <%@ page import="kr.co.hsnc.common.config.WAFConfig"%>
  16. <%@ include file="/jsp/work/taglib.jsp" %>
  17. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  18. <%
  19. ctx.init(request, response);
  20. HandlerStorage storage = ctx.getHandlerStorage();
  21. ValueObject params = storage.getParams();
  22. ValueObject user = storage.getUser();
  23. String event = storage.getEvent();
  24. %>
  25. <SCRIPT language="JavaScript">
  26. function rtn_save(){
  27. //var f = document.form1;
  28. //submitXmlRequest("/sycs/common/encrypt.screen", "", f);
  29. $("#fevent").val("");
  30. $("#form1").attr("action", "/sycs/common/encrypt.screen");
  31. $("#form1").attr("target", "_self");
  32. $("#form1").attr("method", "post");
  33. $("#form1").submit();
  34. }
  35. function doResult(resultObj) {
  36. try {
  37. if( resultObj.getRequestEvent() == "UPDATE") {
  38. document.form1.isSubmit = false;
  39. alert("저장되었습니다.");
  40. }
  41. } catch(errorObject) {
  42. showErrorDlg("doResult()", errorObject);
  43. }
  44. }
  45. </script>
  46. <modular:search id="form1">
  47. <modular:key id="fevent" />
  48. </modular:search>
  49. <form id="form1" name="form1" method="post" modular:type="search" action="">
  50. <input type="hidden" name="fevent" id="fevent" value="">
  51. 암호화<%= InputText.get("encrypt_data", params.get("encrypt_data"), 50, 180, "hangule") %> <%= InputText.get("encrypt_data_get", params.get("encrypt_data_get"), 50, 180, "hangule") %><br>
  52. 복호화<%= InputText.get("decrypt_data", params.get("decrypt_data"), 50, 180, "hangule") %> <%= InputText.get("decrypt_data_get", params.get("decrypt_data_get"), 50, 180, "hangule") %><br>
  53. 단방향<%= InputText.get("pass_data", params.get("pass_data"), 50, 180, "hangule") %> <%= InputText.get("pass_data_get", params.get("pass_data_get"), 80, 180, "hangule") %><br>
  54. <span class="btnSearch center" id="btnConf"><a href="javascript:rtn_save();">확인</a></span>
  55. </form>