template_popup.jsp 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <%@ page contentType="text/html; charset=UTF-8" %>
  3. <%@ taglib uri="/WEB-INF/template.tld" prefix="template" %>
  4. <%@ include file="/jsp/work/taglib.jsp" %>
  5. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  6. <%
  7. ctx.init(request, response);
  8. String winId = ctx.get("pop_win_id");
  9. String extFunction = ctx.get("extFunction");
  10. String closeFuncntion = "parent.fLayerPopClose('"+ winId+ "')";
  11. if(!"".equals(extFunction) && null != extFunction){
  12. closeFuncntion = extFunction+"('"+ winId+ "')";
  13. }
  14. String wingb = ctx.get("sModule");
  15. System.out.println("closeFuncntion : " + closeFuncntion);
  16. %>
  17. <HTML xmlns="http://www.w3.org/1999/xhtml">
  18. <HEAD>
  19. <!-- <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> -->
  20. <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
  21. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  22. <LINK href="/css/buyer/style_popup.css" rel="stylesheet" type="text/css">
  23. <link href="/css/com/common.css" rel="stylesheet" type="text/css">
  24. <link href="/css/buyer/application_popup.css" rel="stylesheet" type="text/css">
  25. <link href="/css/buyer/btn.css" rel="stylesheet" type="text/css">
  26. <script language="javascript" src="/js/objects.js"></script>
  27. <script language="javascript" src="/js/xmlhttp.js"></script>
  28. <script language="javascript" src="/js/common.js"></script>
  29. <script language="javascript" src="/js/dialog.js"></script>
  30. <SCRIPT language="javascript" src="/js/lib.js"></SCRIPT>
  31. <SCRIPT language="javascript" src="/js/ui.js"></SCRIPT>
  32. <!-- WAF JQuery 제공 스크립트 참조 -->
  33. <script language="javascript" src="/js/jquery/jquery-1.11.0.js"></script>
  34. <script language="javascript" src="/js/jquery/plugin/jquery.template.js"></script>
  35. <script language="javascript" src="/js/jquery/plugin/jquery.tojson.js"></script>
  36. <script language="javascript" src="/js/jquery/plugin/jquery.bpopup.min.js"></script>
  37. <script language="javascript" src="/js/jquery/plugin/jquery.easing.1.3.js"></script>
  38. <!-- Modular Framework -->
  39. <script language="javascript" src="/js/modular/modular_core.js"></script>
  40. <script language="javascript" src="/js/modular/modular_model.js"></script>
  41. <script language="javascript" src="/js/modular/modular_controller.js"></script>
  42. <script language="javascript" src="/js/modular/modular_view.js"></script>
  43. <script language="javascript" src="/js/modular/modular_ibsheet7.js"></script>
  44. <script language="javascript" src="/ibsheet7/ibleaders.js"></script>
  45. <!-- IBSheet7 제공 스크립트 참조 -->
  46. <script language="javascript" src="/ibsheet7/ibsheet.js"></script>
  47. <script language="javascript" src="/ibsheet7/ibsheetinfo.js"></script>
  48. <script type="text/javascript">
  49. //modular UI 관련 모든 초기화 로직 실행 함수
  50. function _modularViewInit() {
  51. Modular.view.Form.display();
  52. try {
  53. eval("_onReady();");
  54. } catch (e) {}//ignored
  55. }
  56. function winClose(){
  57. setTimeout(function(){<%=closeFuncntion%>;},100);
  58. }
  59. jQuery(document).ready(function () {
  60. //modular UI 관련 모든 초기화 로직을 실행함.
  61. _modularViewInit();
  62. });
  63. </script>
  64. </HEAD>
  65. <BODY style="margin:0px 0px 0px 0px;">
  66. <!-- <div style="padding-left:5px; padding-right:5px;"> -->
  67. <% if(!"LM".equals(wingb)) {%>
  68. <div class="icon_x"><a href="javascript:winClose();"><img src="/img/buyer/template/icon_x.gif" hspace="9" /></a></div>
  69. <% } %>
  70. <div align="left" id="title_pop" >
  71. <ul>
  72. <li id="title_value"><template:insert parameter="title"/></li>
  73. </ul>
  74. </div>
  75. <div align="center" style="padding-left:5px; padding-top:5px; padding-right:5px;">
  76. <template:insert parameter="body"/>
  77. </div>
  78. </BODY>
  79. </HTML>