com_TextDetailView.xfdl 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.4">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="com_TextDetailView" classname="Guide_SA_01" inheritanceid="" position="absolute 0 0 400 235" titletext="택스트 자세히 보기" class="frm_POP" onload="form_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="stt_titleText" text="타이틀" class="sta_POP_title" position="absolute 12 8 337 28" anchor="left top right" transparenthittest="true"/>
  8. <Button id="btn_close" taborder="2" anchor="top right" position="absolute 374 12 388 25" positiontype="position" class="btn_POP_cls" onclick="btn_close_onclick"/>
  9. <Static id="Static76" onclick="Static76_onclick" class="sta_guide" position="absolute 2 36 398 46" text="H10" visible="false"/>
  10. <Static id="Static01" text="W&#13;&#10;10" onclick="Static76_onclick" class="sta_guide" position="absolute 388 46 398 216" visible="false"/>
  11. <Static id="Static02" text="H10" onclick="Static76_onclick" class="sta_guide" position="absolute 2 223 398 233" visible="false"/>
  12. <Static id="Static03" text="H3" onclick="Static76_onclick" class="sta_guide" position="absolute 344 200 388 203" visible="false"/>
  13. <Static id="Static04" text="W&#13;&#10;12" onclick="Static76_onclick" class="sta_guide" position="absolute 388 0 400 36" visible="false"/>
  14. <Static id="Static05" text="H12" onclick="Static76_onclick" class="sta_guide" position="absolute 348 0 388 11" visible="false"/>
  15. <Static id="Static00" text="W&#13;&#10;10" onclick="Static76_onclick" class="sta_guide" visible="false" position="absolute 2 46 12 192"/>
  16. <Button id="btn_confirm" taborder="4" text="확인" class="btn2" position="absolute 297 203 341 223" anchor="right bottom" onclick="btn_confirm_onclick"/>
  17. <Button id="btn_cancle" taborder="5" text="취소" class="btn2" position="absolute 344 203 388 223" anchor="right bottom" onclick="btn_cancle_onclick"/>
  18. <TextArea id="txt_textView" taborder="6" wordwrap="word" linespace="4" position="absolute 12 46 388 199" anchor="all"/>
  19. </Layout>
  20. </Layouts>
  21. <Bind/>
  22. <Objects/>
  23. <Script type="xscript4.0"><![CDATA[/************************************************************************************************
  24. * 파 일 명 : com_TextDetailView.xfdl
  25. * 작 성 자 : tobesoft
  26. * 작 성 일 : 2014.04.07
  27. * 설 명 : 부모창의 텍스트값을 넘겨 받아 보는 화면
  28. * 수 정 자 :
  29. * 수정이력 :
  30. ************************************************************************************************/
  31. //=======================================================================================
  32. // Lib Include
  33. //---------------------------------------------------------------------------------------
  34. include "com_commonxp::comm_main.xjs"
  35. //=======================================================================================
  36. // Global Form Variable
  37. //---------------------------------------------------------------------------------------
  38. //=======================================================================================
  39. // Function
  40. //---------------------------------------------------------------------------------------
  41. /****************************************************************************************
  42. * Argument : 01.sKey : 코드아이디
  43. * : 02.sValue : 코드명
  44. * Description : 공통코드를 가져온다.
  45. ****************************************************************************************/
  46. function lf_getCodeList(sKey, sValue){
  47. }
  48. //=======================================================================================
  49. // Transaction Callback
  50. //---------------------------------------------------------------------------------------
  51. /****************************************************************************************
  52. * Argument : 01.sSvcId : 서비스 ID
  53. * : 02.nErrorCode : 에러코드
  54. * : 03.sErrorMsg : 에러메시지
  55. * Description : tr_getCodeList의 콜백함수
  56. ****************************************************************************************/
  57. function cbf_tr_getCodeList(sSvcId, nErrorCode, sErrorMsg){
  58. }
  59. //=======================================================================================
  60. // Event
  61. //---------------------------------------------------------------------------------------
  62. /****************************************************************************************
  63. * Components : Form
  64. * Components ID : com_TextDetailView
  65. * Event : onload
  66. * Argument : 01.obj : Form
  67. * : 02.e : Event Object
  68. * Description : 화면이 로드 되면 실행 된다.
  69. ****************************************************************************************/
  70. function form_onload(obj:Form, e:LoadEventInfo)
  71. {
  72. if(!utlf_isNull(pTitleTxt)) stt_titleText.text = pTitleTxt;
  73. if(!utlf_isNull(pCont)) txt_textView.value = pCont;
  74. if(pReadonly)
  75. {
  76. txt_textView.readonly = true;
  77. }
  78. else
  79. {
  80. txt_textView.readonly = false;
  81. }
  82. }
  83. /****************************************************************************************
  84. * Components : Button
  85. * Components ID : btn_close
  86. * Event : onclick
  87. * Argument : 01.obj : Button
  88. * : 02.e : Event Object
  89. * Description : X 버튼 클릭시 발생한다.
  90. ****************************************************************************************/
  91. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  92. {
  93. close(-1);
  94. }
  95. /****************************************************************************************
  96. * Components : Button
  97. * Components ID : btn_close
  98. * Event : onclick
  99. * Argument : 01.obj : Button
  100. * : 02.e : Event Object
  101. * Description : 취소버튼 클릭시 발생한다.
  102. ****************************************************************************************/
  103. function btn_cancle_onclick(obj:Button, e:ClickEventInfo)
  104. {
  105. close(-1);
  106. }
  107. /****************************************************************************************
  108. * Components : Button
  109. * Components ID : btn_confirm
  110. * Event : onclick
  111. * Argument : 01.obj : Button
  112. * : 02.e : Event Object
  113. * Description : 확인버튼 클릭시 발생한다.
  114. ****************************************************************************************/
  115. function btn_confirm_onclick(obj:Button, e:ClickEventInfo)
  116. {
  117. close(txt_textView.value);
  118. }
  119. ]]></Script>
  120. </Form>
  121. </FDL>