SMZFS00601_DataSetRtrvSHOWCASE.xfdl 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMZFS00601_DataSetRtrvSHOWCASE" classname="SMZFS00601_DataSetRtrvSHOWCASE" inheritanceid="" position="absolute 0 0 1192 629" titletext="New Form" onload="SMZFS00601_DataSetRtrvSHOWCASE_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static id="Static07" text="■ method" position2="absolute l:494 w:123 t:3 h:26" positiontype="position2" style="font:dotum,12,bold;"/>
  8. <Static id="Static14" text=" ★ 컴포넌트 미리보기" onclick="Static00_onclick" position2="absolute l:1 w:267 t:12 h:20" positiontype="position2" style="font:돋움,12,bold;"/>
  9. <Shape id="Shape02" type="rectangle" position2="absolute l:10 w:461 t:37 h:531" positiontype="position2" style="font:돋움,9;"/>
  10. <Button id="btn_createsource" taborder="7" text="코드 생성" position="absolute 520 152 691 231" style="font:dotum,14,bold;" onclick="btn_createsource_onclick" visible="false"/>
  11. <Button id="btn_preShow" taborder="11" text="Alt + F5" position="absolute 115 88 344 189" style="font:Dotum,18;" onclick="btn_preShow_onclick"/>
  12. <Static id="Static00" text="※ 함수 호출 사용시 SSZFM00401.xjs file을 include 해야 합니다." onclick="Static00_onclick" position="absolute 518 43 1128 73" style="color:black;font:dotum,12,bold;"/>
  13. <Static id="Static01" text="화면 LOAD EVENT에 'lf_commoduleDataSetShow()' 선언하고 'Alt + F5' 키를" onclick="Static00_onclick" position="absolute 518 75 1232 105" style="color:black;font:dotum,12,bold;"/>
  14. <Static id="Static02" text="누르면 modal 화면 호출 됨" onclick="Static00_onclick" position="absolute 518 107 1232 137" style="color:black;font:dotum,12,bold;"/>
  15. <TextArea id="txtcode" taborder="12" position2="absolute l:521 w:543 t:152 h:416" positiontype="position2" readonly="true" value="&#9;복사해서 사용하세요.&#13;&#10;&#13;&#10;&#9;//SSZFM00401.xjs 파일 필수적으로 include&#13;&#10;&#9;include &quot;com_commodulexp::SSZFM00401.xjs&quot;;&#13;&#10; &#13;&#10;&#9;//onload event에 아래 소스 복사&#13;&#10;&#9;lf_commoduleDataSetShow(); //DataSet 조회" style="background:darkgray;"/>
  16. </Layout>
  17. </Layouts>
  18. <Objects>
  19. <Dataset id="ds_test1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  20. <ColumnInfo>
  21. <Column id="test1" type="STRING" size="256"/>
  22. <Column id="test2" type="STRING" size="256"/>
  23. <Column id="test3" type="STRING" size="256"/>
  24. </ColumnInfo>
  25. <Rows>
  26. <Row>
  27. <Col id="test1">1</Col>
  28. <Col id="test2">2</Col>
  29. <Col id="test3">3</Col>
  30. </Row>
  31. <Row>
  32. <Col id="test1">3</Col>
  33. <Col id="test2">4</Col>
  34. <Col id="test3">5</Col>
  35. </Row>
  36. <Row>
  37. <Col id="test1">6</Col>
  38. <Col id="test2">7</Col>
  39. <Col id="test3">8</Col>
  40. </Row>
  41. </Rows>
  42. </Dataset>
  43. <Dataset id="ds_test2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  44. <ColumnInfo>
  45. <Column id="tmp1" type="STRING" size="256"/>
  46. <Column id="tmp2" type="STRING" size="256"/>
  47. <Column id="tmp3" type="STRING" size="256"/>
  48. </ColumnInfo>
  49. <Rows>
  50. <Row>
  51. <Col id="tmp1">11</Col>
  52. <Col id="tmp2">22</Col>
  53. <Col id="tmp3">33</Col>
  54. </Row>
  55. <Row>
  56. <Col id="tmp1">44</Col>
  57. <Col id="tmp2">55</Col>
  58. <Col id="tmp3">66</Col>
  59. </Row>
  60. <Row>
  61. <Col id="tmp1">77</Col>
  62. <Col id="tmp2">88</Col>
  63. <Col id="tmp3">99</Col>
  64. </Row>
  65. </Rows>
  66. </Dataset>
  67. </Objects>
  68. <Script type="xscript4.0"><![CDATA[include "com_commodulexp::SMZFS00401.xjs";
  69. function btn_preShow_onclick(obj:Button, e:ClickEventInfo)
  70. {
  71. alert("Alt + F5 키를 눌러 주세요");
  72. }
  73. function btn_createsource_onclick(obj:Button, e:ClickEventInfo)
  74. {
  75. txtcode.value = "";
  76. var sParamObj = new Object();
  77. sParamObj.title = "복사해서 사용하세요";
  78. sParamObj.source = "";
  79. sParamObj.source += "\t //SSZFM00401.xjs 파일 필수적으로 include \n";
  80. sParamObj.source += "\t include \"com_commodulexp::SSZFM00401.xjs\";\n\n";
  81. sParamObj.source += "\t //onload event에 아래 소스 복사\n";
  82. sParamObj.source += "\t lf_commoduleDataSetShow(); //DataSet 조회\n\n";
  83. txtcode.value = "AAA";
  84. trace(txtcode.value);
  85. //txtcode.value = sParamObj.source;
  86. }
  87. function SMZFS00601_DataSetRtrvSHOWCASE_onload(obj:Form, e:LoadEventInfo)
  88. {
  89. lf_commoduleDataSetShow();
  90. }
  91. ]]></Script>
  92. </Form>
  93. </FDL>