path
stringlengths
25
150
xml
stringlengths
502
72.2k
WRE/WebContent/page/P00283.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[DataList] ์ปฌ๋Ÿผ ๋ฐ์ดํ„ฐ์— ์ •๋ ฌ ์ ์šฉํ•˜๊ธฐ - ์Šคํฌ๋ฆฝํŠธ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230704" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map"> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column id="price" name="์ •๊ฐ€" dataType="number"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList baseNode="list" id="dlt_books_2" repeatNode="map"> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column id="price" name="์ •๊ฐ€" dataType="number"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList baseNode="list" id="dlt_dataType" repeatNode="map"> <w2:columnInfo> <w2:column dataType="text" id="dataType_text" name="text ํ˜•"></w2:column> <w2:column dataType="number" id="dataType_number" name="number ํ˜•"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { // DataList์— ์ดˆ๊ธฐ ๋ฐ์ดํ„ฐ ํ• ๋‹น scwin.initData(); }; /** * DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ */ scwin.initData = function () { let data = [ { "label": "์ด๋ฒคํŠธ ๋„์„œ", "categoryLabel": "์ธ๋ฌธ", "price": "777" }, { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "categoryLabel": "์ธ๋ฌธ", "price": "18000" }, { "label": "์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค", "categoryLabel": "์ž๊ธฐ๊ณ„๋ฐœ", "price": "17800" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "17600" }, { "label": "๋งŒ์ผ ๋‚ด๊ฐ€ ์ธ์ƒ์„ ๋‹ค์‹œ ์‚ฐ๋‹ค๋ฉด", "categoryLabel": "์ธ๋ฌธ", "price": "17200" }, { "label": "์ธ์ƒ ์ˆ˜์—…", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "18000" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "categoryLabel": "์ธ๋ฌธ", "price": "16000" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "17800" }, { "label": "๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)", "categoryLabel": "์—ญ์‚ฌ/๋ฌธํ™”", "price": "28900" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "categoryLabel": "์†Œ์„ค", "price": "14000" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "15800" }, { "label": "์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "15000" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "categoryLabel": "์†Œ์„ค", "price": "14500" } ]; // DataList 'dlt_books_1'๊ณผ 'dlt_books_2'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ dlt_books_1.setJSON(data); dlt_books_2.setJSON(data); let data2 = [ { "dataType_text": "777", "dataType_number": "777" }, { "dataType_text": "9", "dataType_number": "9" }, { "dataType_text": "18000", "dataType_number": "18000" } ]; dlt_dataType.setJSON(data2); }; /** * ๋ฒ„ํŠผ [DataList์˜ ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”] ํด๋ฆญ ์‹œ */ scwin.btn_initData_onclick = function (e) { scwin.initData(); }; /** * ๋ฒ„ํŠผ [1.0 DataList์˜ ์ •๋ ฌ ํ•ด์ œ] ํด๋ฆญ ์‹œ */ scwin.btn_sortInit_1_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearSort(); }; /** * ๋ฒ„ํŠผ [1.1 ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearSort(); // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.sort("categoryLabel", 0); // ์ •๋ ฌ ์˜ต์…˜ [0,1,2] 0:์˜ค๋ฆ„์ฐจ์ˆœ, 1:๋‚ด๋ฆผ์ฐจ์ˆœ, 2:์ •๋ ฌ ์ทจ์†Œ }; /** * ๋ฒ„ํŠผ [1.2 ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์„ ๋‚ด๋ฆผ์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearSort(); // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์„ ๋‚ด๋ฆผ์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.sort("label", 1); // ์ •๋ ฌ ์˜ต์…˜ [0,1,2] 0:์˜ค๋ฆ„์ฐจ์ˆœ, 1:๋‚ด๋ฆผ์ฐจ์ˆœ, 2:์ •๋ ฌ ์ทจ์†Œ }; /** * ๋ฒ„ํŠผ [2.0 DataList์˜ ์ •๋ ฌ ํ•ด์ œ] ํด๋ฆญ ์‹œ */ scwin.btn_sortInit_2_onclick = function (e) { // DataList 'dlt_books_2'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_2.clearSort(); }; /** * ๋ฒ„ํŠผ [2.1 ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ, ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์„ ๋‚ด๋ฆผ์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam2_1_onclick = function (e) { // DataList 'dlt_books_2'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_2.clearSort(); // DataList 'dlt_books_2'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ, ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์„ ๋‚ด๋ฆผ์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•ฉ๋‹ˆ๋‹ค. let options = {}; options.sortIndex = "categoryLabel label"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” Index. ๊ณต๋ฐฑ์œผ๋กœ ์ปฌ๋Ÿผ์„ ๊ตฌ๋ถ„ํ•ฉ๋‹ˆ๋‹ค. options.sortOrder = "1 -1"; // ์ •๋ ฌ ๊ธฐ์ค€์œผ๋กœ ๊ณต๋ฐฑ์œผ๋กœ ๊ตฌ๋ถ„ํ•ฉ๋‹ˆ๋‹ค. 1:์˜ค๋ฆ„์ฐจ์ˆœ, -1:๋‚ด๋ฆผ์ฐจ์ˆœ dlt_books_2.multisort(options); }; /** * ๋ฒ„ํŠผ [3.0 DataList์˜ ์ •๋ ฌ ํ•ด์ œ] ํด๋ฆญ ์‹œ */ scwin.btn_sortInit_3_onclick = function (e) { // DataList 'dlt_dataType'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_dataType.clearSort(); }; /** * ๋ฒ„ํŠผ [3.1 ์ปฌ๋Ÿผ 'dataType="text"'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam3_1_onclick = function (e) { // DataList 'dlt_dataType'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_dataType.clearSort(); // DataList 'dlt_dataType'์˜ ์ปฌ๋Ÿผ ID 'dataType_text'์˜ ์†์„ฑ 'dataType'์˜ ์„ค์ • ๊ฐ’์€ 'text'์ž…๋‹ˆ๋‹ค. // DataList 'dlt_dataType'์˜ ์ปฌ๋Ÿผ 'dataType="text"'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•ฉ๋‹ˆ๋‹ค. dlt_dataType.sort("dataType_text", 0); // ์ •๋ ฌ ์˜ต์…˜ [0,1,2] 0:์˜ค๋ฆ„์ฐจ์ˆœ, 1:๋‚ด๋ฆผ์ฐจ์ˆœ, 2:์ •๋ ฌ ์ทจ์†Œ }; /** * ๋ฒ„ํŠผ [3.2 ์ปฌ๋Ÿผ 'dataType="number"'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam3_2_onclick = function (e) { // DataList 'dlt_dataType'์˜ ์ •๋ ฌ์„ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_dataType.clearSort(); // DataList 'dlt_dataType'์˜ ์ปฌ๋Ÿผ ID 'dataType_number'์˜ ์†์„ฑ 'dataType'์˜ ์„ค์ • ๊ฐ’์€ 'number'์ž…๋‹ˆ๋‹ค. // DataList 'dlt_dataType'์˜ ์ปฌ๋Ÿผ 'dataType="number"'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•ฉ๋‹ˆ๋‹ค. dlt_dataType.sort("dataType_number", 0); // ์ •๋ ฌ ์˜ต์…˜ [0,1,2] 0:์˜ค๋ฆ„์ฐจ์ˆœ, 1:๋‚ด๋ฆผ์ฐจ์ˆœ, 2:์ •๋ ฌ ์ทจ์†Œ }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="์Šคํฌ๋ฆฝํŠธ๋กœ DataList์˜ ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์ •๋ ฌํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:textbox escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” DataList์˜ ํ•จ์ˆ˜๊ฐ€ ์„ธ ๊ฐ€์ง€ ์‚ฌ์šฉ๋˜์—ˆ์œผ๋ฉฐ, ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- ๋‹จ๊ฑด ์ปฌ๋Ÿผ ์ •๋ ฌ : sort&lt;br/&gt;- ๋‹ค๊ฑด ์ปฌ๋Ÿผ ์ •๋ ฌ : multisort&lt;br/&gt;- ์ •๋ ฌ ์ทจ์†Œ : clearSort" style=""> </w2:textbox> <w2:textbox escape="false" id="" label="์ˆซ์žํ˜• ์ •๋ ฌ์„ ์ ์šฉํ•˜๋ ค๋ฉด, DataList์˜ ์ปฌ๋Ÿผ ์†์„ฑ 'dataType'์˜ ์„ค์ • ๊ฐ’์„ 'number' ๋˜๋Š” 'bigDecimal'๋กœ ์ง€์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:textbox class="ws_example_txt_desc_info" id="" label="๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ GridView์˜ ์ถœ๋ ฅ ๊ฒฐ๊ณผ๋ฅผ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค." style="" escape="false"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋‹จ๊ฑด ์ปฌ๋Ÿผ ์ •๋ ฌํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" disabled="" escape="false" id="btn_sortInit_1" style="" type="button" ev:onclick="scwin.btn_sortInit_1_onclick"> <xf:label><![CDATA[1.0 DataList์˜ ์ •๋ ฌ ํ•ด์ œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[1.1 ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[1.2 ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์„ ๋‚ด๋ฆผ์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <w2:textbox class="ws5_exam_txt_caption" escape="false" id="" label="๋ฐ์ดํ„ฐ ํ™•์ธ์šฉ GridView" style=""></w2:textbox> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="grd_exam_1" initFixedHeightByRowNum="4" readOnly="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="4"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column4" inputType="text" value="์ •๊ฐ€" width="50"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="price" inputType="text" value="" width="50" textAlign="right"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋‹ค๊ฑด ์ปฌ๋Ÿผ ์ •๋ ฌํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" disabled="" escape="false" id="btn_sortInit_2" style="" type="button" ev:onclick="scwin.btn_sortInit_2_onclick"> <xf:label><![CDATA[2.0 DataList์˜ ์ •๋ ฌ ํ•ด์ œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam2_1_onclick" id="btn_exam2_1" style="" type="button"> <xf:label><![CDATA[2.1 ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ, ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์„ ๋‚ด๋ฆผ์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <w2:textbox class="ws5_exam_txt_caption" escape="false" id="" label="๋ฐ์ดํ„ฐ ํ™•์ธ์šฉ GridView" style=""></w2:textbox> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_2" defaultCellHeight="24" id="" initFixedHeightByRowNum="4" readOnly="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="4"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column4" inputType="text" value="์ •๊ฐ€" width="50"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="price" inputType="text" value="" width="50" textAlign="right"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ˆซ์žํ˜• ์ปฌ๋Ÿผ ์ •๋ ฌํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" disabled="" escape="false" ev:onclick="scwin.btn_sortInit_3_onclick" id="btn_sortInit_3" style="" type="button"> <xf:label><![CDATA[3.0 DataList์˜ ์ •๋ ฌ ํ•ด์ œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam3_1_onclick" id="btn_exam3_1" style="" type="button"> <xf:label><![CDATA[3.1 'dataType="text"'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam3_2_onclick" id="btn_exam3_2" style="" type="button"> <xf:label><![CDATA[3.2 'dataType="number"'๋ฅผ ์˜ค๋ฆ„์ฐจ์ˆœ์œผ๋กœ ์ •๋ ฌํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <w2:textbox class="ws5_exam_txt_caption" escape="false" id="" label="๋ฐ์ดํ„ฐ ํ™•์ธ์šฉ GridView" style=""></w2:textbox> <w2:gridView class="gvw" dataList="data:dlt_dataType" defaultCellHeight="24" id="" readOnly="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="all" initFixedHeightByRowNum="3"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value='dataType="text"' width="120"></w2:column> <w2:column displayMode="label" id="column4" inputType="text" value='dataType="number"' width="140"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="dataType_text" inputType="text" textAlign="right" width="120"></w2:column> <w2:column displayMode="label" id="dataType_number" inputType="text" textAlign="right" width="140"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00056.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[WESE-187]wFrame ํŒ์—…์„ ์ง€์ •ํ•œ WFrame ์˜์—ญ์— ํ‘œ์‹œํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220729" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group id="" style="padding: 3px; border: 3px solid MidnightBlue;" class=""> <w2:textbox id="" label="์ด๊ณณ์€ ์ปจํ…์ธ  ์˜์—ญ์ž…๋‹ˆ๋‹ค. - P00056.xml" style="line-height: 2.6em;"></w2:textbox> <w2:wframe style="" id="wfm_depth1" src="/page/P00056S01.xml" frameModal="true"></w2:wframe> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00042.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="GridView์™€ DataList์˜ CRUD์— ๊ด€๋ จ๋œ ์ฃผ์š” API ์‹œ์—ฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection> <w2:dataList id="dc_gridViewData" baseNode="list" style="" repeatNode="map" valueAttribute=""> <w2:columnInfo> <w2:column id="chk" name="dept" dataType="text" ignoreStatus="true" defaultValue="0"></w2:column> <w2:column id="dept" name="dept" dataType="text"></w2:column> <w2:column id="name" name="name" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <dept><![CDATA[์ธ์‚ฌ]]></dept> <name><![CDATA[์†์˜ˆ์ง„]]></name> </w2:row> <w2:row> <dept><![CDATA[ํ™๋ณด]]></dept> <name><![CDATA[์†ก๊ฐ•ํ˜ธ]]></name> </w2:row> <w2:row> <dept><![CDATA[IT]]></dept> <name><![CDATA[์ „์ง€ํ˜„]]></name> </w2:row> <w2:row> <dept><![CDATA[์ธ์‚ฌ]]></dept> <name><![CDATA[๋ฅ˜์Šน๋ฃก]]></name> </w2:row> <w2:row> <dept><![CDATA[ํ™๋ณด]]></dept> <name><![CDATA[์ด๊ด‘์ˆ˜]]></name> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> <xf:submission id="sub_save01" ref='data:json,[{"id":"dc_gridViewData","action":"inserted","key":"insertParam"},{"id":"dc_gridViewData","action":"deleted","key":"deleteParam"},{"id":"dc_gridViewData","action":"updated","key":"updateParam"}]' target="" action="/save01.do" method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="" ev:submit="" ev:submitdone="" ev:submiterror="scwin.sub_save01_submiterror"> </xf:submission> <xf:submission id="sub_save02" ref='data:json,{"id":"dc_gridViewData","action":"modified"}' target="" action="/save01.do" method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="" ev:submit="" ev:submitdone="" ev:submiterror="scwin.sub_save02_submiterror"> </xf:submission> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.gVar = { "orgGridData": [] }; scwin.onpageload = function () { scwin.gVar.orgGridData = dc_gridViewData.getAllJSON(); }; /** * [์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ ์…‹ํŒ… - setCRUDData] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ * C, R, U, D์— ํ•ด๋‹นํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค. */ scwin.btn_setCRUDData_onclick = function (e) { //data ์ดˆ๊ธฐํ™” dc_gridViewData.undoAll(); alert("0๋ฒˆ์งธ ํ–‰์— ํ–‰ ์ถ”๊ฐ€(insertRow)\n1๋ฒˆ์งธ ํ–‰์˜ name์„ ์ˆ˜์ •(setCellData)\n2๋ฒˆ์งธ ํ–‰์„ ์‚ญ์ œ ์ƒํƒœ๋กœ ๋ณ€๊ฒฝ(deleteRow)\n3๋ฒˆ์งธ ํ–‰์„ ์‚ญ์ œ(removeRow)"); dc_gridViewData.insertRow(0); //dc_gridViewData.insertJSON( 0 , [{"name":"NEW"}] ); dc_gridViewData.setCellData(1, "name", "WebSquare"); //2๋ฒˆ์งธํ–‰(Num:3)์„ ์‚ญ์ œ ์ƒํƒœ๋กœ ๋ณ€๊ฒฝ dc_gridViewData.deleteRow(2); //3๋ฒˆ์งธํ–‰(Num:4)์„ ์‚ญ์ œ dc_gridViewData.removeRow(3); }; /** * [๋ฐ์ดํ„ฐ ๋ณต์›] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_reset_onclick = function (e) { //data๋ฅผ ๋ณต์›ํ•ฉ๋‹ˆ๋‹ค. dc_gridViewData.reset(); }; /** * [์ƒˆ๋กœ๊ณ ์นจ] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ * ํ™”๋ฉด์„ ์ƒˆ๋กœ ๊ณ ์นจํ•ฉ๋‹ˆ๋‹ค. */ scwin.btn_reinitializePage_onclick = function (e) { $p.reinitialize(); }; /** * [ํ–‰์ถ”๊ฐ€ - insertRow] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_insertRow_onclick = function (e) { //์ฒซ ๋ฒˆ์งธ์— ํ–‰์— ๋นˆ ํ–‰์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. dc_gridViewData.insertRow(0); }; /** * [์„ ํƒ ์‚ญ์ œ - removeRows] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ * ์ฒดํฌ๋œ ํ–‰์„ reomve ํ•ฉ๋‹ˆ๋‹ค. */ scwin.btn_removeRows_onclick = function (e) { var chArr; //chk ์ปฌ๋Ÿผ์— ์ฒดํฌ๋œ ํ–‰์„ ์ถ”์ถœํ•ฉ๋‹ˆ๋‹ค. chArr = grd_example.getCheckedIndex("chk"); if (chArr.length < 1) { //์ฒดํฌ๋œ ํ–‰์ด ์—†์œผ๋ฉด alert ํ•ฉ๋‹ˆ๋‹ค. alert("์„ ํƒ ๋œ ํ•ญ๋ชฉ์ด ์—†์Šต๋‹ˆ๋‹ค."); } else { //์ฒดํฌ๊ดธ ํ–‰์ด ์žˆ์œผ๋ฉด remove ํ•ฉ๋‹ˆ๋‹ค. dc_gridViewData.removeRows(chArr); } }; /** * [์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ ์ „์†ก] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_sub_save01_onclick = function (e) { //sub_save01 id๋ฅผ ๊ฐ€์ง„ submission์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. //๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์˜ ๋„คํŠธ์›Œํฌ๋ฅผ ํ†ตํ•ด requestData๋ฅผ ํ™•์ธํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค. $p.executeSubmission("sub_save01"); }; /** * [modified ๋ฐ์ดํ„ฐ ์ „์†ก] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_sub_save02_onclick = function (e) { //sub_save02 id๋ฅผ ๊ฐ€์ง„ submission์„ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค. //๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์˜ ๋„คํŠธ์›Œํฌ๋ฅผ ํ†ตํ•ด requestData๋ฅผ ํ™•์ธํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค. $p.executeSubmission("sub_save02"); }; /** * GridView์˜ oncellclick ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ */ scwin.grd_example_oncellclick = function (row, col, colID) { switch (colID) { case "deleteBtn": //deleteRow ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ dc_gridViewData.deleteRow(row); break; case "removeBtn": //removeRow ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ dc_gridViewData.removeRow(row); break; default: break; } }; /** * [action - inserted] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_actionInserted_onclick = function (e) { var tmpGetOpt; var tmpJSON; tmpGetOpt = { id: "dc_gridViewData" , action: "inserted" }; //dc_gridViewData ์—์„œ inserted ๋œ ๋ฐ์ดํ„ฐ๋งŒ ์ถ”์ถœ tmpJSON = $p.data.get("JSON", [tmpGetOpt]); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [action - updated] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_actionUpdated_onclick = function (e) { var tmpGetOpt; var tmpJSON; tmpGetOpt = { id: "dc_gridViewData" , action: "updated" }; //dc_gridViewData ์—์„œ updated ๋œ ๋ฐ์ดํ„ฐ๋งŒ ์ถ”์ถœ tmpJSON = $p.data.get("JSON", [tmpGetOpt]); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [action - deleted] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_actionDeleted_onclick = function (e) { var tmpGetOpt; var tmpJSON; tmpGetOpt = { id: "dc_gridViewData" , action: "deleted" }; //dc_gridViewData ์—์„œ deleted ๋œ ๋ฐ์ดํ„ฐ๋งŒ ์ถ”์ถœ tmpJSON = $p.data.get("JSON", [tmpGetOpt]); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [action - modified] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_actionModified_onclick = function (e) { var tmpGetOpt; var tmpJSON; tmpGetOpt = { id: "dc_gridViewData" , action: "modified" }; //dc_gridViewData ์—์„œ modified ๋œ ๋ฐ์ดํ„ฐ๋งŒ ์ถ”์ถœ tmpJSON = $p.data.get("JSON", [tmpGetOpt]); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [action - all ๋˜๋Š” action ๋ฏธ์ •์˜] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_actionAll_onclick = function (e) { var tmpGetOpt; var tmpJSON; tmpGetOpt = { id: "dc_gridViewData" //, action : "all" }; //dc_gridViewData ์—์„œ ์ „์ฒด ๋ฐ์ดํ„ฐ ์ถ”์ถœ tmpJSON = $p.data.get("JSON", [tmpGetOpt]); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [getInsertedJSON] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_getInsertedJSON_onclick = function (e) { var tmpJSON; //dc_gridViewData์—์„œ tkqdlq(C) ์ƒํƒœ์ธ ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ถœํ•œ๋‹ค. tmpJSON = dc_gridViewData.getInsertedJSON(); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [getUpdatedJSON] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_getUpdatedJSON_onclick = function (e) { var tmpJSON; //dc_gridViewData์—์„œ ์ˆ˜์ •(U) ์ƒํƒœ์ธ ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ถœํ•œ๋‹ค. tmpJSON = dc_gridViewData.getUpdatedJSON(); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [getDeletedJSON] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_getDeletedJSON_onclick = function (e) { var tmpJSON; //dc_gridViewData์—์„œ ์‚ญ์ œ(D,E) ์ƒํƒœ์ธ ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ถœํ•œ๋‹ค. tmpJSON = dc_gridViewData.getDeletedJSON(); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [getModifiedJSON] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_getModifiedJSON_onclick = function (e) { var tmpJSON; //dc_gridViewData์—์„œ ์‚ญ์ œ(C,U,D,E) ์ƒํƒœ์ธ ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ถœํ•œ๋‹ค. tmpJSON = dc_gridViewData.getModifiedJSON(); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * [getAllJSON] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_getAllJSON_onclick = function (e) { var tmpJSON; //dc_gridViewData์—์„œ ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”์ถœํ•œ๋‹ค. tmpJSON = dc_gridViewData.getAllJSON(); alert(JSON.stringify(tmpJSON, null, "\t")); }; /** * submission sub_save01์˜ error ํ•ธ๋“ค๋Ÿฌ */ scwin.sub_save01_submiterror = function (e) { //๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์˜ ๋„คํŠธ์›Œํฌ๋ฅผ ํ†ตํ•ด requestData๋ฅผ ํ™•์ธํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค. alert(e.requestBody); }; /** * submission sub_save02์˜ error ํ•ธ๋“ค๋Ÿฌ */ scwin.sub_save02_submiterror = function (e) { //๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž ๋„๊ตฌ์˜ ๋„คํŠธ์›Œํฌ๋ฅผ ํ†ตํ•ด requestData๋ฅผ ํ™•์ธํ•˜๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค. alert(e.requestBody); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="DataList์˜ ์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ(์ถ”๊ฐ€/์ˆ˜์ •/์‚ญ์ œ)๋ฅผ ์ œ์–ดํ•˜๋Š” ๊ธฐ๋ณธ method๋ฅผ ์†Œ๊ฐœํ•˜๊ณ  ์‹œ์—ฐํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋ฒ„ํŠผ์— ๋งˆ์šฐ์Šค๋ฅผ ์˜ฌ๋ฆฌ๋ฉด ์‹คํ–‰๋œ ๊ธฐ๋Šฅ์˜ ์„ค๋ช…์ด ํˆดํŒ์œผ๋กœ ํ‘œํ˜„๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์Šคํฌ๋ฆฝํŠธ๋Š” ๋ฒ„ํŠผ์˜ onclick ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ์‹œ์—ฐ์šฉ ์˜ˆ์ œ๋กœ ์˜ˆ์ œ ๊ฐ€์ด๋“œ ๋ฌธ์„œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group class="ofh" id="" style="max-width: 700px;"> <xf:group id="" style="" class="fr mb_def_box nobottom"> <xf:trigger class="com_example_btn_blue" ev:onclick="scwin.btn_setCRUDData_onclick" id="btn_setCRUDData" style="" tooltip="๋ฐ์ดํ„ฐ๋ฅผ ์ถ”๊ฐ€,์ˆ˜์ •,์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ ์…‹ํŒ… - setCRUDData]]></xf:label> </xf:trigger> <xf:trigger class="com_example_btn_blue" ev:onclick="scwin.btn_reset_onclick" id="btn_reset" style="" tooltip="์ดˆ๊ธฐ ๋ฐ์ดํ„ฐ๋กœ ๋ณต์›ํ•ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[๋ฐ์ดํ„ฐ ๋ณต์›]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_reinitializePage_onclick" id="btn_reinitializePage" style="" tooltip="ํ™”๋ฉด์„ ์ƒˆ๋กœ๊ณ ์นฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[์ƒˆ๋กœ๊ณ ์นจ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="fl mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_insertRow_onclick" id="btn_insertRow" style="margin-right:6px;" tooltip="0๋ฒˆ์งธ ํ–‰์— ๋นˆ ํ–‰์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[ํ–‰์ถ”๊ฐ€ - insertRow]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_removeRows_onclick" id="btn_removeRows" style="" tooltip="GridView์˜ ์ฒดํฌ๋ฐ•์Šค์— ์ฒดํฌ๋œ ํ–‰์„ ์‚ญ์ œํ•ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[์„ ํƒ ์‚ญ์ œ - removeRows]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group id="" class="gvwbox"> <w2:gridView sortEvent="ondblclick" ev:oncellclick="scwin.grd_example_oncellclick" rowNumVisible="true" rowStatusWidth="34" selectedRowColor="#9ADDE4" rowNumHeaderValue="NO" scrollByColumn="false" sortable="true" rowStatusHeaderValue="์ƒํƒœ" focusMode="row" rowStatusVisible="true" rowNumWidth="25" dataList="dc_gridViewData" style="height: 140px;margin-bottom:6px;max-width: 700px;" autoFit="allColumn" id="grd_example" visibleRowNum="all" class="gvw" defaultCellHeight="26" autoFitMinWidth="500"> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="30" inputType="checkbox" style="" id="column16" value="chk" blockSelect="false"></w2:column> <w2:column width="104" inputType="text" style="" id="column7" value="์ด๋ฆ„"></w2:column> <w2:column width="120" inputType="text" style="" id="column3" value="๋ถ€์„œ"></w2:column> <w2:column width="118" inputType="text" style="" id="column11" value="์‚ญ์ œ ์ƒํƒœ๋กœ ๋ณ€๊ฒฝ"></w2:column> <w2:column width="131" inputType="text" style="" id="column12" value="๋ฐ์ดํ„ฐ ์‚ญ์ œ" blockSelect="false"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="31" inputType="checkbox" style="" id="chk" blockSelect="false"></w2:column> <w2:column width="104" inputType="text" style="" id="name"></w2:column> <w2:column width="120" inputType="text" style="" id="dept"></w2:column> <w2:column width="118" inputType="button" style="" id="deleteBtn" class="" value="deleteRow"></w2:column> <w2:column width="131" inputType="button" style="" id="removeBtn" value="removeRow" blockSelect="false"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> <xf:group class="com_example_dl_code" id="" style="" tagname="dl"> <w2:textbox class="" id="" label="Submission์˜ ref(reference) ์†์„ฑ์— ์ •์˜ํ•˜๊ธฐ" style="" tagname="dt"></w2:textbox> <xf:group id="" style="" tagname="dd"> <w2:textbox id="" label="์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ๋Š” ์ผ๋ฐ˜์ ์œผ๋กœ ์„œ๋ฒ„๋กœ ๋ณด๋‚ผ ๋•Œ ๋งŽ์ด ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๊ทธ๋ž˜์„œ Submission์˜ reference์†์„ฑ์— ๊ฐ ์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ๋งŒ ๋ณด๋‚ผ์ˆ˜ ์žˆ๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="dp" id="" label="&amp;lt;xf:submission id=&quot;sub_save01&quot; action=&quot;/save01.do&quot; &lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ref='data:json,[{&quot;id&quot;:&quot;dc_gridViewData&quot;,&quot;action&quot;:&quot;modified&quot;,&quot;key&quot;:&quot;modifiedParam&quot;}]'&amp;gt;&lt;br/&gt;&amp;lt;/xf:submission&amp;gt;" style="" tagname="samp" escape="false"> </w2:textbox> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_sub_save01_onclick" id="btn_sub_save01" style="" tooltip="๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๊ธฐ ์ „ GridView์— ๋ฐ์ดํ„ฐ์˜ ์ƒํƒœ๋ฅผ ๋ณ€๊ฒฝํ•˜๊ฑฐ๋‚˜ [์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ ์…‹ํŒ… - setCRUDData]๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์ƒํƒœ๋ฅผ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;GridView์— ์—ฐ๊ฒฐ๋œ dc_gridViewData๊ฐ์ฒด์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์ƒํƒœ๋ณ„๋กœ ์„œ๋ฒ„๋กœ ์ „์†กํ•˜๋Š” ์˜ˆ์‹œ๋กœ sub_save01 submission์˜ Reference ์„ค์ •์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ์„œ๋ฒ„๋กœ ์ „์†ก๋œ requestBody๊ฐ€ alert์œผ๋กœ ํ‘œํ˜„๋ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ ์ „์†ก]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_sub_save02_onclick" id="btn_sub_save02" style="" tooltip="๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๊ธฐ ์ „ GridView์— ๋ฐ์ดํ„ฐ์˜ ์ƒํƒœ๋ฅผ ๋ณ€๊ฒฝํ•˜๊ฑฐ๋‚˜ [์ƒํƒœ๋ณ„ ๋ฐ์ดํ„ฐ ์…‹ํŒ… - setCRUDData]๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ์ƒํƒœ๋ฅผ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;GridView์— ์—ฐ๊ฒฐ๋œ dc_gridViewData๊ฐ์ฒด์˜ ๋ฐ์ดํ„ฐ์ค‘ ๋ณ€๊ฒฝ๋œ ๋ชจ๋“  ๋ฐ์ดํ„ฐ๋ฅผ ํ•œ๋ฒˆ์— ์„œ๋ฒ„๋กœ ์ „์†กํ•˜๋Š” ์˜ˆ์‹œ๋กœ sub_save02 submission์˜ Reference ์„ค์ •์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด ์„œ๋ฒ„๋กœ ์ „์†ก๋œ requestBody๊ฐ€ alert์œผ๋กœ ํ‘œํ˜„๋ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[modified ๋ฐ์ดํ„ฐ ์ „์†ก]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="" id="" label="DataList ๊ฐ์ฒด์˜ Method๋ฅผ ์ด์šฉํ•˜์—ฌ data ๊ฐ€์ ธ์˜ค๊ธฐ" style="" tagname="dt"></w2:textbox> <xf:group id="" style="" tagname="dd"> <w2:textbox id="" label="DataList์˜ Method๋“ค ์ค‘ get[์ƒํƒœ][๋ฐ์ดํ„ฐํƒ€์ž…](getAllJSON)์˜ ํ˜•์‹์„ ๊ฐ€์ง„ Method๊ฐ€ ํ•ด๋‹น๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋Œ€ํ‘œ์ ์œผ๋กœ JSON์„ ๊บผ๋‚ด์˜ค๋Š” ์ฃผ์š” method๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.&lt;br/&gt;getInsertedJSON, getUpdatedJSON, getDeletedJSON, getModifiedJSON, getAllJSON" style="" escape="false"> </w2:textbox> <w2:textbox class="dp" id="" label="var modiArr = dataList1.getModifiedJSON( ); //์ถ”๊ฐ€, ์‚ญ์ œ, ์—…๋ฐ์ดํŠธ ์ƒํƒœ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค." style="" tagname="samp" escape="false"> </w2:textbox> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_getInsertedJSON_onclick" id="btn_getInsertedJSON" style="" tooltip="dc_gridViewData์—์„œ ์ถ”๊ฐ€๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[getInsertedJSON]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_getUpdatedJSON_onclick" id="btn_getUpdatedJSON" style="" tooltip="dc_gridViewData์—์„œ ์ˆ˜์ •๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[getUpdatedJSON]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_getDeletedJSON_onclick" id="btn_getDeletedJSON" style="" tooltip="dc_gridViewData์—์„œ ์‚ญ์ œ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[getDeletedJSON]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_getModifiedJSON_onclick" id="btn_getModifiedJSON" style="" tooltip="dc_gridViewData์—์„œ ์ถ”๊ฐ€/์ˆ˜์ •/์‚ญ์ œ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[getModifiedJSON]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_getAllJSON_onclick" id="btn_getAllJSON" style="" tooltip="dc_gridViewData์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค. ๋‹จ, removeRow๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ์‚ญ์ œ๋œ ๊ฒฝ์šฐ๋Š” ์ œ์™ธ๋ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[getAllJSON]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="" id="" label="DataCollection ๊ฐ์ฒด์˜ Method๋ฅผ ์ด์šฉํ•˜์—ฌ data ๊ฐ€์ ธ์˜ค๊ธฐ" style="" tagname="dt"></w2:textbox> <xf:group class="" id="" style="" tagname="dd"> <w2:textbox id="" label="์—ฌ๋Ÿฌ๊ฐœ์˜ DataList์˜ ๊ฐ’์„ ๊บผ๋‚ด์˜ฌ ๋•Œ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:textbox class="" id="" label='var tmpGetOpt = {&lt;br/&gt; &amp;nbsp;id : "dc_gridViewData"&lt;br/&gt; &amp;nbsp;, action : "updated"&lt;br/&gt;};&lt;br/&gt;var dataArr = $p.data.get("JSON",[tmpGetOpt]);' style="" tagname="samp" escape="false"> </w2:textbox> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_actionInserted_onclick" id="btn_actionInserted" style="" tooltip="์ „์ฒด ๋ฐ์ดํ„ฐ ๊ฐ์ฒด(DataCollection)์—์„œ dc_gridViewData ๊ฐ์ฒด์— ์ถ”๊ฐ€๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[action - inserted]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_actionUpdated_onclick" id="btn_actionUpdated" style="" tooltip="์ „์ฒด ๋ฐ์ดํ„ฐ ๊ฐ์ฒด(DataCollection)์—์„œ dc_gridViewData ๊ฐ์ฒด์— ์ˆ˜์ •๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[action - updated]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_actionDeleted_onclick" id="btn_actionDeleted" style="" tooltip="์ „์ฒด ๋ฐ์ดํ„ฐ ๊ฐ์ฒด(DataCollection)์—์„œ dc_gridViewData ๊ฐ์ฒด์— ์‚ญ์ œ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[action - deleted]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_actionModified_onclick" id="btn_actionModified" style="" tooltip="์ „์ฒด ๋ฐ์ดํ„ฐ ๊ฐ์ฒด(DataCollection)์—์„œ dc_gridViewData ๊ฐ์ฒด์— ์ถ”๊ฐ€/์ˆ˜์ •/์‚ญ์ œ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[action - modified]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_actionAll_onclick" id="btn_actionAll" style="" tooltip="์ „์ฒด ๋ฐ์ดํ„ฐ ๊ฐ์ฒด(DataCollection)์—์„œ dc_gridViewData ๊ฐ์ฒด์— ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค. ๋‹จ, removeRow๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ์‚ญ์ œ๋œ ๊ฒฝ์šฐ๋Š” ์ œ์™ธ๋ฉ๋‹ˆ๋‹ค." type="button"> <xf:label><![CDATA[action - all ๋˜๋Š” action ๋ฏธ์ •์˜]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00095.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์„ ํƒํ˜• inputType์˜ ๋ชฉ๋ก ์ค‘ ํŠน์ • ํ•ญ๋ชฉ ์ˆจ๊ธฐ๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220907" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_exam" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="select" name="select"></w2:column> <w2:column dataType="text" id="checkcombobox" name="checkcombobox"></w2:column> <w2:column id="autoComplete" name="autoComplete" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="false"> </w2:data> </w2:dataList> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> <w2:column id="useYN" name="useYN" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //GridView์˜ ์„ ํƒํ˜• inputType์˜ ๋ชฉ๋ก๊ณผ ์—ฐ๊ฒฐ๋œ DataList "dlt_exam_code"์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01", "useYN": "Y" }, { "label": "Pear", "code": "02", "useYN": "N" }, { "label": "Grapes", "code": "03", "useYN": "Y" }, { "label": "Melon", "code": "04", "useYN": "N" }, { "label": "Peach", "code": "05", "useYN": "Y" } ]); //GridView์™€ ์—ฐ๊ฒฐ๋œ DataList์— ๋นˆ ํ–‰ ์ถ”๊ฐ€ dlt_exam.insertRow(); dlt_exam.insertRow(); //GridView์˜ ์ปฌ๋Ÿผ select์— ๋ฏธ๋…ธ์ถœ ํ•ญ๋ชฉ ์ง€์ •ํ•˜๊ธฐ //๋ชฉ๋ก๊ณผ ์—ฐ๊ฒฐ๋œ DataList์˜ "useYN" ์ปฌ๋Ÿผ์˜ ๊ฐ’์ด "N"์ด๋ฉด ๋ฏธ๋…ธ์ถœ ์ง€์ • grd_exam2.setColumnVisibleColumn("select", "useYN", "N"); //GridView์˜ ์ปฌ๋Ÿผ checkcombobox์— ๋ฏธ๋…ธ์ถœ ํ•ญ๋ชฉ ์ง€์ •ํ•˜๊ธฐ //๋ชฉ๋ก๊ณผ ์—ฐ๊ฒฐ๋œ DataList์˜ "useYN" ์ปฌ๋Ÿผ์˜ ๊ฐ’์ด "N"์ด๋ฉด ๋ฏธ๋…ธ์ถœ ์ง€์ • grd_exam2.setColumnVisibleColumn("checkcombobox", "useYN", "N"); //GridView์˜ ์ปฌ๋Ÿผ autoComplete์— ๋ฏธ๋…ธ์ถœ ํ•ญ๋ชฉ ์ง€์ •ํ•˜๊ธฐ //๋ชฉ๋ก๊ณผ ์—ฐ๊ฒฐ๋œ DataList์˜ "useYN" ์ปฌ๋Ÿผ์˜ ๊ฐ’์ด "N"์ด๋ฉด ๋ฏธ๋…ธ์ถœ ์ง€์ • grd_exam2.setColumnVisibleColumn("autoComplete", "useYN", "N"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ inputType์ด ๋ชฉ๋ก ์„ ํƒํ˜•(DropDown) ํƒ€์ž…์ธ ๊ฒฝ์šฐ,&lt;br/&gt;๋ชฉ๋ก์˜ ํŠน์ • ํ•ญ๋ชฉ์„ ์ˆจ๊ธฐ๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ ์šฉ ๊ฐ€๋Šฅํ•œ inputType์€ select, checkcombobox, autoComplete์ž…๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ ์„ค์ •] ๋ชจ๋“  ํ•ญ๋ชฉ ๋…ธ์ถœ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_exam" defaultCellHeight="24" id="" style="height:80px;" visibleRowNum="2" visibleRowNumFix="true"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="80" inputType="text" id="column3" value="select" displayMode="label"></w2:column> <w2:column width="96" inputType="text" id="column2" value="checkcombobox" displayMode="label"> </w2:column> <w2:column width="96" inputType="text" id="column1" value="autoComplete" displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="80" inputType="select" id="select" displayMode="label" chooseOption="true" viewType="icon" chooseOptionLabel="- ์„ ํƒ -"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="96" inputType="checkcombobox" id="checkcombobox" displayMode="label" chooseOption="true" viewType="icon" chooseOptionLabel="- ์„ ํƒ -"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="96" inputType="autoComplete" id="autoComplete" displayMode="label" chooseOption="true" viewType="icon" chooseOptionLabel="- ์„ ํƒ -"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ฏธ๋…ธ์ถœ ํ•ญ๋ชฉ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_exam" defaultCellHeight="24" id="grd_exam2" style="height:80px;" visibleRowNum="2" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="select" width="80"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="checkcombobox" width="96"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="autoComplete" width="96"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column chooseOption="true" chooseOptionLabel="- ์„ ํƒ -" displayMode="label" id="select" inputType="select" viewType="icon" width="80"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOption="true" chooseOptionLabel="- ์„ ํƒ -" displayMode="label" id="checkcombobox" inputType="checkcombobox" viewType="icon" width="96"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOption="true" chooseOptionLabel="- ์„ ํƒ -" displayMode="label" id="autoComplete" inputType="autoComplete" viewType="icon" width="96"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00081.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckCombobox] ํ•ญ๋ชฉ ์„ ํƒํ•˜๊ธฐ - ๋งˆ์šฐ์Šค ๋“œ๋ž˜๊น…"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01" }, { "label": "Pear", "code": "02" }, { "label": "Grapes", "code": "03" }, { "label": "Watermelon", "code": "04" }, { "label": "Peach", "code": "05" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="์ปดํฌ๋„ŒํŠธ์˜ ํ•ญ๋ชฉ์„ ๋งˆ์šฐ์Šค๋ฅผ ์ด์šฉํ•˜์—ฌ ๋“œ๋ž˜๊น…ํ•˜์—ฌ ์„ ํƒํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋ชฉ๋ก์—์„œ ๋งˆ์šฐ์Šค๋ฅผ ๋“œ๋ž˜๊น…ํ•˜์—ฌ ํ•ญ๋ชฉ์˜ ์„ ํƒ ์—ฌ๋ถ€๋ฅผ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ๋งˆ์šฐ์Šค ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•œ ํ™˜๊ฒฝ์—์„œ ์ •์ƒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckCombobox - ๊ธฐ๋ณธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox id="" displayAllOptionLabel="false" chooseOption="" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox&lt;br/&gt;ํ•ญ๋ชฉ ์„ ํƒ ์‹œ ๋งˆ์šฐ์Šค ๋“œ๋ž˜๊น… ํ—ˆ์šฉ' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox useDrag="true" appearance="minimal" direction="auto" disabled="false" displayAllOptionLabel="false" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00097.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์…€์˜ ๋ฒ”์œ„(range) ์„ ํƒํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220916" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <book_name><![CDATA[์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ]]></book_name> <price><![CDATA[28000]]></price> <published_date><![CDATA[20190826]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></book_name> <price><![CDATA[16000]]></price> <published_date><![CDATA[20220418]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></book_name> <price><![CDATA[18000]]></price> <published_date><![CDATA[20201201]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์ •๊ธ€๋งŒ๋ฆฌ]]></book_name> <price><![CDATA[16500]]></price> <published_date><![CDATA[20130701]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></book_name> <price><![CDATA[14000]]></price> <published_date><![CDATA[20210420]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์ธ๊ฐ„ ์‹ค๊ฒฉ]]></book_name> <price><![CDATA[9000]]></price> <published_date><![CDATA[20040515]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์–ด๋ฆฐ์™•์ž]]></book_name> <price><![CDATA[2000]]></price> <published_date><![CDATA[19810801]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[JavaScript Patterns]]></book_name> <price><![CDATA[22000]]></price> <published_date><![CDATA[20111103]]></published_date> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [1๋ฒˆ์งธ ํ–‰ 1๋ฒˆ์งธ ์ปฌ๋Ÿผ ~ 2๋ฒˆ์งธ ํ–‰ 2๋ฒˆ์งธ ์ปฌ๋Ÿผ] ํด๋ฆญ์‹œ */ scwin.btn_ex1_onclick = function (e) { //1๋ฒˆ์งธ ํ–‰ 1๋ฒˆ์งธ ์ปฌ๋Ÿผ ~ 2๋ฒˆ์งธ ํ–‰ 2๋ฒˆ์งธ ์ปฌ๋Ÿผ ์„ ํƒํ•˜๊ธฐ grd_exam1.setFocusedMultiCell(0, 0, 1, 1); grd_exam2.setFocusedMultiCell(0, 0, 1, 1); grd_exam3.setFocusedMultiCell(0, 0, 1, 1); grd_exam4.setFocusedMultiCell(0, 0, 1, 1); //ํฌ์ปค์Šค ๋ฒ„ํŠผ์œผ๋กœ ์ด๋™. btn_ex1.focus(); }; /** * ๋ฒ„ํŠผ [ํ–‰:1, ์—ด:1 ~ ํ–‰:2, ์—ด:2 + ignoreFocusMode ์ ์šฉ] ํด๋ฆญ์‹œ */ scwin.btn_ex3_onclick = function (e) { //1๋ฒˆ์งธ ํ–‰ 1๋ฒˆ์งธ ์ปฌ๋Ÿผ ~ 2๋ฒˆ์งธ ํ–‰ 2๋ฒˆ์งธ ์ปฌ๋Ÿผ ์„ ํƒํ•˜๊ธฐ - ์„ค์ •๋œ FocusMode ๋ฌด์‹œ grd_exam1.setFocusedMultiCell(0, 0, 1, 1, { ignoreFocusMode: true }); grd_exam2.setFocusedMultiCell(0, 0, 1, 1, { ignoreFocusMode: true }); grd_exam3.setFocusedMultiCell(0, 0, 1, 1, { ignoreFocusMode: true }); grd_exam4.setFocusedMultiCell(0, 0, 1, 1, { ignoreFocusMode: true }); //ํฌ์ปค์Šค ๋ฒ„ํŠผ์œผ๋กœ ์ด๋™. btn_ex3.focus(); }; /** * ๋ฒ„ํŠผ [2๋ฒˆ์งธ ํ–‰ 2๋ฒˆ์งธ ์ปฌ๋Ÿผ ~ 4๋ฒˆ์งธ ํ–‰ 3๋ฒˆ์งธ ์ปฌ๋Ÿผ] ํด๋ฆญ์‹œ */ scwin.btn_ex2_onclick = function (e) { //2๋ฒˆ์งธ ํ–‰ 2๋ฒˆ์งธ ์ปฌ๋Ÿผ ~ 4๋ฒˆ์งธ ํ–‰ 3๋ฒˆ์งธ ์ปฌ๋Ÿผ grd_exam1.setFocusedMultiCell(1, 1, 3, 2); grd_exam2.setFocusedMultiCell(1, 1, 3, 2); grd_exam3.setFocusedMultiCell(1, 1, 3, 2); grd_exam4.setFocusedMultiCell(1, 1, 3, 2); //ํฌ์ปค์Šค ๋ฒ„ํŠผ์œผ๋กœ ์ด๋™. btn_ex2.focus(); }; /** * ๋ฒ„ํŠผ [ํ–‰:2, ์—ด:2 ~ ํ–‰:4, ์—ด:3 + ignoreFocusMode ์ ์šฉ] ํด๋ฆญ์‹œ */ scwin.btn_ex4_onclick = function (e) { //2๋ฒˆ์งธ ํ–‰ 2๋ฒˆ์งธ ์ปฌ๋Ÿผ ~ 4๋ฒˆ์งธ ํ–‰ 3๋ฒˆ์งธ ์ปฌ๋Ÿผ - ์„ค์ •๋œ FocusMode ๋ฌด์‹œ grd_exam1.setFocusedMultiCell(1, 1, 3, 2, { ignoreFocusMode: true }); grd_exam2.setFocusedMultiCell(1, 1, 3, 2, { ignoreFocusMode: true }); grd_exam3.setFocusedMultiCell(1, 1, 3, 2, { ignoreFocusMode: true }); grd_exam4.setFocusedMultiCell(1, 1, 3, 2, { ignoreFocusMode: true }); //ํฌ์ปค์Šค ๋ฒ„ํŠผ์œผ๋กœ ์ด๋™. btn_ex4.focus(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ ๋ฒ”์œ„ ์„ ํƒ์„ ์Šคํฌ๋ฆฝํŠธ๋กœ ์ง€์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๊ฐ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ๊ฐ ๊ทธ๋ฆฌ๋“œ์˜ ๋ฒ”์œ„ ์„ ํƒ์„ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ฒ”์œ„ ์„ ํƒ ์‹คํ–‰" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[ํ–‰:1, ์—ด:1 ~ ํ–‰:2, ์—ด:2]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex3_onclick" id="btn_ex3" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[ํ–‰:1, ์—ด:1 ~ ํ–‰:2, ์—ด:2 + ignoreFocusMode ์ ์šฉ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[ํ–‰:2, ์—ด:2 ~ ํ–‰:4, ์—ด:3]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex4_onclick" id="btn_ex4" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[ํ–‰:2, ์—ด:2 ~ ํ–‰:4, ์—ด:3 + ignoreFocusMode ์ ์šฉ]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ฒฐ๊ณผ ํ™•์ธ์šฉ GridView - [๊ธฐ๋ณธ์„ค์ •] focusMode : cell" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ) ๋ฒ”์œ„๊ฐ€ ์…€(Cell) ๋‹จ์œ„์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam1" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" rowNumVisible="true" rowNumWidth="26"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ฒฐ๊ณผ ํ™•์ธ์šฉ GridView - focusMode : row" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ) ๋ฒ”์œ„๊ฐ€ ํ–‰(Row) ๋‹จ์œ„์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam2" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" focusMode="row"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ฒฐ๊ณผ ํ™•์ธ์šฉ GridView - focusMode : both" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ) ๋ฒ”์œ„๊ฐ€ ์…€(Cell)+ํ–‰(Row) ๋‹จ์œ„์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam3" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" focusMode="both"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ฒฐ๊ณผ ํ™•์ธ์šฉ GridView - focusMode : none" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ)๊ฐ€ ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" focusMode="none" id="grd_exam4" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00083.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckCombobox] ๋ชฉ๋ก ํ‘œ์‹œ - ์—ด ๊ฐœ์ˆ˜ ์ง€์ •"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01" }, { "label": "Pear", "code": "02" }, { "label": "Grapes", "code": "03" }, { "label": "Melon", "code": "04" }, { "label": "Peach", "code": "05" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="์ปดํฌ๋„ŒํŠธ ๋ชฉ๋ก์˜ ์—ด์˜ ์ˆ˜๋ฅผ ์ง€์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckCombobox - ๊ธฐ๋ณธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox id="" displayAllOptionLabel="false" chooseOption="" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox&lt;br/&gt;๋ชฉ๋ก์˜ ์—ด์„ 2๋กœ ์ง€์ •' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" displayAllOptionLabel="false" displayMode="label" id="" ref="" style="width: 150px;min-height:24px;" submenuSize="auto" visibleColNum="2"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00054.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] scrollEnd ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•œ ๋ฐ์ดํ„ฐ ์ถ”๊ฐ€ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList id="dlt_Member" baseNode="list" saveRemovedData="true" repeatNode="map" ev:ondataload="scwin.dlt_Member_ondataload" ev:oninsertrow="" ev:onremoverow=""> <w2:columnInfo> <w2:column id="EMP_CD" name="์ฝ”๋“œ" dataType="text"></w2:column> <w2:column id="EMP_NM" name="์„ฑ๋ช…" dataType="text"></w2:column> <w2:column id="GENDER_CD" name="์„ฑ๋ณ„" dataType="text" defaultValue=""></w2:column> <w2:column id="JOIN_DATE" name="์ž…์‚ฌ์ผ" dataType="text"></w2:column> <w2:column id="POSITION_CD" name="์ง์œ„" dataType="text"></w2:column> <w2:column id="DUTY_CD" name="์ง์ฑ…" dataType="text"></w2:column> <w2:column id="ROLE_CD" name="์—ญํ• " dataType="text"></w2:column> <w2:column id="ASSIGNED_TASK" name="๋‹ด๋‹น์—…๋ฌด" dataType="text"></w2:column> <w2:column id="EMAIL" name="์ด๋ฉ”์ผ" dataType="text"></w2:column> <w2:column id="ZIP_CD" name="์šฐํŽธ๋ฒˆํ˜ธ" dataType="text"></w2:column> <w2:column id="ADDRESS1" name="์ฃผ์†Œ1" dataType="text"></w2:column> <w2:column id="ADDRESS2" name="์ฃผ์†Œ2" dataType="text"></w2:column> <w2:column id="IMAGE_PATH" name="์ด๋ฏธ์ง€๊ฒฝ๋กœ" dataType="text" defaultValue="/ws5/img/blank.png"></w2:column> <w2:column id="CREATED_DATE" name="์ƒ์„ฑ์ผ์ž" dataType="text"></w2:column> <w2:column id="UPDATED_DATE" name="์ˆ˜์ •์ผ์ž" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataMap baseNode="map" id="dma_Search"> <w2:keyInfo> <w2:key id="TOTAL_YN" name="์ด๊ฑด์ˆ˜ ์กฐํšŒ์—ฌ๋ถ€" dataType="text"></w2:key> <w2:key id="startNum" name="์‹œ์ž‘ ์ˆœ๋ฒˆ" dataType="text"></w2:key> <w2:key id="endNum" name="๋ ์ˆœ๋ฒˆ" dataType="text"></w2:key> <w2:key id="count" name="ํ™”๋ฉด ํ–‰์ˆ˜" dataType="text"></w2:key> <w2:key id="searchParam" name="๊ฒ€์ƒ‰ ํŒŒ๋ผ๋ฉ”ํ„ฐ" dataType="text"></w2:key> <w2:key id="searchType" name="๊ฒ€์ƒ‰ ํƒ€์ž…" dataType="text"></w2:key> </w2:keyInfo> </w2:dataMap> <w2:dataList id="dlt_CmCode01"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[01]]></CODE_CD> <CODE_NM><![CDATA[์ž„์›]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์›]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[ํ˜‘๋ ฅ]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode02"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[์ด์‚ฌ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[08]]></CODE_CD> <CODE_NM><![CDATA[๋ถ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[์ฐจ์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[05]]></CODE_CD> <CODE_NM><![CDATA[๊ณผ์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[06]]></CODE_CD> <CODE_NM><![CDATA[๋Œ€๋ฆฌ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[07]]></CODE_CD> <CODE_NM><![CDATA[์‚ฌ์›]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode19"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[01]]></CODE_CD> <CODE_NM><![CDATA[PM]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[PL]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[๋ถ„์„/์„ค๊ณ„]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[๊ฐœ๋ฐœ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[05]]></CODE_CD> <CODE_NM><![CDATA[ํผ๋ธ”๋ฆฌ์…”]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[06]]></CODE_CD> <CODE_NM><![CDATA[์ปจ์„คํŒ…]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode101"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[101]]></GRP_CD> <CODE_CD><![CDATA[M]]></CODE_CD> <CODE_NM><![CDATA[๋‚จ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[101]]></GRP_CD> <CODE_CD><![CDATA[F]]></CODE_CD> <CODE_NM><![CDATA[์—ฌ]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> <xf:submission id="sbm_select" ref='data:json,dma_Search' target='' action="/data/sampleData/dlt_Member_append_100_0.json" method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="" ev:submit="" ev:submitdone="scwin.sbm_select_submitdone" ev:submiterror="" abortTrigger=""> </xf:submission> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.gVar = { append: false, totalCnt: 0, pageNum: 0 }; scwin.onpageload = function () { //์กฐํšŒ ๋ฒ„ํŠผ click ์ด๋ฒคํŠธ ๋ฐœ์ƒ btn_Search.trigger("onclick"); }; //[์กฐํšŒ]๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_Search_onclick = function () { scwin.gVar.append = false; scwin.gVar.totalCnt = 0; scwin.gVar.pageNum = 0; spn_curCount.setValue(0); spn_totCount.setValue(0); scwin.searchMain(0, "Y"); }; /** * ์กฐํšŒ (ํ˜„์žฌ ์ƒ˜ํ”Œ์€ 100๊ฐœ์”ฉ ์กฐํšŒํ•  ๊ฒฝ์šฐ ๊ธฐ์ค€) * param1 - ์กฐํšŒ ์‹œ์ž‘ ์ˆœ๋ฒˆ * param2 - ์ด ๊ฑด์ˆ˜ ์กฐํšŒ ์—ฌ๋ถ€ */ scwin.searchMain = function (idx, strYn) { dma_Search.set("TOTAL_YN", strYn); dma_Search.set("startNum", idx); dma_Search.set("endNum", 100); dma_Search.set("count", 100); //์ด ์˜ˆ์ œ๋Š” DB ์—ฐ๊ณ„๊ฐ€ ๋˜์–ด ์žˆ์ง€ ์•Š๊ธฐ ๋•Œ๋ฌธ์— 100๊ฑด์”ฉ ๋‚˜๋‰˜์–ด์ง„ json ํŒŒ์ผ์„ ํ˜ธ์ถœํ•˜๋„๋ก ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค. scwin.setActionURL(); scwin.gVar.pageNum++; $p.executeSubmission("sbm_select"); }; /** * json ํŒŒ์ผ URL ์„ค์ • */ scwin.setActionURL = function (idx) { var _cmpSubmission; _cmpSubmission = $p.getSubmission("sbm_select"); _cmpSubmission.action = '/data/sampleData/dlt_Member_append_100_' + scwin.gVar.pageNum + '.json'; }; /** * sbm_select์˜ submitdone ํ•ธ๋“ค๋Ÿฌ */ scwin.sbm_select_submitdone = function (e) { if (e.responseJSON.msgCode == "S") { var firstYn = dma_Search.get("TOTAL_YN"); // ์ตœ์ดˆ ์กฐํšŒ์ผ ๊ฒฝ์šฐ์—๋งŒ ์ „์ฒด ๊ฑด์ˆ˜๋ฅผ ๊ตฌํ•˜์—ฌ ์ „์—ญ๋ณ€์ˆ˜์— ๋‹ด๋Š”๋‹ค. if (firstYn == "Y") { let totCount = e.responseJSON.TOTAL_CNT; scwin.gVar.totalCnt = totCount; spn_totCount.setValue(totCount); } dlt_Member.setJSON(e.responseJSON.dlt_Member, scwin.gVar.append); } }; /** * grd_Member์˜ onscrollend ํ•ธ๋“ค๋Ÿฌ * ๋ฐ์ดํ„ฐ๋ฅผ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. */ scwin.grd_Member_onscrollend = function () { var startRow = dlt_Member.getRowCount(); // ์ „์ฒด ๊ฑด์ˆ˜๋ณด๋‹ค ์กฐํšŒ๋œ ๊ฑด์ˆ˜๊ฐ€ ์ž‘์„ ๊ฒฝ์šฐ์—๋งŒ ์ถ”๊ฐ€ ์กฐํšŒ๋ฅผ ํ•œ๋‹ค. if (scwin.gVar.totalCnt > startRow) { scwin.gVar.append = true; scwin.searchMain(startRow, "N"); } }; /** * dlt_Member์˜ ondataload ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ */ scwin.dlt_Member_ondataload = function () { //๊ฒŒ์‹œ๋ฌผ ์ˆ˜ ์ถœ๋ ฅ spn_curCount.setValue(dlt_Member.getRowCount()); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="๊ทธ๋ฆฌ๋“œ๋ทฐ์˜ scrollEnd ๊ธฐ๋Šฅ ์‚ฌ์šฉ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๊ทธ๋ฆฌ๋“œ๋ทฐ์˜ ์„ธ๋กœ ์Šคํฌ๋กค์ด (๋งˆ์ง€๋ง‰ ํ–‰ ๊ฑด์ˆ˜ - 10๊ฑด)์˜ ๋†’์ด์— ์œ„์น˜ํ•˜๋ฉด 100๊ฑด์”ฉ ๋ฐ์ดํ„ฐ๊ฐ€ ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์ตœ๋Œ€ 600๊ฑด์˜ ๋ฐ์ดํ„ฐ๊ฐ€ ๋กœ๋“œ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group class="ofh mb_def" id="" style=""> <xf:trigger class="btn_cm" id="btn_Search" style="width:70px;" type="button" ev:onclick="scwin.btn_Search_onclick"> <xf:label><![CDATA[์กฐํšŒ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="com_example_heading fl" id="" label="์‚ฌ์šฉ์ž ๋ชฉ๋ก" style="" tagname="h3"></w2:textbox> <xf:group class="fr ws5_exam_txt_bold" id="" style=""> <w2:span class="mr_def" dataType="text" displayFormat="" id="" label="์ด" style=""></w2:span> <w2:span id="spn_curCount" ref="" dataType="number" style="" class="" label="0" displayFormat="#,##0"></w2:span> <w2:span class="" dataType="text" displayFormat="" id="" label=" / " style=""></w2:span> <w2:span id="spn_totCount" ref="" dataType="number" style="" class="" label="0" displayFormat="#,##0"></w2:span> <w2:span class="" dataType="text" displayFormat="" id="" label="๊ฑด" style=""></w2:span> </xf:group> </xf:group> <xf:group id="" class="gvwbox"> <w2:gridView tooltipShowAlways="" rowNumVisible="true" rowStatusWidth="40" rowNumHeaderValue="๋ฒˆํ˜ธ" loadCount="10" autoFitFilterList="true" focusMode="row" rowNumWidth="30" fixedColumn="1" autoFit="allColumn" id="grd_Member" class="gvw mb_def" ignoreToggleOnDisabled="false" ev:onscrollend="scwin.grd_Member_onscrollend" summaryAuto="false" useShiftKey="true" readOnly="true" rowStatusHeaderValue="์ƒํƒœ" rowStatusVisible="false" tooltipDisplay="true" initFixedHeightByRowNum="10" fixedColumnWithHidden="true" visibleRowNumFix="true" dataList="dlt_Member" ignoreCellClick="false" style="height: 280px;" visibleRowNum="10" useFilterList="true" useCtrlKey="false" autoFitMinWidth="800" defaultCellHeight="26"> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="70" style="" inputType="text" id="column27" sortable="true" value="์„ฑ๋ช…" class="" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="40" style="" inputType="text" id="column25" sortable="true" value="์„ฑ๋ณ„" class="" blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="91" style="" inputType="text" id="column23" sortable="true" value="์ž…์‚ฌ์ผ" class="" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" style="" inputType="text" id="column21" sortable="true" value="์ง์ฑ…" class="" blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="70" style="" inputType="text" id="column19" sortable="true" value="์ง์œ„" class="" blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="70" style="" inputType="text" id="column17" sortable="true" value="์—ญํ• " class="" blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="82" style="" inputType="text" id="column15" sortable="true" value="๋‹ด๋‹น์—…๋ฌด" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="195" style="" inputType="text" id="column13" value="์ด๋ฉ”์ผ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="104" style="" inputType="text" id="column28" value="์ˆ˜์ •์ผ" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" style="" inputType="text" id="EMP_NM" blockSelect="false" displayMode="label" value=""> </w2:column> <w2:column ref="" chooseOption="" width="40" style="" inputType="select" id="GENDER_CD" allOption="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode101"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="91" style="" inputType="calendar" id="JOIN_DATE" blockSelect="false" displayMode="label"> </w2:column> <w2:column ref="" chooseOption="" width="70" style="" inputType="select" id="DUTY_CD" allOption="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode02"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column ref="" chooseOption="" width="70" style="" inputType="select" id="POSITION_CD" allOption="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode01"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column ref="" chooseOption="" width="70" style="" inputType="select" id="ROLE_CD" allOption="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode19"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="82" style="" inputType="text" id="ASSIGNED_TASK" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="195" style="" inputType="text" id="EMAIL" blockSelect="false" displayMode="label"></w2:column> <w2:column width="104" style="" inputType="text" id="UPDATED_DATE" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00040.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="์ด์ค‘ Accordion์œผ๋กœ UI ๊ตฌ์„ฑ ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220522" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { var i; var genArr = ["package_WebSquare5.png", "package_Proworks.png", "package_W-gear.png"]; var genArrLen = genArr.length, genObj, imgNm; for (i = 0; i < genArrLen; i++) { ui_genProduct.insertChild(); imgNm = genArr[i]; ui_genProduct.getChild(i, "ui_prdImg").setSrc("/img/example/" + imgNm); ui_genProduct.getChild(i, "ui_prdNm").setValue(imgNm.replace("package_", "").replace(".png", "")); } }; /** * ํ™”๋ฉด์˜ ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ - ๊ณตํ†ต */ scwin.ui_btnSend_onclick = function () { alert("๊ธฐ๋Šฅ์ด ๊ตฌํ˜„๋˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค."); }; ]]></script> <style type="text/css"><![CDATA[ /* start example P00040.xml ========================================================================================================= */ .example_P00040 .acd01Box{ border-left:1px solid #c0c0c0; border-right:1px solid #c0c0c0; border-bottom: 1px solid #c0c0c0; } .example_P00040 .w2accordion{ border-style:none; } .example_P00040 .w2accordion, .example_P00040 .w2panels_content_open { overflow: inherit; } .example_P00040 .w2accordion.acd01 .w2panels_title{ background: none; background-color: #497ba4; padding: 6px; color: #fff; border-style:none; border-bottom:1px solid #ddd; } .example_P00040 .w2accordion.acd02 .w2panels_title{ background-color: #eee; color: #497ba4; padding: 4px 6px; border-style:none; border-bottom:1px solid #dbdbdb; } .example_P00040 .w2accordion.acd01 .w2panel_title_text{ font-size: 14px; } .example_P00040 .w2accordion.acd02 .w2panel_title_text{ font-size: 12px; } .example_P00040 .w2accordion .w2panels_title{ overflow: hidden; } .example_P00040 .w2accordion .w2panels_title span{ float:left; } .example_P00040 .w2accordion .w2panels_title div{ float:right; } .example_P00040 .w2accordion .w2panels_title_image { background: url(/img/example/accordion_close01.png) no-repeat center center; background-size: 16px; } .example_P00040 .w2accordion .w2panels_title_image_open{ background: url(/img/example/accordion_open01.png) no-repeat center center; background-size: 16px; } .example_P00040 .w2accordion .w2panels{ border-style:none; } .example_P00040 .w2accordion .w2panel_title_text{ line-height: 25px;padding-top:0px;vertical-align: none; } .example_P00040 .w2panels_content_open>.w2group, .genProduct>.w2group { border-top:1px solid #eee; } .example_P00040 .w2panels_content_open>.w2group:first-child, .genProduct>.w2group:first-child{ border-top-style:none; } .example_P00040 .txtOpt{padding:6px 20px;background-color: #64c0be; color:#fff;} .example_P00040 .txtAmount{font-weight:bold; font-size:24px;margin-right:10px;} .example_P00040 .txtAmount:after, .example_P00040 .txtAmount::after { content: " ์›"; font-size:12px; color:#999; } .example_P00040 .txtTot{ color: #ff6347; font-weight:bold; font-size:24px; } .example_P00040 .txtTot:after, .example_P00040 .txtTot::after{ content: "์›"; font-size:12px; } .example_P00040 .btnTotAch{ display: block; text-align:center; background-color: #ff6347;/*64c0be*/ } .example_P00040 .btnTotAch a{ display: block; line-height:50px; color: #fff; font-weight:bold; font-size:24px; } .example_P00040 .btnTotAch a:after, .btnTotAch a::after{ content: "์› ๊ฒฐ์ œํ•˜๊ธฐ"; font-size:14px; font-weight:normal; } .example_P00040 .w2checkbox_label:before { position: absolute; left: 0; top: 5px; content: none; display: inline-block; width: 20px; height: 20px; border: 1px solid #cfd5d8; box-sizing: border-box; background: #fff; } .example_P00040 .w2radio_label:before{ position: absolute; left: 1px; top: 5px; content: none; display: inline-block; width: 20px; height: 20px; border: 1px solid #cfd5d8; box-sizing: border-box; border-radius: 50%; background: #fff; } /* end example P00040.xml ========================================================================================================= */ ]]></style> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="Accordion, Generator ์ปดํฌ๋„ŒํŠธ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ๊ตฌ์„ฑํ•œ ํ™”๋ฉด ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;UI์— ์ ์šฉํ•œ CSS๋Š” ์ด ํŒŒ์ผ์— ์ž‘์„ฑ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ์‹œ์—ฐ์šฉ ์˜ˆ์ œ๋กœ ์˜ˆ์ œ ๊ฐ€์ด๋“œ ๋ฌธ์„œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group id="" style="max-width: 450px;" class="example_P00040"> <xf:group class="acd01Box" id="" style=""> <w2:accordion class="acd01" collapseAll="" collapsible="true" id="ui_accordion" selectedPanel="panels4" style="overflow: inherit;"> <w2:panels class="" id="panels1" style=""> <w2:panelTitle class="" id="panelTitle1" label="์ฃผ๋ฌธ์ •๋ณด" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent1" style=""> <w2:accordion class="acd02" collapseAll="" collapsible="true" id="" selectedPanel="" style="overflow: inherit;"> <w2:panels class="" id="panels5" style=""> <w2:panelTitle class="" id="panelTitle5" label="์ฃผ๋ฌธ์ž์ •๋ณด" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent5" style="padding: 0px 10px;"> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="์ฃผ๋ฌธ์ž๋ช…" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:input adjustMaxLength="false" id="" initValue="์ด์œ ์€" style="width: 100%;height: 3em;box-sizing:border-box;"> </xf:input> </xf:group> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="์—ฐ๋ฝ์ฒ˜" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" displayMode="label" id="" optionOrder="false" ref="" style="width: 32%;height: 3em;box-sizing:border-box;margin-right: 2%;" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[010]]></xf:label> <xf:value><![CDATA[010]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[011]]></xf:label> <xf:value><![CDATA[011]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[016]]></xf:label> <xf:value><![CDATA[016]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[017]]></xf:label> <xf:value><![CDATA[017]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[018]]></xf:label> <xf:value><![CDATA[018]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[019]]></xf:label> <xf:value><![CDATA[019]]></xf:value> </xf:item> </xf:choices> </xf:select1> <xf:input adjustMaxLength="false" id="" initValue="8240" style="width: 32%;height: 3em;box-sizing:border-box;margin-right: 2%;"> </xf:input> <xf:input adjustMaxLength="false" id="" initValue="8282" style="width: 32%;height: 3em;box-sizing:border-box;"> </xf:input> </xf:group> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="์ด๋ฉ”์ผ" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:input adjustMaxLength="false" id="" style="width: 100%;height: 3em;box-sizing:border-box;"> </xf:input> </xf:group> </xf:group> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels6" style=""> <w2:panelTitle class="" id="panelTitle6" label="ํ’ˆ์ ˆ์‹œ ํ™˜๋ถˆ๋ฐฉ๋ฒ•" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent6" style="padding: 0px 10px;"> <xf:group class="" id="" style="padding: 10px 0px;"> <xf:select1 appearance="full" cols="" id="" ref="" rows="" selectedIndex="0" style=""> <xf:choices> <xf:item> <xf:label><![CDATA[์ฃผ๋ฌธ ์‹œ ๊ฒฐ์ œ์ˆ˜๋‹จ์œผ๋กœ ํ™˜๋ถˆ๋ฐ›๊ธฐ]]></xf:label> <xf:value><![CDATA[01]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[์˜ˆ์น˜๊ธˆ์œผ๋กœ ์ž๋™ ํ™˜๋ถˆ๋ฐ›๊ธฐ]]></xf:label> <xf:value><![CDATA[02]]></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;"> <xf:select appearance="full" cols="" id="" ref="" rows="" selectedindex="-1" style=""> <xf:choices> <xf:item> <xf:label><![CDATA[ํ™˜๋ถˆ๋ฐฉ๋ฒ• ์ €์žฅํ•˜๊ธฐ]]></xf:label> <xf:value><![CDATA[01]]></xf:value> </xf:item> </xf:choices> </xf:select> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;" tagname=""> <xf:group id="" style="padding-left: 20px;" tagname="ul"> <w2:textbox id="" label="์˜ˆ์น˜๊ธˆ์€ ํ˜„๊ธˆ์„ฑํฌ์ธํŠธ๋กœ, ์ƒํ’ˆ ๊ตฌ๋งค ์‹œ ์–ธ์ œ๋“  ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๋ฉฐ ์›ํ•˜์‹œ๋Š” ๊ฒฝ์šฐ ํ˜„๊ธˆ์œผ๋กœ์ „ํ™˜์ด ๊ฐ€๋Šฅํ•œ ํŽธ๋ฆฌํ•œ ๊ฒฐ์ œ์ˆ˜๋‹จ์ž…๋‹ˆ๋‹ค." style="margin-bottom: 6px;" tagname="li"> </w2:textbox> <w2:textbox id="" label="ํ’ˆ์ ˆ๋กœ ์ธํ•œ ํ•œ๋ถˆ๊ธˆ์•ก์˜ ํ•ฉ์ด 5๋งˆ์› ๋ฏธ๋งŒ์ผ ๊ฒฝ์šฐ, ์˜ˆ์น˜๊ธˆ์œผ๋กœ ์ž๋™ํ™˜๋ถˆ๋˜๋ฉฐ, 5๋งŒ์› ์ด์ƒ์ด๊ฑฐ๋‚˜ ๋น„ํšŒ์› ์ฃผ๋ฌธ์ผ ๊ฒฝ์šฐ ์›๊ฒฐ์ œ์ˆ˜๋‹จ์œผ๋กœ ํ™˜๋ถˆ์ฒ˜๋ฆฌ ๋ฉ๋‹ˆ๋‹ค.(ํ’ˆ์ ˆ ๋ฐœ์ƒ ์ต์ผ ์˜คํ›„ 5์‹œ๋ถ€ํ„ฐ ํ™˜๋ถˆ์ฒ˜๋ฆฌ)" style="margin-bottom: 6px;" tagname="li"> </w2:textbox> <w2:textbox id="" label="์˜ˆ์น˜๊ธˆํ™˜๋ถˆ์ด ์•„๋‹Œ ์ฃผ๋ฌธํ•˜์‹  ๊ฒฐ์ œ์ˆ˜๋‹จ์œผ๋กœ ํ™˜๋ถˆ๋ฐ›๊ธฐ๋ฅผ ์›ํ•˜์‹ค ๊ฒฝ์šฐ, '์ฃผ๋ฌธ ์‹œ ๊ฒฐ์ œ์ˆ˜๋‹จ์œผ๋กœ ํ™˜๋ถˆ๋ฐ›๊ธฐ'๋ฅผ ์„ ํƒํ•ด ์ฃผ์„ธ์š”." style="" tagname="li"> </w2:textbox> </xf:group> </xf:group> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels7" style=""> <w2:panelTitle class="" id="panelTitle7" label="์ฃผ๋ฌธํ™•์ธ์„œ ๋ฐ›๋Š” ๋ฐฉ๋ฒ•" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent7" style="padding: 0px 10px;"> <xf:group class="" id="" style="padding: 10px 0px;"> <xf:select1 appearance="full" cols="" id="" ref="" rows="" selectedIndex="0" style=""> <xf:choices> <xf:item> <xf:label><![CDATA['๋ชจ๋ฐ”์ผ' ์ฃผ๋ฌธํ™•์ธ์„œ๋งŒ ๋ฐ›๊ธฐ]]></xf:label> <xf:value><![CDATA[01]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA['๋ชจ๋ฐ”์ผ+์ข…์ด' ์ฃผ๋ฌธํ™•์ธ์„œ ๋ชจ๋‘ ๋ฐ›๊ธฐ]]></xf:label> <xf:value><![CDATA[02]]></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;"> <w2:textbox id="" escape="false" label="&lt;span class='txtGreen'&gt;์ข…์ด์ ˆ์•ฝ&lt;/span&gt;์€ &lt;span class='txtGreen'&gt;ํ™˜๊ฒฝ๋ณดํ˜ธ์™€ ์ž์›์ ˆ์•ฝ&lt;/span&gt; ์‹ค์ฒœ์˜ ํ•œ ๋ฐฉ๋ฒ•์ž…๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> <xf:trigger class="btn_cm" ev:onclick="scwin.ui_btnSend_onclick" id="" style="width: 60px;text-align: center;" type="button"> <xf:label><![CDATA[์•ˆ๋‚ด]]></xf:label> </xf:trigger> </xf:group> </w2:panelContent> </w2:panels> </w2:accordion> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels2" style=""> <w2:panelTitle class="" id="panelTitle2" label="๋ฐฐ์†ก์ •๋ณด" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent2" style=""> <w2:accordion class="acd02" collapseAll="" collapsible="true" id="" selectedPanel="" style=""> <w2:panels class="" id="panels8" style=""> <w2:panelTitle class="" id="panelTitle8" label="๋ฐฐ์†ก์ง€์ •๋ณด" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent8" style="padding: 0px 10px;"> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="๋ฐฐ์†ก์ง€" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" displayMode="label" id="" optionOrder="false" ref="" style="width: 100%;height: 3em;box-sizing:border-box;" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[[๊ธฐ๋ณธ๋ฐฐ์†ก์ง€]์šฐ๋ฆฌ์ง‘]]></xf:label> <xf:value><![CDATA[01]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[์„œ์šธ์‹œ ๊ตฌ๋กœ๊ตฌ ๋Œ€๋ฅญํฌ์ŠคํŠธํƒ€์›Œ]]></xf:label> <xf:value><![CDATA[02]]></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="๋ฐ›๋Š”๋ถ„" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:input adjustMaxLength="false" id="" initValue="์ด์œ ์€" style="width: 100%;height: 3em;box-sizing:border-box;"> </xf:input> </xf:group> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="์—ฐ๋ฝ์ฒ˜" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" displayMode="label" id="" optionOrder="false" ref="" style="width: 32%;height: 3em;box-sizing:border-box;margin-right: 2%;" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[010]]></xf:label> <xf:value><![CDATA[010]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[011]]></xf:label> <xf:value><![CDATA[011]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[016]]></xf:label> <xf:value><![CDATA[016]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[017]]></xf:label> <xf:value><![CDATA[017]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[018]]></xf:label> <xf:value><![CDATA[018]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[019]]></xf:label> <xf:value><![CDATA[019]]></xf:value> </xf:item> </xf:choices> </xf:select1> <xf:input adjustMaxLength="false" id="" initValue="8240" style="width: 32%;height: 3em;box-sizing:border-box;margin-right: 2%;"> </xf:input> <xf:input adjustMaxLength="false" id="" initValue="8282" style="width: 32%;height: 3em;box-sizing:border-box;"> </xf:input> </xf:group> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <xf:select1 appearance="full" cols="" id="" ref="" rows="1" selectedIndex="0" style=""> <xf:choices> <xf:item> <xf:label><![CDATA[์•ˆ์‹ฌ๋ฒˆํ˜ธ ์‚ฌ์šฉํ•œํ•จ]]></xf:label> <xf:value><![CDATA[01]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[์•ˆ์‹ฌ๋ฒˆํ˜ธ ์‚ฌ์šฉ]]></xf:label> <xf:value><![CDATA[02]]></xf:value> </xf:item> </xf:choices> </xf:select1> <xf:trigger class="btn_cm" ev:onclick="scwin.ui_btnSend_onclick" id="" style="width: 60px;float : right;" type="button"> <xf:label><![CDATA[์•ˆ๋‚ด]]></xf:label> </xf:trigger> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="์ฃผ์†Œ" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:input adjustMaxLength="false" id="" initValue="08378" style="width: 64%;height: 3em;box-sizing:border-box;margin-right: 2%;margin-bottom: 10px;"> </xf:input> <xf:trigger class="btn_cm" ev:onclick="scwin.ui_btnSend_onclick" id="" style="width: 32%;height: 3em;margin-bottom: 10px;" type="button"> <xf:label><![CDATA[์šฐํŽธ๋ฒˆํ˜ธ]]></xf:label> </xf:trigger> <xf:input adjustMaxLength="false" id="" initValue="์„œ์šธํŠน๋ณ„์‹œ ๊ตฌ๋กœ๊ตฌ ๋””์ง€ํ„ธ๋กœ 306" style="width: 100%;height: 3em;box-sizing:border-box;margin-bottom: 10px;"> </xf:input> <xf:input adjustMaxLength="false" id="" initValue="๋Œ€๋ฅญํฌ์ŠคํŠธํƒ€์›Œ 2์ฐจ" style="width: 100%;height: 3em;box-sizing:border-box;margin-bottom: 10px;"> </xf:input> </xf:group> <w2:textbox id="" label="๊ธฐ๋ณธ ๋ฐฐ์†ก์ง€๋Š” MY PAGE &gt; ๋ฐฐ์†ก์ง€๊ด€๋ฆฌ ๋ฉ”๋‰ด์—์„œ ๋ณ€๊ฒฝ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค." style="clear: both;"></w2:textbox> </xf:group> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels9" style=""> <w2:panelTitle class="" id="panelTitle9" label="ํƒ๋ฐฐ๋ฐฐ์†ก ๋ฉ”์‹œ์ง€" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent9" style="padding: 0px 10px;"> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="๋ฐฐ์†ก ๋ฉ”์‹œ์ง€" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" displayMode="label" emptyValue="" id="" optionOrder="false" ref="" style="width: 100%;height: 3em;box-sizing:border-box;" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[๋น ๋ฅธ ๋ฐฐ์†ก ๋ฐ”๋ž๋‹ˆ๋‹ค]]></xf:label> <xf:value><![CDATA[01]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[๋„์ฐฉ ์ „ ์—ฐ๋ฝ ์ฃผ์„ธ์š”]]></xf:label> <xf:value><![CDATA[02]]></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <w2:textbox id="" label="์„ ๋ฌผ ๋ฉ”์‹œ์ง€" style="width:25%;float:left;line-height: 3em;"></w2:textbox> <xf:group class="" id="" style="float: right;width:75%;"> <xf:textarea id="" placeholder="๋ฐ›์œผ์‹ค ๋ถ„์—๊ฒŒ ์ „๋‹ฌํ•  ๋ฉ”์„ธ์ง€๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”." style="width: 100%;height: 100px;box-sizing:border-box;"> </xf:textarea> </xf:group> </xf:group> </w2:panelContent> </w2:panels> </w2:accordion> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels3" style=""> <w2:panelTitle class="" id="panelTitle3" label="์ƒํ’ˆ์ •๋ณด" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent3" style="padding: 0px 10px;"> <w2:generator class="genProduct" id="ui_genProduct" style=""> <xf:group class="" id="" style="padding: 10px 0px;overflow:hidden;"> <xf:image id="ui_prdImg" src="" style="width:20%;float:left;"></xf:image> <xf:group class="" id="" style="float: right;width:75%;"> <xf:group id="" style=""> <w2:textbox id="ui_prdNm" label="" style="margin-bottom: 6px;color:#999;font-size:14px;font-weight: bold;"> </w2:textbox> <xf:group id="" style="margin-bottom: 6px;"> <w2:span class="txtAmount" dataType="number" displayFormat="#,###" id="" label="48600000" style=""> </w2:span> <w2:span id="" label="1๊ฐœ" style="padding: 0px 10px;border-left: 1px solid #ddd;color:#999;"> </w2:span> </xf:group> <xf:group id="" style="overflow: hidden;"> <w2:textbox class="txtOpt" id="" label="์˜ต์…˜" style="float : left;margin-right: 10px;"></w2:textbox> <w2:textbox id="" label="์—†์Œ" style="padding:6px 0px;float: left;"></w2:textbox> </xf:group> </xf:group> </xf:group> </xf:group> </w2:generator> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels4" style=""> <w2:panelTitle class="" id="panelTitle4" label="์ตœ์ข…๊ฒฐ์ œ๊ธˆ์•ก" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent4" style="padding: 10px;"> <xf:group class="" id="" style="overflow: hidden;padding: 10px;"> <w2:textbox id="" label="์ด ์ฃผ๋ฌธ ๊ธˆ์•ก" style="font-size:14px;float: left;margin-right: 10px;"></w2:textbox> <w2:textbox dataType="number" displayFormat="#,##0์›" id="" label="145800000" style="font-size:14px;float: left;"> </w2:textbox> <w2:textbox id="" label="(๋ฐฐ์†ก๋น„ 2,500์› ํฌํ•จ)" style="font-size:14px;float: right;"></w2:textbox> </xf:group> <xf:group class="" id="" style="overflow: hidden;padding: 10px;position: relative;text-align: center;"> <w2:textbox id="" label="์ด ํ• ์ธ๊ธˆ์•ก&lt;br/&gt;0์›" style="float : left;width: 50%;box-sizing:border-box;text-align: center;border:2px dashed #00bba9;border-right-width: 1px;padding: 6px 0px;" escape="false"> </w2:textbox> <w2:textbox id="" label="ํฌ์ธํŠธ ์‚ฌ์šฉ๊ธˆ์•ก&lt;br/&gt;0์›" style="float : left;width: 50%;box-sizing:border-box;text-align: center;border:2px dashed #00bba9;padding: 6px 0px;border-left-width: 1px;" escape="false"> </w2:textbox> <xf:image id="" src="/img/example/bg_minus.png" style="width: 2em;height: 2em;position: absolute;left: calc(50% - 1em); top: calc(50% - 1em);}"> </xf:image> </xf:group> <xf:group class="" id="" style="overflow: hidden;padding: 10px;"> <w2:textbox id="" label="์ตœ์ข… ๊ฒฐ์ œ๊ธˆ์•ก" style="float : left;padding-top:10px;font-size: 16px;"></w2:textbox> <w2:textbox class="txtTot" dataType="number" displayFormat="#,##0" id="" label="145800000" style="float : right;"> </w2:textbox> </xf:group> </w2:panelContent> </w2:panels> </w2:accordion> </xf:group> <xf:group class="" id="" style="padding: 10px 0px;"> <w2:anchor class="btnTotAch" clickEventElement="outerDiv" ev:onclick="scwin.ui_btnSend_onclick" id="ui_btnSend" outerDiv="true" style=""> <xf:label><![CDATA[145,800,000]]></xf:label> </w2:anchor> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00068.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[AutoComplete] ์ž…๋ ฅ์ฐฝ์—์„œ ํ‚ค๋ฅผ ๋ˆŒ๋ €๋‹ค ๋–ผ์—ˆ์„ ๋•Œ(Key Up)์˜ ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ ๋“ฑ๋กํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220803" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * acb_exam ์ปดํฌ๋„ŒํŠธ์˜ ์ด๋ฒคํŠธ oneditkeyup ํ•ธ๋“ค๋Ÿฌ */ scwin.acb_exam_oneditkeyup = function (info, e) { var strLog; //์›น์Šคํ€˜์–ด ์—”์ง„์—์„œ ํ• ๋‹นํ•œ ๊ฐ’ var _keyCode = info.keyCode; //์ž…๋ ฅ๋œ ํ‚ค์˜ ์ฝ”๋“œ๊ฐ’ var _newValue = info.newValue; //ํ‚ค๊ฐ€ ์ž…๋ ฅ๋œ ํ›„์˜ ๊ฐ’ var _oldValue = info.oldValue; //ํ‚ค๊ฐ€ ์ž…๋ ฅ๋˜๊ธฐ ์ด์ „์˜ ๊ฐ’ //Key Event ๊ฐ์ฒด var tmpKeyCode = e.keyCode; var tmpWhich = e.which; var tmpCode = e.code; var tmpKey = e.key; //์ด๋ฒคํŠธ ํ™•์ธ์šฉ ๋กœ๊ทธ ์ถœ๋ ฅ console.log("scwin.acb_exam_oneditkeyup >>>>>>>> ", info, e); $c.frame.printExampleLog("scwin.acb_exam_oneditkeyup", txa_log); $c.frame.printExampleLog("info : \n" + JSON.stringify(info, null, "\t"), txa_log); strLog = "info.keyCode : " + _keyCode + "\n"; strLog += "info.newValue : " + _newValue + "\n"; strLog += "info.oldValue : " + _oldValue; $c.frame.printExampleLog(strLog, txa_log, false); }; /** * ๋กœ๊ทธ ์ถœ๋ ฅ์šฉ ํ•จ์ˆ˜ */ scwin.printLog = function (argStr) { var strLog; strLog = txa_log.getValue(); txa_log.setValue(strLog + "\n" + argStr); }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { //textarea value๋ฅผ ๋นˆ๋ฌธ์ž์—ด๋กœ ํ• ๋‹น. txa_log.setValue(""); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='๊ฒ€์ƒ‰์–ด ์ž…๋ ฅ์ฐฝ์—์„œ Key๋ฅผ ์ž…๋ ฅํ•˜๋ฉด ๋กœ๊ทธ ํ™•์ธ ์˜์—ญ์— ๋กœ๊ทธ๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='AutoComplete' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:autoComplete editType="select" style="width: 150px;min-height:24px;" submenuSize="auto" id="acb_exam" nextTabByEnter="true" ev:oneditkeyup="scwin.acb_exam_oneditkeyup"> <w2:choices> <w2:item> <w2:label><![CDATA[]]> </w2:label> <w2:value><![CDATA[]]> </w2:value> </w2:item> <w2:item> <w2:label><![CDATA[apple]]></w2:label> <w2:value><![CDATA[01]]></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[grapes]]></w2:label> <w2:value><![CDATA[02]]></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[strawberry]]></w2:label> <w2:value><![CDATA[03]]></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[blueberry]]></w2:label> <w2:value><![CDATA[04]]></w2:value> </w2:item> </w2:choices> </w2:autoComplete> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group id="" class="example_div_th_style"> <w2:span label="๋กœ๊ทธ ํ™•์ธ" style="" id="" class="mr_def txt_blue"></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00295.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_type="๋ฉ”์ธ" meta_screenName="[TabControl] ํƒญ์˜ ID๋กœ Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230718" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { // ์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ํƒญ ์ถ”๊ฐ€ let strTabID = "tab_exam"; // Tab์˜ ID tac_exam1.addTab( strTabID, { "label": "TAB_EXAM", "openAction": "select", "tabWidth": 90 }, { "src": "/page/P00295S01.xml", "wframe": true, "dataObject": { "type": "json", "name": "tabParam", "data": { "tabID": strTabID } } } ); }; /** * ๋ฒ„ํŠผ [ํƒญ์˜ ID๊ฐ€ 'tabs1'์ธ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // TabControl 'tac_exam1'์˜ ํƒญ ID๊ฐ€ 'tabs1'์ธ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = tac_exam1.getTabIndex("tabs1"); // ๋ฐ˜ํ™˜ ๊ฐ’ ์˜ˆ์‹œ) 0 // ๊ฒฐ๊ณผ ๊ฐ’ ์ถœ๋ ฅ alert("getTabIndex: " + result); console.log("getTabIndex: ", result); }; /** * ๋ฒ„ํŠผ [ํƒญ์˜ ID๊ฐ€ 'tab_exam'์ธ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // TabControl 'tac_exam1'์˜ ํƒญ ID๊ฐ€ 'tab_exam'์ธ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = tac_exam1.getTabIndex("tab_exam"); // ๋ฐ˜ํ™˜ ๊ฐ’ ์˜ˆ์‹œ) 1 // ๊ฒฐ๊ณผ ๊ฐ’ ์ถœ๋ ฅ alert("getTabIndex: " + result); console.log("getTabIndex: ", result); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="TabControl์˜ ํƒญ ID๋กœ ํƒญ์˜ Index๋ฅผ ๋ฐ˜ํ™˜๋ฐ›๋Š” ํ•จ์ˆ˜ 'getTabIndex' ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๊ฐ ํƒญ์— ์ง€์ •๋œ ID๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- ํƒญ 'TAB1'์˜ ID : tabs1&lt;br/&gt;- ํƒญ 'TAB_EXAM'์˜ ID : tab_exam" style=""></w2:textbox> </xf:group> <xf:group id="" style="" class=""></xf:group> <xf:group class="example_div_tb_style_wrap mw600" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[ํƒญ์˜ ID๊ฐ€ 'tabs1'์ธ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[ํƒญ์˜ ID๊ฐ€ 'tab_exam'์ธ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="" id="" style=""> <w2:tabControl alwaysDraw="false" class="" confirmFalseAction="new" confirmTrueAction="exist" id="tac_exam1" style="position: relative;height: 120px;" tabScroll="" useConfirmMessage="false" useMoveNextTabFocus="false" useTabKeyOnly="true"> <w2:tabs disabled="false" id="tabs1" label="TAB1" style="width:70px;height:30px;"></w2:tabs> <w2:content alwaysDraw="false" id="content1" style="min-height:30px;"> <w2:textbox id="" label="TAB1 CONTENT" style="font-size: 1.2em;padding: 6px;color: steelblue;font-weight: bold;"> </w2:textbox> <w2:textbox id="" label="Tab ID : tabs1" style="padding: 0px 6px;;"></w2:textbox> </w2:content> </w2:tabControl> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00281.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[DataList] ์ง€์ •ํ•œ ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ์™€ ์ฃผ์–ด์ง„ ๊ฐ’์ด ์ผ์น˜ํ•˜๋Š” ํ–‰ ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230628" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column></w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { // DataList์— ์ดˆ๊ธฐ ๋ฐ์ดํ„ฐ ํ• ๋‹น scwin.initData(); }; /** * DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ */ scwin.initData = function () { // DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ let data = [ { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋งŒ์ผ ๋‚ด๊ฐ€ ์ธ์ƒ์„ ๋‹ค์‹œ ์‚ฐ๋‹ค๋ฉด", "categoryLabel": "์ธ๋ฌธ" }, { "label": "์ธ์ƒ ์ˆ˜์—…", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)", "categoryLabel": "์—ญ์‚ฌ/๋ฌธํ™”" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "categoryLabel": "์†Œ์„ค" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "categoryLabel": "์ธ๋ฌธ" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "categoryLabel": "์†Œ์„ค" } ]; dlt_books_1.setJSON(data); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ JSON์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedJSON("categoryLabel", "์†Œ์„ค"); // return ์˜ˆ์‹œ) [{"categoryLabel":"์†Œ์„ค","label":"๋ถˆํŽธํ•œ ํŽธ์˜์ ","rowStatus":"R"},{"categoryLabel":"์†Œ์„ค","label":"์ฑ…๋“ค์˜ ๋ถ€์—Œ","rowStatus":"R"}] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedJSON ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_1, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_1, false); console.log(strLog); console.log(result); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ '1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด'์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedArray("categoryLabel", "์†Œ์„ค"); // return ์˜ˆ์‹œ) {"columnInfo":["categoryLabel","label"],"data":["์†Œ์„ค","๋ถˆํŽธํ•œ ํŽธ์˜์ ","์†Œ์„ค","์ฑ…๋“ค์˜ ๋ถ€์—Œ"]} // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด | ํ•จ์ˆ˜ getMatchedArray ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_1, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_1, false); console.log(strLog); console.log(result); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 2์ฐจ์› Array ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_3_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ '2์ฐจ์› Array ํ˜•์‹'์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedData("categoryLabel", "์†Œ์„ค"); // return ์˜ˆ์‹œ) [["์†Œ์„ค","๋ถˆํŽธํ•œ ํŽธ์˜์ "],["์†Œ์„ค","์ฑ…๋“ค์˜ ๋ถ€์—Œ"]] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedData ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_1, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_1, false); console.log(strLog); console.log(result); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - XML ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_4_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ 'XML' ํ˜•์‹์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedXML("categoryLabel", "์†Œ์„ค"); // return ์˜ˆ์‹œ) <list id="dlt_books_1"><map index="8"><categoryLabel>์†Œ์„ค</categoryLabel><label>๋ถˆํŽธํ•œ ํŽธ์˜์ </label><rowStatus statusValue="0">R</rowStatus></map><map index="11"><categoryLabel>์†Œ์„ค</categoryLabel><label>์ฑ…๋“ค์˜ ๋ถ€์—Œ</label><rowStatus statusValue="0">R</rowStatus></map></list> // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - XML ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedXML ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_1, false); $c.frame.printExampleLog(WebSquare.xml.serialize(result), txa_log_1, false); console.log(strLog); console.log(result); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” Row Index ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_5_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” Row Index๋ฅผ '1์ฐจ์› Array'๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedIndex("categoryLabel", "์†Œ์„ค"); // return ์˜ˆ์‹œ) [8,11] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” Row Index ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedIndex ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_1, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_1, false); console.log(strLog); console.log(result); }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { let strTargetId = this.getUserData("userData1"); let cmpTarget; if (strTargetId) { cmpTarget = $p.getComponentById(strTargetId) || txa_log; } else { cmpTarget = txa_log; } //textarea value๋ฅผ ๋นˆ๋ฌธ์ž์—ด๋กœ ํ• ๋‹น. cmpTarget.setValue(""); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam2_1_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ JSON์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedJSON("categoryLabel", "์—์„ธ์ด", true); // return ์˜ˆ์‹œ) [] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedJSON ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_2, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_2, false); console.log(strLog); console.log(result); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์—์„ธ์ด'๊ฐ€ ํฌํ•จ๋œ ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam2_2_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์—์„ธ์ด'๊ฐ€ ํฌํ•จ๋œ ๋ฐ์ดํ„ฐ๋ฅผ JSON์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedJSON("categoryLabel", "์—์„ธ์ด", false); // return ์˜ˆ์‹œ) [{"categoryLabel":"์‹œ/์—์„ธ์ด","label":"๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค","rowStatus":"R"},{"categoryLabel":"์‹œ/์—์„ธ์ด","label":"์ธ์ƒ ์ˆ˜์—…","rowStatus":"R"}] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์—์„ธ์ด'๊ฐ€ ํฌํ•จ๋œ ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedJSON ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_2, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_2, false); console.log(strLog); console.log(result); }; /** * ๋ฒ„ํŠผ [์ „์ฒด ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹] */ scwin.btn_exam3_1_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ „์ฒด ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ JSON์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedJSON("categoryLabel", "์‹œ/์—์„ธ์ด", true); // return ์˜ˆ์‹œ) [{"categoryLabel":"์‹œ/์—์„ธ์ด","label":"๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค","rowStatus":"R"},{"categoryLabel":"์‹œ/์—์„ธ์ด","label":"์ธ์ƒ ์ˆ˜์—…","rowStatus":"R"}] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ „์ฒด ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedJSON ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_3, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_3, false); console.log(strLog); console.log(result); }; /** * ๋ฒ„ํŠผ [0~2๋ฒˆ์งธ ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹] */ scwin.btn_exam3_2_onclick = function (e) { // DataList 'dlt_books_1'์˜ 0~2๋ฒˆ์งธ ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ JSON์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getMatchedJSON("categoryLabel", "์‹œ/์—์„ธ์ด", true, 0, 2); // return ์˜ˆ์‹œ) [{"categoryLabel":"์‹œ/์—์„ธ์ด","label":"๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค","rowStatus":"R"}] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# 0~2๋ฒˆ์งธ ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ | ํ•จ์ˆ˜ getMatchedJSON ํ˜ธ์ถœ ๊ฐ’"; $c.frame.printExampleLog(strLog, txa_log_3, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log_3, false); console.log(strLog); console.log(result); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="DataList์—์„œ ์ง€์ •ํ•œ ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ์™€ ์ฃผ์–ด์ง„ ๋ฌธ์ž์—ด์ด ์ผ์น˜ํ•˜๋Š” ํ–‰ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜๋ฐ›๋Š” ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋ฐ˜ํ™˜ ๋ฐ์ดํ„ฐ์˜ ์œ ํ˜•์— ๋”ฐ๋ผ ํ•จ์ˆ˜๊ฐ€ ๋ถ„๋ฆฌ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ํ•จ์ˆ˜์˜ ์ธ์ž๋Š” ๋™์ผํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋ฐ˜ํ™˜ ๋ฐ์ดํ„ฐ์˜ ์œ ํ˜•์€ 5๊ฐ€์ง€์ด๋ฉฐ, ์œ ํ˜•๋ณ„ ํ•จ์ˆ˜๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- JSON ํ˜•์‹ : getMatchedJSON&lt;br/&gt;- 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด : getMatchedArray&lt;br/&gt;- 2์ฐจ์› Array ํ˜•์‹ : getMatchedData&lt;br/&gt;- XML ํ˜•์‹ : getMatchedXML&lt;br/&gt;- Row Index๊ฐ€ ๋‹ด๊ธด 1์ฐจ์› Array ํ˜•์‹ : getMatchedIndex" style=""> </w2:textbox> <w2:textbox escape="false" id="" label="๊ฐ ํ•จ์ˆ˜์˜ ๋ถ€๊ฐ€ ๊ธฐ๋Šฅ์œผ๋กœ๋Š” ๋ฐ์ดํ„ฐ ๊ฒ€์ƒ‰ ์กฐ๊ฑด(์ผ์น˜ ๋˜๋Š” ํฌํ•จ) ์„ค์ •๊ณผ ๊ฒ€์ƒ‰ํ•  ํ–‰์˜ ๋ฒ”์œ„ ์„ค์ •์ด ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" id="" label="๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด '๋กœ๊ทธ ํ™•์ธ' ์˜์—ญ๊ณผ ๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž๋„๊ตฌ์˜ ์ฝ˜์†”์— ๋กœ๊ทธ๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋กœ๊ทธ๋ฅผ ํ†ตํ•ด ๋ฐ˜ํ™˜๋˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style="" escape="false"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์›๋ณธ ๋ฐ์ดํ„ฐ ํ™•์ธ์šฉ GridView" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="" initFixedHeightByRowNum="4" readOnly="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="3" rowNumVisible="true" keepDefaultColumnWidth="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group id="" style="" class="example_div_tr_style"> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํ•จ์ˆ˜๋ณ„ ๋ฐ˜ํ™˜ ๋ฐ์ดํ„ฐ ํ˜•์‹ ๋น„๊ตํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_3_onclick" id="btn_exam1_3" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 2์ฐจ์› Array ํ˜•์‹]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_4_onclick" id="btn_exam1_4" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - XML ํ˜•์‹]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_5_onclick" id="btn_exam1_5" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๋Š” Row Index ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <w2:span class="mr_def txt_bold" id="" label="๋กœ๊ทธ ํ™•์ธ" style=""></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button" userData1="txa_log_1"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:textarea class="com_example_txa_log" id="txa_log_1" spellcheck="false" style="width: 100%;height: 90px;"></xf:textarea> </xf:group> </xf:group> <xf:group id="" style="" class="example_div_tr_style"> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ฐ์ดํ„ฐ ์ผ์น˜ ์—ฌ๋ถ€ ์„ค์ • ๋น„๊ตํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam2_1_onclick" id="btn_exam2_1" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam2_2_onclick" id="btn_exam2_2" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์—์„ธ์ด'๊ฐ€ ํฌํ•จ๋œ ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <w2:span class="mr_def txt_bold" id="" label="๋กœ๊ทธ ํ™•์ธ" style=""></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button" userData1="txa_log_2"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:textarea class="com_example_txa_log" id="txa_log_2" spellcheck="false" style="width: 100%;height: 90px;"></xf:textarea> </xf:group> </xf:group> <xf:group id="" style="" class="example_div_tr_style"> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ฒ€์ƒ‰ํ•  ํ–‰์˜ ๋ฒ”์œ„ ์„ค์ • ๋น„๊ตํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" id="btn_exam3_1" style="" type="button" ev:onclick="scwin.btn_exam3_1_onclick"> <xf:label><![CDATA[์ „์ฒด ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" id="btn_exam3_2" style="" type="button" ev:onclick="scwin.btn_exam3_2_onclick"> <xf:label><![CDATA[0~2๋ฒˆ์งธ ํ–‰์„ ๋Œ€์ƒ์œผ๋กœ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์‹œ/์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋Š” ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <w2:span class="mr_def txt_bold" id="" label="๋กœ๊ทธ ํ™•์ธ" style=""></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button" userData1="txa_log_3"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:textarea class="com_example_txa_log" id="txa_log_3" spellcheck="false" style="width: 100%;height: 90px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00256.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230323" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="Code" name="name1" dataType="text"></w2:column> <w2:column id="City" name="name2" dataType="text"></w2:column> <w2:column id="Country" name="name3" dataType="text"></w2:column> <w2:column id="Type" name="name4" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { let jsonData = [ { "Code": "SEL", "City": "Seoul", "Country": "Korea", "Type": "Domestic" }, { "Code": "BSN", "City": "Busan", "Country": "Korea", "Type": "Domestic" }, { "Code": "ICN", "City": "Incheon", "Country": "Korea", "Type": "Domestic" }, { "Code": "DJN", "City": "Daejeon", "Country": "Korea", "Type": "Domestic" }, { "Code": "DGU", "City": "Daegu", "Country": "Korea", "Type": "Domestic" }, { "Code": "OTW", "City": "Ottawa", "Country": "Canada", "Type": "Overseas" }, { "Code": "LDN", "City": "Toronto", "Country": "Canada", "Type": "Overseas" }, { "Code": "BRN", "City": "Berlin", "Country": "Germany", "Type": "Overseas" }, { "Code": "BJG", "City": "Beijing", "Country": "China", "Type": "Overseas" }, { "Code": "LDN", "City": "London", "Country": "UK", "Type": "Overseas" }, ]; // DataList 'dlt_dataList1'์— json๋ฐ์ดํ„ฐ 'jsonData'๋ฅผ setํ•ฉ๋‹ˆ๋‹ค. dlt_dataList1.setJSON(jsonData); // SelectBox 'sbx_exam1'์— DataList 'dlt_dataList1'์„ ๋ฐ”์ธ๋”ฉํ•ฉ๋‹ˆ๋‹ค. sbx_exam1.setNodeSet("data:dlt_dataList1", "City", "Code"); // SelectBox 'sbx_exam2'์— DataList 'dlt_dataList1'์„ ๋ฐ”์ธ๋”ฉํ•ฉ๋‹ˆ๋‹ค. sbx_exam2.setNodeSet("data:dlt_dataList1", "City", "Code"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='enableColum ๋ฐ enableColumnFalseValue ์†์„ฑ์„ ์‚ฌ์šฉํ•˜์—ฌ ์„ ํƒ ๋ชฉ๋ก์˜ ํŠน์ • ํ•ญ๋ชฉ์„ ๋น„ํ™œ์„ฑํ™”ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- enableColumn : ์„ ํƒ ํ•ญ๋ชฉ ๋ชฉ๋ก์—์„œ ํŠน์ • ํ•ญ๋ชฉ์„ disable ์ฒ˜๋ฆฌํ•˜๋Š” ๊ธฐ๋Šฅ.&lt;br/&gt;- enableColumnFalseValue : enableColumn ์‚ฌ์šฉ ์‹œ ๋ชฉ๋ก์—์„œ ํŠน์ • ํ•ญ๋ชฉ์„ ๊ฐ์ถ”๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด์— ํ•ด๋‹นํ•˜๋Š” ๊ฐ’.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํŠน์ • ํ•ญ๋ชฉ ๋น„ํ™œ์„ฑํ™” ์ ์šฉ ์ „" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ์— ์„ ํƒ ๋ชฉ๋ก์ด ๋น„ํ™œ์„ฑํ™” ์—†์ด ํ‘œ์‹œ๋œ ๊ฒƒ์„ ํ™•์ธํ•œ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:select1 id="sbx_exam1" chooseOption="" style="width: 148px;height: 21px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="name"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํŠน์ • ํ•ญ๋ชฉ ๋น„ํ™œ์„ฑํ™” ์ ์šฉ ํ›„" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ์— ์„ ํƒ ๋ชฉ๋ก์ด ๋น„ํ™œ์„ฑํ™” ์—†์ด ํ‘œ์‹œ๋œ ๊ฒƒ์„ ํ™•์ธํ•œ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:select1 id="sbx_exam2" chooseOption="" style="width: 148px;height: 21px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref="" enableColumn="Type" enableColumnFalseValue="Domestic"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="name"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00242.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230307" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="City" name="name1" dataType="text"></w2:column> <w2:column id="Code" name="name2" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> </w2:row> <w2:row> <City><![CDATA[Tokyo]]></City> <Code><![CDATA[TK]]></Code> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [DataList๋ฅผ Radio์ปดํฌ๋„ŒํŠธ์— ์—ฐ๊ฒฐํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function(e) { // Radio 'rad_exam2'์— DataList 'dlt_dataList1'์„ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค. rad_exam2.setNodeSet("data:dlt_dataList1", "City", "Code") }; /** * ๋ฒ„ํŠผ [๋ชฉ๋ก ์ถ”๊ฐ€ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { // Radio 'rad_exam4'์˜ ํ‘œ์‹œ๋ชฉ๋ก์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. rad_exam4.addItem("NY", "NewYork", "5"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='WebSquare์ŠคํŠœ๋””์˜ค ๋‚ด๋ถ€์—์„œ DataList ์ž‘์„ฑ๋ฒ•๊ณผ Radio์ปดํฌ๋„ŒํŠธ์— DataList๋ฅผ ์—ฐ๊ฒฐํ•˜์—ฌ ์„ ํƒ ํ•ญ๋ชฉ์„ ์„ค์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ๊ณผ ํ•จ์ˆ˜๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- appearance : (์†์„ฑ)์„ ํƒํ•ญ๋ชฉ ํ‘œํ˜„๋ฐฉ์‹&lt;br/&gt;- setNodeSet : (ํ•จ์ˆ˜)Radio์ปดํฌ๋„ŒํŠธ์— DataList ๋ฐ”์ธ๋”ฉ&lt;br/&gt;- addItem : (ํ•จ์ˆ˜)์„ ํƒ ํ•ญ๋ชฉ์„ ์ถ”๊ฐ€. index๋ฅผ ์ง€์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ํ•˜์œ„๋กœ ์ถ”๊ฐ€๋จ.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Radio์ปดํฌ๋„ŒํŠธ์— DataList ์—ฐ๊ฒฐํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='Radio์ปดํฌ๋„ŒํŠธ์— ๋งŒ๋“ค์–ด ๋‘” DataList๊ฐ€ ์—ฐ๊ฒฐ๋œ ๊ฒƒ์„ ํ™•์ธํ•œ๋‹ค.' style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label="โ€ป WebSquare์ŠคํŠœ๋””์˜ค ์กฐ์ž‘์œผ๋กœ DataList์ƒ์„ฑ ๋ฐ Radio์ปดํฌ๋„ŒํŠธ์™€ DataList์˜ ์—ฐ๊ฒฐํ•˜๋Š” ๋ฒ•์€ ๊ฐ€์ด๋“œ๋ฅผ ๊ฐ™์ด ์ฐธ๊ณ ํ•ด์ฃผ์‹œ๊ธฐ๋ฅผ ๋ฐ”๋ž๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> <xf:select1 id="rad_exam1" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;" cols="" rows="" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="setNodeSet ํ•จ์ˆ˜๋ฅผ ์ด์šฉํ•œ DataList์™€ Radio์ปดํฌ๋„ŒํŠธ ์—ฐ๊ฒฐํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ์ค€๋น„ํ•ด๋‘” DataList๋ฅผ Radio์ปดํฌ๋„ŒํŠธ์— ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[DataList๋ฅผ Radio์ปดํฌ๋„ŒํŠธ์— ์—ฐ๊ฒฐํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:select1 appearance="full" id="rad_exam2" selectedIndex="-1" style="width: 200px;height:125px;"></xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํ•˜๋“œ์ฝ”๋”ฉ์œผ๋กœ ์—ฐ๊ฒฐํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='์†Œ์Šค์— ์ •๋ณด๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> </xf:group> <xf:select1 appearance="full" id="rad_exam3" selectedIndex="-1" style="width: 200px;height:125px;"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="addItem ํ•จ์ˆ˜๋ฅผ ์ด์šฉํ•œ ๋ชฉ๋ก ์ถ”๊ฐ€ํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ Radio์ปดํฌ๋„ŒํŠธ ํ‘œ์‹œํ•ญ๋ชฉ์— 'NewYork'์ด ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[๋ชฉ๋ก ์ถ”๊ฐ€ํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:select1 appearance="full" id="rad_exam4" selectedIndex="-1" style="width: 200px;height:125px;"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00224S01.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230216" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script type="text/javascript" lazy="false"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00224S01.xml" style="color: dodgerblue;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00120.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ๋ชฉ๋กํ˜• inputType์˜ ์ •๋ ฌํ•  ๋ฐ์ดํ„ฐ์˜ ์ถœ์ฒ˜ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList baseNode="list" id="dlt_exam_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="select" name="select"></w2:column> <w2:column dataType="text" id="checkcombobox" name="checkcombobox"></w2:column> <w2:column id="autoComplete" name="autoComplete" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList baseNode="list" id="dlt_exam_2" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="select" name="select"></w2:column> <w2:column dataType="text" id="checkcombobox" name="checkcombobox"></w2:column> <w2:column id="autoComplete" name="autoComplete" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.setInitData(); }; scwin.setInitData = function () { var arrCodeData = [ { "label": "Peach", "code": "01" }, { "label": "Lime", "code": "02" }, { "label": "Apple", "code": "03" }, { "label": "Grapes", "code": "04" } ]; var arrData = [ { "select": "03", "checkcombobox": "03", "autoComplete": "03" }, { "select": "02", "checkcombobox": "02", "autoComplete": "02" }, { "select": "01", "checkcombobox": "01", "autoComplete": "01" }, { "select": "04", "checkcombobox": "04", "autoComplete": "04" } ]; //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON(arrCodeData); dlt_exam_1.setJSON(arrData); dlt_exam_2.setJSON(arrData); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ ๋ฐ”๋”” ์ปฌ๋Ÿผ์˜ inputType์ด ๋ชฉ๋ก(์ฝค๋ณด)ํ˜•์ธ ๊ฒฝ์šฐ ์ •๋ ฌํ•  ๋ฐ์ดํ„ฐ์˜ ์ถœ์ฒ˜๋ฅผ ์„ค์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ •๋ ฌํ•  ๋ฐ์ดํ„ฐ์˜ ์ถœ์ฒ˜์˜ ๊ธฐ๋ณธ ์„ค์ •๊ฐ’์€ value์ž…๋‹ˆ๋‹ค. ์„ค์ •์„ ํ†ตํ•ด label๋กœ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;์ ์šฉ ๊ฐ€๋Šฅํ•œ inputType์€ select, checkcombobox, autoComplete์ž…๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="๋ชฉ๋ก์— ์—ฐ๊ฒฐ๋œ value ๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์ •๋ ฌ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_exam_1" defaultCellHeight="24" id="" style="height:80px;" visibleRowNum="4" visibleRowNumFix="true" sortEvent="onclick" sortable="true" showSortableImage="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="select" width="68"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="checkcombobox" width="100"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="autoComplete" width="90"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="select" inputType="select" viewType="icon" width="68"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column displayMode="label" id="checkcombobox" inputType="checkcombobox" viewType="icon" width="100"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column displayMode="label" id="autoComplete" inputType="autoComplete" viewType="icon" width="90"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ •๋ ฌ ๋ฐ์ดํ„ฐ์˜ ์ถœ์ฒ˜๋ฅผ ๋ชฉ๋ก์˜ label๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="๋ชฉ๋ก์— ์—ฐ๊ฒฐ๋œ label ๋ฐ์ดํ„ฐ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์ •๋ ฌ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_exam_2" defaultCellHeight="24" id="" style="height:80px;" visibleRowNum="4" visibleRowNumFix="true" showSortableImage="true" sortEvent="onclick" sortable="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="select" width="68"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="checkcombobox" width="100"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="autoComplete" width="90"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="select" inputType="select" viewType="icon" width="68" sortLabel="true"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column displayMode="label" id="checkcombobox" inputType="checkcombobox" viewType="icon" width="100" sortLabel="true"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column displayMode="label" id="autoComplete" inputType="autoComplete" viewType="icon" width="90" sortLabel="true"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[์ฐธ๊ณ  ์ •๋ณด] ๋ชฉ๋ก ๋ฐ์ดํ„ฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='GridView์— ์—ฐ๊ฒฐ๋œ ๋ชฉ๋กํ˜• inputType์— ์—ฐ๊ฒฐ๋œ DataList "dlt_exam_code"์˜ ๋ฐ์ดํ„ฐ์ž…๋‹ˆ๋‹ค.' style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_exam_code" defaultCellHeight="24" id="" style="height:80px;" visibleRowNum="all" visibleRowNumFix="true" readOnly="true"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="80" inputType="text" id="column2" value="label" displayMode="label"></w2:column> <w2:column width="80" inputType="text" id="column1" value="code" displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="80" inputType="text" id="label" displayMode="label"></w2:column> <w2:column width="80" inputType="text" id="code" displayMode="label"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00134.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[InputCalendar] ์บ˜๋ฆฐ๋”์˜ ์š”์ผ์„ ์ด๋ฏธ์ง€ ๋˜๋Š” ํ…์ŠคํŠธ๋กœ ํ‘œ์‹œํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221014" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.setInitPage(); }; /** * ํ™”๋ฉด ์ดˆ๊ธฐํ™” */ scwin.setInitPage = function () { var strDate; //์„œ๋ฒ„์—์„œ ์˜ค๋Š˜ ๋‚ ์งœ ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strDate = $p.getCurrentServerDate("yyyyMMdd"); //inputCalendar์— ์˜ค๋Š˜ ๋‚ ์งœ ํ• ๋‹น. ica_exam_1.setValue(strDate); ica_exam_2.setValue(strDate); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='์บ˜๋ฆฐ๋”์˜ ์š”์ผ ์˜์—ญ์„ ๋ธŒ๋ผ์šฐ์ €์— ํ‘œํ˜„ํ•˜๋Š” ๋ฐฉ๋ฒ•์˜ ์„ค์ • ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค. &lt;br/&gt;์„ค์ •์„ ํ†ตํ•ด ์ด๋ฏธ์ง€ ๋˜๋Š” ๋ฌธ์ž์—ด๋กœ ํ‘œํ˜„ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ ์„ค์ •] ์บ˜๋ฆฐ๋”์˜ ์š”์ผ์„ ์ด๋ฏธ์ง€๋กœ ์ถœ๋ ฅ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_1" rightAlign="false" style="width:100px;min-height: 24px;" renderDiv="true"> </w2:inputCalendar> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์บ˜๋ฆฐ๋”์˜ ์š”์ผ์„ ๋ฌธ์ž์—ด๋กœ ์ถœ๋ ฅ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_2" rightAlign="false" style="width:100px;min-height: 24px;" displayDayType="text" renderDiv="true"> </w2:inputCalendar> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00056S03.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220729" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * wFramePopup ์‹คํ–‰ - $p.openPopup * ๋ฒ„ํŠผ [frameModal : "frame"] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_1_onclick = function (e) { var jsnOptions = { id: "popup_exam1", type: "wframePopup", width: "200px", height: "150px", top: "0px", left: "0px", popupName: "frameModal - frame", modal: "true", frameModal: "frame" //[default: ""] modal์„ ํ‘œ์‹œํ•ด์ค„ frame(wframe, tabControl, windowContainer)์„ ์ง€์ •. "top", "parent", "frame", frame id }; $p.openPopup("/page/P00056P01.xml", jsnOptions); }; /** * wFramePopup ์‹คํ–‰ - $p.openPopup * ๋ฒ„ํŠผ [frameModal : "parent"] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_2_onclick = function (e) { var jsnOptions = { id: "popup_exam2", type: "wframePopup", width: "200px", height: "150px", top: "0px", left: "0px", popupName: "frameModal - parent", modal: "true", frameModal: "parent" //[default: ""] modal์„ ํ‘œ์‹œํ•ด์ค„ frame(wframe, tabControl, windowContainer)์„ ์ง€์ •. "top", "parent", "frame", frame id }; $p.openPopup("/page/P00056P01.xml", jsnOptions); }; /** * wFramePopup ์‹คํ–‰ - $p.openPopup * ๋ฒ„ํŠผ [frameModal : "top"] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_3_onclick = function (e) { var jsnOptions = { id: "popup_exam3", type: "wframePopup", width: "200px", height: "150px", top: "0px", left: "0px", popupName: "frameModal - top", modal: "true", frameModal: "top" //[default: ""] modal์„ ํ‘œ์‹œํ•ด์ค„ frame(wframe, tabControl, windowContainer)์„ ์ง€์ •. "top", "parent", "frame", frame id }; $p.openPopup("/page/P00056P01.xml", jsnOptions); }; /** * wFramePopup ์‹คํ–‰ - $p.openPopup * ๋ฒ„ํŠผ [frameModal : [Frame ID]] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_4_onclick = function (e) { var strFrameID; var jsnOptions; //์ปจํ…์ธ  ์˜์—ญ(P00056.xml)์˜ ID - ์ž์‹์˜ ํ™”๋ฉด์—์„œ ๋ถ€๋ชจ์˜ Frame ID๋ฅผ ํš๋“ํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด ์ƒ๋Œ€์ ์ธ ๋ฐฉ๋ฒ•์œผ๋กœ ์ ‘๊ทผํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. strFrameID = $p.getFrame().getParentFrame().getParentFrame().getParentFrame().id jsnOptions = { id: "popup_exam4", type: "wframePopup", width: "200px", height: "150px", top: "0px", left: "0px", popupName: "frameModal - frameID", modal: "true", frameModal: strFrameID //[default: ""] modal์„ ํ‘œ์‹œํ•ด์ค„ frame(wframe, tabControl, windowContainer)์„ ์ง€์ •. "top", "parent", "frame", frame id }; $p.openPopup("/page/P00056P01.xml", jsnOptions); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="" id="" style="padding: 3px; border: 3px solid Gold; min-height: 250px;"> <w2:textbox id="" label="์ด๊ณณ์€ WFrame ์˜์—ญ์ž…๋‹ˆ๋‹ค. - P00056S03.xml" style="line-height: 2.6em;"></w2:textbox> <xf:group id="" class="p10"> <xf:group style="" id="" class="titbox"> <w2:textbox tagname="h3" style="" id="" label="wFramePopup ์‹คํ–‰ - $p.openPopup" class=""></w2:textbox> </xf:group> <xf:group style="" id="" class="titbox"> <xf:trigger disabled="" style="" id="btn_ex1_1" type="button" class="btn_exam_exec" escape="false" ev:onclick="scwin.btn_ex1_1_onclick"> <xf:label><![CDATA[frameModal : "frame"]]></xf:label> </xf:trigger> <xf:trigger disabled="" style="" id="btn_ex1_2" type="button" class="btn_exam_exec" escape="false" ev:onclick="scwin.btn_ex1_2_onclick"> <xf:label><![CDATA[frameModal : "parent"]]></xf:label> </xf:trigger> <xf:trigger disabled="" style="" id="btn_ex1_3" type="button" class="btn_exam_exec" escape="false" ev:onclick="scwin.btn_ex1_3_onclick"> <xf:label><![CDATA[frameModal : "top"]]></xf:label> </xf:trigger> <xf:trigger disabled="" style="" id="btn_ex1_4" type="button" class="btn_exam_exec" escape="false" ev:onclick="scwin.btn_ex1_4_onclick"> <xf:label><![CDATA[frameModal : [Frame ID]]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00108.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[WindowContainer] ๋“œ๋ž˜๊น…๋œ ์œˆ๋„์šฐ๊ฐ€ ์œ„์น˜๋  ๋ฒ”์œ„ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220916" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.initPage(); }; /** * ํ™”๋ฉด ์ดˆ๊ธฐํ™” */ scwin.initPage = function () { var strSrc = "/page/P00108S01.xml"; var strDefaultWidth; //์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด default width ๋ณ€๊ฒฝ if (window.innerWidth < 450) { strDefaultWidth = "230px"; } else { strDefaultWidth = "300px"; } wdc_exam1.createWindow("P00108S01", null, strSrc, null, "w_P00108S01", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam1.restoreWindowSize("w_P00108S01"); //์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ ์„ค์ • wdc_exam2.createWindow("P00108S01", null, strSrc, null, "w_P00108S01", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam2.restoreWindowSize("w_P00108S01"); //์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ ์„ค์ • }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='์†์„ฑ "windowMoveType" ์„ค์ •์˜ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์†์„ฑ "windowMoveType"์€ ๋งˆ์šฐ์Šค Drag&amp;Drop์„ ํ†ตํ•ด ์ด๋™๋œ ์œˆ๋„์šฐ์˜ ์ขŒํ‘œ๊ฐ€ WindowContainer์˜ ์˜์—ญ์˜ ๋ฐ–์ธ ๊ฒฝ์šฐ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์„ค์ •์— ๋”ฐ๋ผ ์œˆ๋„์šฐ์˜ ์œ„์น˜๋ฅผ ์˜์—ญ ์•ˆ์ชฝ์œผ๋กœ ์œ„์น˜ ์‹œํ‚ค๊ฑฐ๋‚˜ ๋งˆ์šฐ์Šค ํฌ์ธํ„ฐ์˜ ์ขŒํ‘œ์— ๋”ฐ๋ผ ์œˆ๋„์šฐ๋ฅผ ์œ„์น˜ ์‹œํ‚ฌ์ง€๋ฅผ ๊ฒฐ์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ๋งˆ์šฐ์Šค ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•œ ํ™˜๊ฒฝ์—์„œ ์ •์ƒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group id="" style="" class=""></xf:group> <xf:group class="example_div_tb_style_wrap mw600" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='[๊ธฐ๋ณธ์„ค์ •] windowMoveType="restrict"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์œˆ๋„์šฐ ๋“œ๋ž˜๊ทธ ์‹œ ์œˆ๋„์šฐ๊ฐ€ ์˜์—ญ ๋ฐ–์œผ๋กœ ๋‚˜๊ฐ€์ง€ ์•Š๋„๋ก ์˜์—ญ ์•ˆ์ชฝ์œผ๋กœ๋งŒ ์œ„์น˜๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:windowContainer controlIconPosition="left" fixArrangeFullScreen="false" hideTitleOnMaximize="false" horizontalArrangeNum="2" id="wdc_exam1" nameLayerRearrange="false" sequentialArrangeColNum="2" sequentialArrangeRowNum="2" spaInitCount="0" stopMinimizeOnNameLayer="false" stopToggleOnLast="false" style="position: relative;height: 340px;" toolbarPosition="bottom" tooltipDisplay="true" tooltipGroupClass="false" useCloseButton="false" useControlIconTitle="false" useCustomMsg="false" useFixButton="false" useNameContainer="false" useStatusMsg="false" verticalArrangeNum="2" windowAutoResize="false" windowMaxNum="5" windowMaximizeAll="false" windowTooltipDisplay="true"> <w2:windowToolbar> <w2:controlIconLayer> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> </w2:controlIconLayer> <w2:nameLayer></w2:nameLayer> <w2:selectedNameLayer></w2:selectedNameLayer> </w2:windowToolbar> </w2:windowContainer> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='windowMoveType="overflow"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์œˆ๋„์šฐ ๋“œ๋ž˜๊ทธ ์‹œ ๋งˆ์šฐ์Šค ํฌ์ธํ„ฐ์˜ ์œ„์น˜๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ์œˆ๋„์šฐ๊ฐ€ ์œ„์น˜๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:windowContainer controlIconPosition="left" fixArrangeFullScreen="false" hideTitleOnMaximize="false" horizontalArrangeNum="2" id="wdc_exam2" nameLayerRearrange="false" sequentialArrangeColNum="2" sequentialArrangeRowNum="2" spaInitCount="0" stopMinimizeOnNameLayer="false" stopToggleOnLast="false" style="position: relative;height: 340px;" toolbarPosition="bottom" tooltipDisplay="true" tooltipGroupClass="false" useCloseButton="false" useControlIconTitle="false" useCustomMsg="false" useFixButton="false" useNameContainer="false" useStatusMsg="false" verticalArrangeNum="2" windowAutoResize="false" windowMaxNum="5" windowMaximizeAll="false" windowTooltipDisplay="true" windowMoveType="overflow"> <w2:windowToolbar> <w2:controlIconLayer> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> </w2:controlIconLayer> <w2:nameLayer></w2:nameLayer> <w2:selectedNameLayer></w2:selectedNameLayer> </w2:windowToolbar> </w2:windowContainer> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00109.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์—‘์…€ ์—…๋กœ๋“œ ์‹œ ์—‘์…€ ํŒŒ์ผ์˜ ์…€์— ํฌํ•จ๋œ ๊ณต๋ฐฑ ์ œ๊ฑฐํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [์—…๋กœ๋“œํ•  ์—‘์…€ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { //์—‘์…€ ์—…๋กœ๋“œ ์–‘์‹ ๋‹ค์šด๋กœ๋“œ $c.frame.downloadSource("/page/resource/SP5_EXAMPLE_P00109_UPLOAD.xlsx"); }; /** * ๋ฒ„ํŠผ [์—‘์…€ ์—…๋กœ๋“œ - ๊ธฐ๋ณธ] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { var jsnOptions; jsnOptions = { headerExist: "1" //[default: 0] Excel ํŒŒ์ผ์—์„œ ๊ทธ๋ฆฌ๋“œ์˜ ๋ฐ์ดํ„ฐ์— header๊ฐ€ ์žˆ๋Š”์ง€ ์—ฌ๋ถ€(1์ด๋ฉด header ์กด์žฌ 0์ด๋ฉด ์—†์Œ) }; //GridView "grd_exam1"์˜ ์—‘์…€ ์—…๋กœ๋“œ ์‹คํ–‰ grd_exam1.advancedExcelUpload(jsnOptions); }; /** * ๋ฒ„ํŠผ [์—‘์…€ ์—…๋กœ๋“œ - trim ์ ์šฉ] ํด๋ฆญ ์‹œ */ scwin.btn_ex3_onclick = function (e) { var jsnOptions; jsnOptions = { headerExist: "1", //[default: 0] Excel ํŒŒ์ผ์—์„œ ๊ทธ๋ฆฌ๋“œ์˜ ๋ฐ์ดํ„ฐ์— header๊ฐ€ ์žˆ๋Š”์ง€ ์—ฌ๋ถ€(1์ด๋ฉด header ์กด์žฌ 0์ด๋ฉด ์—†์Œ) trim: 1 //[default: 0, 1] ์—‘์…€ ๊ฐ๊ฐ์˜ ์…€๋ฐ์ดํ„ฐ ์ขŒ, ์šฐ์— ๊ณต๋ฐฑ์ด ์žˆ๋Š” ๊ฒฝ์šฐ ์ œ๊ฑฐํ• ์ง€ ์—ฌ๋ถ€ (1์ด๋ฉด ์ œ๊ฑฐ, 0์ด๋ฉด ์œ ์ง€) }; //GridView "grd_exam1"์˜ ์—‘์…€ ์—…๋กœ๋“œ ์‹คํ–‰ grd_exam1.advancedExcelUpload(jsnOptions); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ ์—‘์…€ ์—…๋กœ๋“œ ์˜ต์…˜ ์ค‘ "trim" ์„ค์ •์˜ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์˜ต์…˜ "trim"์€ ์—…๋กœ๋“œํ•  ์—‘์…€ ํŒŒ์ผ์˜ ์…€ ๋ฐ์ดํ„ฐ์— trim(์•ž๋’ค ๊ณต๋ฐฑ ์ œ๊ฑฐ)์„ ์ ์šฉํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;[์—‘์…€ ์—…๋กœ๋“œ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ] ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ๋ฏธ๋ฆฌ ์ƒ์„ฑ๋œ ์—‘์…€ ์–‘์‹์œผ๋กœ ์—…๋กœ๋“œ ํ…Œ์ŠคํŠธ๋ฅผ ์ง„ํ–‰ํ•˜๋Š” ๊ฒƒ์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group id="" style="" class="example_div_tb_style_wrap"> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์—‘์…€ ์—…๋กœ๋“œ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์—‘์…€ ์—…๋กœ๋“œ - ๊ธฐ๋ณธ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" id="btn_ex3" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true" ev:onclick="scwin.btn_ex3_onclick"> <xf:label><![CDATA[์—‘์…€ ์—…๋กœ๋“œ - trim ์ ์šฉ]]></xf:label> </xf:trigger> </xf:group> <w2:gridView autoFit="allColumn" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam1" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" autoFitMinWidth="250"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="150"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="150"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00056S02.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220729" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="" id="" style="padding: 3px; border: 3px solid LightSalmon;"> <w2:textbox id="" label="์ด๊ณณ์€ WFrame ์˜์—ญ์ž…๋‹ˆ๋‹ค. - P00056S02.xml" style="line-height: 2.6em;"></w2:textbox> <w2:wframe id="wfm_depth3" src="/page/P00056S03.xml" style="" frameModal="true"></w2:wframe> </xf:group> </body> </html>
WRE/WebContent/page/P00135.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[InputCalendar] ์ž…๋ ฅ, ์ถœ๋ ฅ ์„œ์‹ ์ง€์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221014" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; scwin.btn_ex1_1_onclick = function (e) { ica_exam_1.setValue('20220815'); }; scwin.btn_ex1_2_onclick = function (e) { ica_exam_2.setValue('08152022'); }; scwin.btn_ex1_3_onclick = function (e) { ica_exam_3.setValue('20220815'); }; scwin.btn_ex1_4_onclick = function (e) { ica_exam_4.setValue('08152022'); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='์ง€์ •๋œ ์ž…์ถœ๋ ฅ ์„œ์‹์— ๋”ฐ๋ผ value๋กœ ํ• ๋‹น๋œ ๊ฐ’์ด ํ‘œํ˜„๋œ ๊ฒƒ์„ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์ž…๋ ฅ ์„œ์‹์€ ์†์„ฑ ioFormat, ์ถœ๋ ฅ ์„œ์‹์€ ์†์„ฑ displayFormat, calendarDisplayFormat์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ ์„ค์ •] ์ž…๋ ฅ ์„œ์‹ : ์—ฐ์›”์ผ / ์ถœ๋ ฅ ์„œ์‹ : ์—ฐ-์›”-์ผ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_1" rightAlign="false" style="width:100px;min-height: 24px;" renderDiv="true" class="mr_def"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex1_1_onclick" id="btn_ex1_1" style="" type="button"> <xf:label><![CDATA[setValue( '20220815' )]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ž…๋ ฅ ์„œ์‹ : ์›”์ผ์—ฐ / ์ถœ๋ ฅ ์„œ์‹ : ์›”-์ผ-์—ฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_2" renderDiv="true" rightAlign="false" style="width:100px;min-height: 24px;" ioFormat="MMddyyyy" displayFormat="MM-dd-yyyy" class="mr_def" calendarDisplayFormat="MM-dd-yyyy"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex1_2_onclick" id="btn_ex1_2" style="" type="button"> <xf:label><![CDATA[setValue( '08152022' )]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ž…๋ ฅ ์„œ์‹ : ์—ฐ์›”์ผ / ์ถœ๋ ฅ ์„œ์‹ : ์›”-์ผ-์—ฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" displayFormat="MM-dd-yyyy" focusOnDateSelect="false" id="ica_exam_3" ioFormat="yyyyMMdd" renderDiv="true" rightAlign="false" style="width:100px;min-height: 24px;" class="mr_def" calendarDisplayFormat="MM-dd-yyyy"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" disabled="" escape="false" id="btn_ex1_3" style="" type="button" ev:onclick="scwin.btn_ex1_3_onclick"> <xf:label><![CDATA[setValue( '20220815' )]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ž…๋ ฅ ์„œ์‹ : ์›”์ผ์—ฐ / ์ถœ๋ ฅ ์„œ์‹ : ์—ฐ-์›”-์ผ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" class="mr_def" displayFormat="yyyy-MM-dd" focusOnDateSelect="false" id="ica_exam_4" ioFormat="MMddyyyy" renderDiv="true" rightAlign="false" style="width:100px;min-height: 24px;" calendarDisplayFormat="yyyy-MM-dd"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex1_4_onclick" id="btn_ex1_4" style="" type="button"> <xf:label><![CDATA[setValue( '08152022' )]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00121.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[Group] Event - onmouseleave (๋งˆ์šฐ์Šค ํฌ์ธํ„ฐ๊ฐ€ ์˜์—ญ ๋ฐ–์œผ๋กœ ๋‚˜๊ฐˆ ๋•Œ ๋ฐœ์ƒ)"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { txa_log.setValue(""); }; /** * Group "grp_exam1"์˜ onmouseleave ํ•ธ๋“ค๋Ÿฌ * ๋งˆ์šฐ์Šค ํฌ์ธํ„ฐ๊ฐ€ ์˜์—ญ ๋ฐ–์œผ๋กœ ๋‚˜๊ฐˆ ๋•Œ ๋ฐœ์ƒ */ scwin.grp_exam1_onmouseleave = function (e) { var strLog; //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("**** onmouseleave ๋ฐœ์ƒ ****", txa_log); //์ด๋ฒคํŠธ ์ •๋ณด ์ถœ๋ ฅ console.log(e); $c.frame.printExampleLog("๋ธŒ๋ผ์šฐ์ €์˜ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ ์ฝ˜์†”์„ ํ™•์ธํ•˜์„ธ์š”.", txa_log, false); strLog = "์ด๋ฒคํŠธ ๋ฐœ์ƒ ์ปดํฌ๋„ŒํŠธ ID : " + this.getOriginalID() + " | "; strLog += "์ด๋ฒคํŠธ ํƒ€์ž… : " + e.type; //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog(strLog, txa_log, false); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="Group์˜ ์ด๋ฒคํŠธ onmouseleave ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ด๋ฒคํŠธ ๋ฐœ์ƒ ์กฐ๊ฑด์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;onmouseleave : ๋งˆ์šฐ์Šค ํฌ์ธํ„ฐ๊ฐ€ ์˜์—ญ ๋ฐ–์œผ๋กœ ๋‚˜๊ฐˆ ๋•Œ ๋ฐœ์ƒ." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Group" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์•„๋ž˜์˜ Group ์˜์—ญ์œผ๋กœ ๋งˆ์šฐ์Šค๋ฅผ ์ด๋™ํ–ˆ๋‹ค๊ฐ€ ์˜์—ญ ๋ฐ–์œผ๋กœ ๋งˆ์šฐ์Šค๋ฅผ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์ด๋ฒคํŠธ ๋กœ๊ทธ๊ฐ€ [๋กœ๊ทธ ํ™•์ธ] ์˜์—ญ๊ณผ ๊ฐœ๋ฐœ์ž ๋„๊ตฌ ์ฝ˜์†”์— ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group id="grp_exam1" style="height: 120px;background-color: LemonChiffon;" ev:onmouseleave="scwin.grp_exam1_onmouseleave"> <w2:textbox id="" label="Group ์˜์—ญ" style="text-align: center;font-size: 2em;padding-top: 30px;"></w2:textbox> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_th_style" id="" style=""> <w2:span class="mr_def txt_blue" id="" label="๋กœ๊ทธ ํ™•์ธ" style=""></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00243.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์—‘์…€ ๋‹ค์šด๋กœ๋“œ ์‹œ ์Šคํƒ€์ผ ์ง€์ •ํ•˜๊ธฐ - ๊ณตํ†ต"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230315" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="category1" name="๋Œ€๋ถ„๋ฅ˜"></w2:column> <w2:column dataType="text" id="title" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="row3_1" name="์ƒ๋ฐ˜๊ธฐ"></w2:column> <w2:column dataType="text" id="row3_2" name="ํ•˜๋ฐ˜๊ธฐ"></w2:column> </w2:columnInfo> <w2:data use="true" xmlns=""> <w2:row> <category1><![CDATA[์†Œ์„ค]]></category1> <row3_1><![CDATA[200]]></row3_1> <row3_2><![CDATA[300]]></row3_2> <title><![CDATA[์นผ์˜ ๋…ธ๋ž˜]]></title> </w2:row> <w2:row> <category1><![CDATA[์†Œ์„ค]]></category1> <row3_1><![CDATA[300]]></row3_1> <row3_2><![CDATA[200]]></row3_2> <title><![CDATA[ํƒœ๋ฐฑ์‚ฐ๋งฅ]]></title> </w2:row> <w2:row> <category1><![CDATA[์†Œ์„ค]]></category1> <row3_1><![CDATA[400]]></row3_1> <row3_2><![CDATA[200]]></row3_2> <title><![CDATA[๋‹ฌ๊ณผ 6ํŽœ์Šค]]></title> </w2:row> <w2:row> <category1><![CDATA[์—ญ์‚ฌ/๋ฌธํ™”]]></category1> <row3_1><![CDATA[600]]></row3_1> <row3_2><![CDATA[300]]></row3_2> <title><![CDATA[์กฐ์„ ์™•์กฐ์‹ค๋ก]]></title> </w2:row> <w2:row> <category1><![CDATA[์—ญ์‚ฌ/๋ฌธํ™”]]></category1> <row3_1><![CDATA[1200]]></row3_1> <row3_2><![CDATA[900]]></row3_2> <title><![CDATA[๋‚œ์ค‘์ผ๊ธฐ]]></title> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [์—‘์…€ ๋‹ค์šด๋กœ๋“œ - ๊ธฐ๋ณธ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { var jsnOptions; jsnOptions = { fileName: "SP5_EXAMPLE_P00243_TYPE1.xlsx", //์—‘์…€์˜ ํŒŒ์ผ๋ช… useSubTotal: "true" //subTotal ํ‘œ์‹œ }; grd_exam1.advancedExcelDownload(jsnOptions); }; /** * ๋ฒ„ํŠผ [์—‘์…€ ๋‹ค์šด๋กœ๋“œ - ๊ณตํ†ต ์Šคํƒ€์ผ ์ ์šฉ] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { var jsnOptions; jsnOptions = { fileName: "SP5_EXAMPLE_P00243_TYPE2.xlsx", //์—‘์…€์˜ ํŒŒ์ผ๋ช… useSubTotal: "true", //ํ•„์ˆ˜ ์ง€์ • - subTotal ํ‘œ์‹œ rowHeight: "30", //Excel ํŒŒ์ผ๋กœ ๋‹ค์šด๋กœ๋“œ ํ•  ๋•Œ ์—‘์…€์˜ ์…€ ๋†’์ด. (๋‹จ์œ„: pixel) displayGridlines: "false" //Excel ํŒŒ์ผ ์ „์ฒด ์…€์˜ ๋ˆˆ๊ธˆ์„  ์ œ๊ฑฐ ์œ ๋ฌด }; //GridView "grd_exam1"์˜ ์—‘์…€ ๋‹ค์šด๋กœ๋“œ ์‹คํ–‰ grd_exam1.advancedExcelDownload(jsnOptions); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents"> <xf:group class="ws_example_grp_desc"> <w2:textbox class="" escape="false" label="GridView์˜ ์—‘์…€ ๋‹ค์šด๋กœ๋“œ(ํ•จ์ˆ˜ 'advancedExcelDownload') ์˜ต์…˜ ์ค‘ ๊ณตํ†ต์œผ๋กœ ์Šคํƒ€์ผ์„ ์ ์šฉํ•  ์ˆ˜ ์žˆ๋Š” ์˜ต์…˜ ์„ค์ •์˜ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์Šคํƒ€์ผ์„ ์ง€์ •ํ•  ์ˆ˜ ์žˆ๋Š” ์˜ต์…˜์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="" escape="false" id="" label="- rowHeight : [default: ์—†์Œ] Excel ํŒŒ์ผ๋กœ ๋‹ค์šด๋กœ๋“œ ํ•  ๋•Œ ์—‘์…€์˜ ์…€ ๋†’์ด. (๋‹จ์œ„: pixel)&lt;br/&gt;- displayGridlines : [default: true, false] Excel ํŒŒ์ผ ์ „์ฒด ์…€์˜ ๋ˆˆ๊ธˆ์„  ์ œ๊ฑฐ ์œ ๋ฌด" style="margin-bottom: 6px;"> </w2:textbox> <w2:textbox class="" escape="false" label="๋‹ค์šด๋กœ๋“œ๋œ ์—‘์…€ ํŒŒ์ผ์˜ ํ–‰ ๋†’์ด, ๋ˆˆ๊ธˆ์„  ์œ ๋ฌด๋ฅผ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap"> <xf:group class="mb_def_box nobottom"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์—‘์…€ ๋‹ค์šด๋กœ๋“œ - ๊ธฐ๋ณธ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width:30px;height:26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์—‘์…€ ๋‹ค์šด๋กœ๋“œ - ๊ณตํ†ต ์Šคํƒ€์ผ ์ ์šฉ]]></xf:label> </xf:trigger> </xf:group> <w2:gridView autoFitMinWidth="266" baseNode="" class="gvw" dataList="data:dlt_books" defaultCellHeight="26" focusMode="row" id="grd_exam1" readOnly="true" style="height:200px;" visibleRowNum="all" autoFit="allColumn"> <w2:header id="header5" style=""> <w2:row id="row35" style=""> <w2:column blockSelect="false" displayMode="label" hidden="false" id="column572" inputType="text" value="๋ถ„๋ฅ˜" width="68"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column575" inputType="text" value="๋„์„œ๋ช…" width="90"></w2:column> <w2:column id="column468" inputType="text" value="์ƒ๋ฐ˜๊ธฐ" width="54"></w2:column> <w2:column id="column467" inputType="text" value="ํ•˜๋ฐ˜๊ธฐ" width="54"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody5" style=""> <w2:row id="row37" style=""> <w2:column blockSelect="false" colMerge="true" displayMode="label" hidden="false" id="category1" inputType="text" width="68"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="title" inputType="text" textAlign="left" width="90"></w2:column> <w2:column dataType="number" displayFormat="#,###" id="row3_1" inputType="text" textAlign="right" width="54"></w2:column> <w2:column dataType="number" displayFormat="#,###" id="row3_2" inputType="text" textAlign="right" width="54"></w2:column> </w2:row> </w2:gBody> <w2:subTotal id="subTotal1" style="" targetColumnID="category1"> <w2:row id="row42" style=""> <w2:column blockSelect="false" displayMode="label" id="column577" inputType="text" style="height:30px;" value="์†Œ๊ณ„" width="68"> </w2:column> <w2:column blockSelect="false" displayMode="label" expression="targetColValue() + ' - ' +count('row_total') + '๊ฑด'" id="column596" inputType="expression" style="height:30px;" textAlign="left" width="90"> </w2:column> <w2:column blockSelect="false" dataType="number" displayFormat="#,###" displayMode="label" expression="sum('row3_1')" id="sub_col_1" inputType="expression" style="height:30px;" textAlign="right" width="54"> </w2:column> <w2:column blockSelect="false" dataType="number" displayFormat="#,###" displayMode="label" expression="sum('row3_2')" id="sub_col_2" inputType="expression" style="height:30px;" textAlign="right" width="54"> </w2:column> </w2:row> </w2:subTotal> <w2:footer id="footer1" style=""> <w2:row id="row41" style=""> <w2:column blockSelect="false" displayMode="label" id="column580" inputType="text" style="height:40px;" value="ํ•ฉ๊ณ„" width="68"> </w2:column> <w2:column expression="'์ด ํ•ฉ๊ณ„ - '+count('row_total') +'๊ฑด'" id="column597" inputType="expression" style="height:40px;" textAlign="left" width="90"> </w2:column> <w2:column dataType="number" displayFormat="#,###" expression="sum('row3_1')" id="column526" inputType="expression" style="height:40px;" textAlign="right" width="54"> </w2:column> <w2:column blockSelect="false" dataType="number" displayFormat="#,###" displayMode="label" expression="sum('row3_2')" id="column584" inputType="expression" style="height:40px;" textAlign="right" width="54"> </w2:column> </w2:row> </w2:footer> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00257.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230412" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="Code" name="name1" dataType="text"></w2:column> <w2:column id="City" name="name2" dataType="text"></w2:column> <w2:column id="Country" name="name3" dataType="text"></w2:column> <w2:column id="Type" name="name4" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { let jsonData = [ { "Code": "SEL", "City": "Seoul, the largest city in Korea", "Country": "Korea", "Type": "Domestic" }, { "Code": "BSN", "City": "Busan, the second largest city in Korea", "Country": "Korea", "Type": "Domestic" }, { "Code": "ICN", "City": "Incheon, the gateway to Korea", "Country": "Korea", "Type": "Domestic" }, { "Code": "DJN", "City": "Daejeon, the government city of Korea", "Country": "Korea", "Type": "Domestic" }, { "Code": "DGU", "City": "Jeju, the largest island in Korea", "Country": "Korea", "Type": "Domestic" }, { "Code": "OTW", "City": "Ottawa in Canada", "Country": "Canada", "Type": "Overseas" }, { "Code": "LDN", "City": "Toronto in Canada", "Country": "Canada", "Type": "Overseas" }, { "Code": "BRN", "City": "Berlin in Germany", "Country": "Germany", "Type": "Overseas" }, { "Code": "BJG", "City": "Beijing in China", "Country": "China", "Type": "Overseas" }, { "Code": "LDN", "City": "London in GB", "Country": "UK", "Type": "Overseas" }, ]; // DataList 'dlt_dataList1'์— json๋ฐ์ดํ„ฐ 'jsonData'๋ฅผ setํ•ฉ๋‹ˆ๋‹ค. dlt_dataList1.setJSON(jsonData); // SelectBox 'sbx_exam1'์— DataList 'dlt_dataList1'์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. sbx_exam1.setNodeSet("data:dlt_dataList1", "City", "Code"); // SelectBox 'sbx_exam2'์— DataList 'dlt_dataList1'์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. sbx_exam2.setNodeSet("data:dlt_dataList1", "City", "Code"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='SelectBox ์ปดํฌ๋„ŒํŠธ์˜ ์„ ํƒ ๋ชฉ๋ก ์œ„์—์„œ ๋งˆ์šฐ์Šค ์Šคํฌ๋กค๋ง ์‹œ ์„ ํƒ ๋ชฉ๋ก ์ด ์Šคํฌ๋กค๋˜๋Š” ๊ฒƒ์„ ๋ฐฉ์ง€ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- tooltipDisplay : ์‚ฌ์šฉ์ž๊ฐ€ ์„ ํƒํ•œ ๊ฐ’์— ๋Œ€ํ•œ ํˆดํŒ ํ‘œ์‹œ ์—ฌ๋ถ€.&lt;br/&gt;- itemTooltipDisplay : ์•„์ดํ…œ ๋ชฉ๋ก์— ๋Œ€ํ•œ ํˆดํŒ ํ‘œ์‹œ ์—ฌ๋ถ€.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์„ ํƒ ํ•ญ๋ชฉ ํˆดํŒ ํ‘œ์‹œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ์˜ ์„ ํƒ ํ•ญ๋ชฉ ์œ„์— ํˆดํŒ์ด ํ‘œ์‹œ๋œ ๊ฒƒ์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:select1 id="sbx_exam1" chooseOption="" style="width: 148px;height: 21px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref="" tooltipDisplay="true"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="name"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ชฉ๋ก ์œ„์— ํˆดํŒ์ด ํ‘œ์‹œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ์˜ ๋ชฉ๋ก ์œ„์— ํˆดํŒ์ด ํ‘œ์‹œ๋œ ๊ฒƒ์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:select1 id="sbx_exam2" chooseOption="" style="width: 148px;height: 21px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref="" itemTooltipDisplay="true"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="name"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00280.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[DataList] ์ปฌ๋Ÿผ์— ์ ์šฉ๋œ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230628" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column id="price" name="์ •๊ฐ€" dataType="text"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column></w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { // DataList์— ์ดˆ๊ธฐ ๋ฐ์ดํ„ฐ ํ• ๋‹น scwin.initData(); }; /** * DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ */ scwin.initData = function () { // DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ let data = [ { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "categoryLabel": "์ธ๋ฌธ", "price": "18000" }, { "label": "์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค", "categoryLabel": "์ž๊ธฐ๊ณ„๋ฐœ", "price": "17800" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "17600" }, { "label": "๋งŒ์ผ ๋‚ด๊ฐ€ ์ธ์ƒ์„ ๋‹ค์‹œ ์‚ฐ๋‹ค๋ฉด", "categoryLabel": "์ธ๋ฌธ", "price": "17200" }, { "label": "์ธ์ƒ ์ˆ˜์—…", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "18000" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "categoryLabel": "์ธ๋ฌธ", "price": "16000" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "17800" }, { "label": "๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)", "categoryLabel": "์—ญ์‚ฌ/๋ฌธํ™”", "price": "28900" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "categoryLabel": "์†Œ์„ค", "price": "14000" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "15800" }, { "label": "์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "15000" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "categoryLabel": "์†Œ์„ค", "price": "14500" } ]; dlt_books_1.setJSON(data); // DataList 'dlt_books_1'์˜ ๋ชจ๋“  ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ dlt_books_1.clearFilter(); }; /** * ๋ฒ„ํŠผ [DataList์˜ ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”] ํด๋ฆญ ์‹œ */ scwin.btn_initData_onclick = function (e) { scwin.initData(); }; /** * ๋ฒ„ํŠผ [1.1 ํ•„ํ„ฐ ์ ์šฉํ•˜๊ธฐ - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋˜๊ณ  ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์ธ๋ฌธ'๊ณผ ์ผ์น˜] ํด๋ฆญ ์‹œ * ๋ฒ„ํŠผ [2.1 ํ•„ํ„ฐ ์ ์šฉํ•˜๊ธฐ - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋˜๊ณ  ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์ธ๋ฌธ'๊ณผ ์ผ์น˜] ํด๋ฆญ ์‹œ */ scwin.exam_setColumnFilter = function () { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. - ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ dlt_books_1.setColumnFilter({ "type": "row", "colIndex": "label", "key": "์ธ์ƒ", "exactMatch": false, "condition": "and" }); // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. - ๊ฐ’์ด '์ธ๋ฌธ'๊ณผ ์ผ์น˜ dlt_books_1.setColumnFilter({ "type": "row", "colIndex": "categoryLabel", "key": "์ธ๋ฌธ", "exactMatch": true, "condition": "and" }); }; /** * ๋ฒ„ํŠผ [1.2 ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ์ ์šฉ๋œ ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.removeColumnFilter("categoryLabel"); }; /** * ๋ฒ„ํŠผ [1.3 ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_3_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์— ์ ์šฉ๋œ ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.removeColumnFilter("label"); }; /** * ๋ฒ„ํŠผ [2.2 ๋ชจ๋“  ์ปฌ๋Ÿผ์˜ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam2_2_onclick = function (e) { // DataList 'dlt_books_1'์— ์ ์šฉ๋œ ๋ชจ๋“  ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="DataList์˜ ์ปฌ๋Ÿผ์— ์ ์šฉ๋œ ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;" style=""> </w2:textbox> <w2:textbox escape="false" id="" label="ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•˜๋Š” ํ•จ์ˆ˜๋Š” 2๊ฐ€์ง€๊ฐ€ ์žˆ์œผ๋ฉฐ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- removeColumnFilter : ์ปฌ๋Ÿผ ๋‹จ์œ„๋กœ ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;- clearFilter : ๋ชจ๋“  ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" id="" label="์ˆœ์„œ์— ๋งž๊ฒŒ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ GridView์˜ ์ถœ๋ ฅ ๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค." style="" escape="false"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style no_padding" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" disabled="" escape="false" ev:onclick="scwin.btn_initData_onclick" id="btn_initData" style="" type="button"> <xf:label><![CDATA[DataList์˜ ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ปฌ๋Ÿผ์— ์ ์šฉ๋œ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.exam_setColumnFilter" id="" style="" type="button"> <xf:label><![CDATA[1.1 ํ•„ํ„ฐ ์ ์šฉํ•˜๊ธฐ - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋˜๊ณ  ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์ธ๋ฌธ'๊ณผ ์ผ์น˜]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[1.2 ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_3_onclick" id="btn_exam1_3" style="" type="button"> <xf:label><![CDATA[1.3 ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ชจ๋“  ์ปฌ๋Ÿผ์— ์ ์šฉ๋œ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.exam_setColumnFilter" id="" style="" type="button"> <xf:label><![CDATA[2.1 ํ•„ํ„ฐ ์ ์šฉํ•˜๊ธฐ - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋˜๊ณ  ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์ด '์ธ๋ฌธ'๊ณผ ์ผ์น˜]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" id="btn_exam2_2" style="" type="button" ev:onclick="scwin.btn_exam2_2_onclick"> <xf:label><![CDATA[2.2 ๋ชจ๋“  ์ปฌ๋Ÿผ์˜ ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ฒฐ๊ณผ ํ™•์ธ์šฉ GridView" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="" initFixedHeightByRowNum="4" readOnly="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="4"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column4" inputType="text" value="์ •๊ฐ€" width="50"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="price" inputType="text" value="" width="50"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00294.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[TabControl] ํƒญ์˜ ์ •๋ณด ๋ฐ˜ํ™˜๋ฐ›๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230717" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = async function () { // ์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด ํƒญ ์ถ”๊ฐ€ await tac_exam1.addTab( "tab_exam", { "label": "TAB2", "openAction": "select", "tabWidth": 70 }, { "src": "/page/P00294S01.xml", "wframe": true } ); }; /** * ๋ฒ„ํŠผ [ํƒญ์˜ ์ •๋ณด ๋ฐ˜ํ™˜๋ฐ›๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // TabControl 'tac_exam1'์˜ ํƒญ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = tac_exam1.getTabInfo(); // ๋ฐ˜ํ™˜ ๊ฐ’ ์˜ˆ์‹œ) // [ // { // "id": "tabs1", // "label": "TAB1", // "defaultTabIndex": 0, // "currentTabIndex": 0, // "src": "", // "alwaysDraw": false // }, // { // "id": "tab_exam", // "label": "TAB2", // "defaultTabIndex": 1, // "currentTabIndex": 1, // "src": "/page/P00294S01.xml", // "alwaysDraw": false // } // ] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# TabControl์˜ ํ•จ์ˆ˜ 'getTabInfo'์˜ ๋ฐ˜ํ™˜ ๊ฐ’: \n"; $c.frame.printExampleLog(strLog + JSON.stringify(result, null, " "), txa_log_1, false); console.log(strLog); console.log(result); }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { let strTargetId = this.getUserData("userData1"); let cmpTarget; if (strTargetId) { cmpTarget = $p.getComponentById(strTargetId) || txa_log; } else { cmpTarget = txa_log; } //textarea value๋ฅผ ๋นˆ๋ฌธ์ž์—ด๋กœ ํ• ๋‹น. cmpTarget.setValue(""); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="TabControl์˜ ํƒญ ์ •๋ณด๋ฅผ ๋ฐ˜ํ™˜ํ•˜๋Š” ํ•จ์ˆ˜ 'getTabInfo' ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๊ฐ ํƒญ์˜ ์ •๋ณด๋ฅผ JSON์œผ๋กœ ๊ตฌ์„ฑํ•˜์—ฌ Array๋กœ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด '๋กœ๊ทธ ํ™•์ธ' ์˜์—ญ๊ณผ ๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž๋„๊ตฌ์˜ ์ฝ˜์†”์— ๋กœ๊ทธ๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋กœ๊ทธ๋ฅผ ํ†ตํ•ด ๋ฐ˜ํ™˜๋˜๋Š” ๋ฐ์ดํ„ฐ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group id="" style="" class=""></xf:group> <xf:group class="example_div_tb_style_wrap mw600" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[ํƒญ์˜ ์ •๋ณด ๋ฐ˜ํ™˜๋ฐ›๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class=""> <w2:tabControl confirmTrueAction="exist" confirmFalseAction="new" useTabKeyOnly="true" tabScroll="" useMoveNextTabFocus="false" useConfirmMessage="false" alwaysDraw="false" style="position: relative;height: 120px;" id="tac_exam1" class=""> <w2:tabs disabled="false" style="width:70px;height:30px;" id="tabs1" label="TAB1"></w2:tabs> <w2:content alwaysDraw="false" style="min-height:30px;" id="content1"> <w2:textbox style="font-size: 1.2em;padding: 6px;color: steelblue;font-weight: bold;" id="" label="TAB1 CONTENT"> </w2:textbox> </w2:content> </w2:tabControl> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <w2:span class="mr_def txt_bold" id="" label="๋กœ๊ทธ ํ™•์ธ" style=""></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button" userData1="txa_log_1"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:textarea class="com_example_txa_log" id="txa_log_1" spellcheck="false" style="width: 100%;height: 90px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00069.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[AutoComplete] ๋ชฉ๋ก์—์„œ ํ•ญ๋ชฉ์ด ์„ ํƒ๋˜์—ˆ์„ ๋•Œ์˜ ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ ๋“ฑ๋กํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220803" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * acb_exam ์ปดํฌ๋„ŒํŠธ์˜ ์ด๋ฒคํŠธ onselected ํ•ธ๋“ค๋Ÿฌ */ scwin.acb_exam_onselected = function (info) { var strLog; var _newSelectedIndex = info.newSelectedIndex; //์„ ํƒ๋œ ํ•ญ๋ชฉ์˜ index var _newValue = info.newValue; //์„ ํƒ๋œ ๊ฐ’ var _oldSelectedIndex = info.oldSelectedIndex; //์ด์ „์— ์„ ํƒ๋œ ํ•ญ๋ชฉ์˜ index var _oldValue = info.oldValue; //์ด์ „ ๊ฐ’ //์ด๋ฒคํŠธ ํ™•์ธ์šฉ ๋กœ๊ทธ ์ถœ๋ ฅ console.log("scwin.acb_exam_onselected >> ", info); $c.frame.printExampleLog("scwin.acb_exam_onselected", txa_log); $c.frame.printExampleLog("info : \n" + JSON.stringify(info, null, "\t"), txa_log, false); strLog = "info.newSelectedIndex : " + _newSelectedIndex + "\n"; strLog += "info.newValue : " + _newValue + "\n"; strLog += "info.oldSelectedIndex : " + _oldSelectedIndex + "\n"; strLog += "info.oldValue : " + _oldValue; $c.frame.printExampleLog(strLog, txa_log, false); //๋กœ์ง ๊ตฌ์„ฑ }; /** * acb_exam ์ปดํฌ๋„ŒํŠธ์˜ ์ด๋ฒคํŠธ onitemclick ํ•ธ๋“ค๋Ÿฌ */ scwin.acb_exam_onitemclick = function (index) { //์ด๋ฒคํŠธ ํ™•์ธ์šฉ ๋กœ๊ทธ ์ถœ๋ ฅ console.log("scwin.acb_exam_onitemclick >> ", index); $c.frame.printExampleLog("scwin.acb_exam_onitemclick", txa_log); $c.frame.printExampleLog("index : " + index, txa_log, false); //๋กœ์ง ๊ตฌ์„ฑ }; /** * ๋กœ๊ทธ ์ถœ๋ ฅ์šฉ ํ•จ์ˆ˜ */ scwin.printLog = function (argStr) { var strLog; strLog = txa_log.getValue(); txa_log.setValue(strLog + "\n" + argStr); }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { //textarea value๋ฅผ ๋นˆ๋ฌธ์ž์—ด๋กœ ํ• ๋‹น. txa_log.setValue(""); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='๊ฒ€์ƒ‰์–ด "b"๋ฅผ ์ž…๋ ฅ ํ›„ ๋ชฉ๋ก์—์„œ ํ•ญ๋ชฉ์„ ํด๋ฆญํ•˜๊ฑฐ๋‚˜ ๋ฐฉํ–ฅํ‚ค๋ฅผ ์ด์šฉํ•˜์—ฌ ํ•ญ๋ชฉ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋กœ๊ทธ ํ™•์ธ ์˜์—ญ์— ๋กœ๊ทธ๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='AutoComplete' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:autoComplete editType="select" style="width: 150px;min-height:24px;" submenuSize="auto" id="acb_exam" nextTabByEnter="true" ev:onselected="scwin.acb_exam_onselected" ev:onitemclick="scwin.acb_exam_onitemclick"> <w2:choices> <w2:item> <w2:label><![CDATA[]]> </w2:label> <w2:value><![CDATA[]]> </w2:value> </w2:item> <w2:item> <w2:label><![CDATA[apple]]></w2:label> <w2:value><![CDATA[01]]></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[grapes]]></w2:label> <w2:value><![CDATA[02]]></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[strawberry]]></w2:label> <w2:value><![CDATA[03]]></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[blueberry]]></w2:label> <w2:value><![CDATA[04]]></w2:value> </w2:item> </w2:choices> </w2:autoComplete> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group id="" class="example_div_th_style"> <w2:span label="๋กœ๊ทธ ํ™•์ธ" style="" id="" class="mr_def txt_blue"></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00041.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] A์ปฌ๋Ÿผ์˜ ์„ ํƒ๊ฐ’์— ๋”ฐ๋ผ B์ปฌ๋Ÿผ ๋ชฉ๋ก ๊ตฌ์„ฑํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220522" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList id="dlt_list" baseNode="list" saveRemovedData="true" repeatNode="map"> <w2:columnInfo> <w2:column id="category" name="๋ถ„๋ฅ˜" dataType="text"></w2:column> <w2:column id="name" name="๋„์„œ๋ช…" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <category><![CDATA[1]]></category> <name><![CDATA[12]]></name> </w2:row> <w2:row> <category><![CDATA[5]]></category> <name><![CDATA[54]]></name> </w2:row> <w2:row> <category><![CDATA[3]]></category> <name><![CDATA[36]]></name> </w2:row> <w2:row> <category><![CDATA[2]]></category> <name><![CDATA[21]]></name> </w2:row> <w2:row> <category><![CDATA[3]]></category> <name><![CDATA[34]]></name> </w2:row> <w2:row> <category><![CDATA[4]]></category> <name><![CDATA[44]]></name> </w2:row> <w2:row> <category><![CDATA[2]]></category> <name><![CDATA[23]]></name> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_code" baseNode="list" saveRemovedData="true" repeatNode="map"> <w2:columnInfo> <w2:column id="label" name="ํ™”๋ฉด์— ์ถœ๋ ฅ๋  ๊ฐ’" dataType="text"></w2:column> <w2:column id="code" name="์ฝ”๋“œ๊ฐ’" dataType="text"></w2:column> <w2:column id="upperCode" name="๊ทธ๋ฃน ๊ตฌ๋ถ„๊ฐ’" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <label><![CDATA[์†Œ์„ค]]></label> <code><![CDATA[1]]></code> <upperCode><![CDATA[0]]> </upperCode> </w2:row> <w2:row> <label><![CDATA[์‹œ/์—์„ธ์ด]]></label> <code><![CDATA[2]]></code> <upperCode><![CDATA[0]]> </upperCode> </w2:row> <w2:row> <label><![CDATA[์ธ๋ฌธ]]></label> <code><![CDATA[3]]></code> <upperCode><![CDATA[0]]> </upperCode> </w2:row> <w2:row> <label><![CDATA[์ž๊ธฐ๊ณ„๋ฐœ]]></label> <code><![CDATA[4]]></code> <upperCode><![CDATA[0]]> </upperCode> </w2:row> <w2:row> <label><![CDATA[์—ญ์‚ฌ/๋ฌธํ™”]]></label> <code><![CDATA[5]]></code> <upperCode><![CDATA[0]]> </upperCode> </w2:row> <w2:row> <label><![CDATA[์ž‘๋ณ„์ธ์‚ฌ]]></label> <code><![CDATA[11]]></code> <upperCode><![CDATA[1]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></label> <code><![CDATA[12]]></code> <upperCode><![CDATA[1]]></upperCode> </w2:row> <w2:row> <label><![CDATA[์ €๋งŒ์น˜ ํ˜ผ์ž์„œ]]></label> <code><![CDATA[13]]></code> <upperCode><![CDATA[1]]></upperCode> </w2:row> <w2:row> <label><![CDATA[์ฑ…๋“ค์˜ ๋ถ€์—Œ]]></label> <code><![CDATA[14]]></code> <upperCode><![CDATA[1]]></upperCode> </w2:row> <w2:row> <label><![CDATA[์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค]]></label> <code><![CDATA[21]]></code> <upperCode><![CDATA[2]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค]]></label> <code><![CDATA[22]]></code> <upperCode><![CDATA[2]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋‚˜๋กœ์„œ ์ถฉ๋ถ„ํžˆ ๊ดœ์ฐฎ์€ ์‚ฌ๋žŒ]]></label> <code><![CDATA[23]]></code> <upperCode><![CDATA[2]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋‹น์‹ ์€ ๊ฒฐ๊ตญ ๋ฌด์—‡์ด๋“  ํ•ด๋‚ด๋Š” ์‚ฌ๋žŒ]]></label> <code><![CDATA[24]]></code> <upperCode><![CDATA[2]]></upperCode> </w2:row> <w2:row> <code><![CDATA[25]]></code> <upperCode><![CDATA[2]]></upperCode> <label><![CDATA[๋„ˆ๋ฌด ์ž˜ํ•˜๋ ค๊ณ  ์• ์“ฐ์ง€ ๋งˆ๋ผ]]></label> </w2:row> <w2:row> <code><![CDATA[26]]></code> <upperCode><![CDATA[2]]></upperCode> <label><![CDATA[๋ชจ๋“  ์‚ฌ๋žŒ์—๊ฒŒ ์ข‹์€ ์‚ฌ๋žŒ์ผ ํ•„์š”๋Š” ์—†์–ด]]></label> </w2:row> <w2:row> <label><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></label> <code><![CDATA[31]]></code> <upperCode><![CDATA[3]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋งˆ์Œ์˜ ๋ฒ•์น™]]></label> <code><![CDATA[32]]></code> <upperCode><![CDATA[3]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋ฌด์—‡์ด ์˜ณ์€๊ฐ€]]></label> <code><![CDATA[33]]></code> <upperCode><![CDATA[3]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></label> <code><![CDATA[34]]></code> <upperCode><![CDATA[3]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋‚˜๋Š” ๋‘”๊ฐํ•˜๊ฒŒ ์‚ด๊ธฐ๋กœ ํ–ˆ๋‹ค]]></label> <code><![CDATA[35]]></code> <upperCode><![CDATA[3]]></upperCode> </w2:row> <w2:row> <label><![CDATA[์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€]]></label> <code><![CDATA[36]]></code> <upperCode><![CDATA[3]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋ฏธ์›€๋ฐ›์„ ์šฉ๊ธฐ]]></label> <code><![CDATA[37]]></code> <upperCode><![CDATA[3]]></upperCode> </w2:row> <w2:row> <label><![CDATA[์›์”ฝ(The One Thing)]]></label> <code><![CDATA[41]]></code> <upperCode><![CDATA[4]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋งˆ์ง€๋ง‰ ๋ชฐ์ž…: ๋‚˜๋ฅผ ๋„˜์–ด์„œ๋Š” ํž˜]]></label> <code><![CDATA[42]]></code> <upperCode><![CDATA[4]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋ฉ˜ํƒˆ์„ ๋ฐ”๊ฟ”์•ผ ์ธ์ƒ์ด ๋ฐ”๋€๋‹ค]]></label> <code><![CDATA[43]]></code> <upperCode><![CDATA[4]]></upperCode> </w2:row> <w2:row> <label><![CDATA[์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค]]></label> <code><![CDATA[44]]></code> <upperCode><![CDATA[4]]></upperCode> </w2:row> <w2:row> <label><![CDATA[์ด ๊ท  ์‡ ]]></label> <code><![CDATA[51]]></code> <upperCode><![CDATA[5]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๊ฑฐ์˜ ๋ชจ๋“  ์ „์Ÿ์˜ ์—ญ์‚ฌ]]></label> <code><![CDATA[52]]></code> <upperCode><![CDATA[5]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)]]></label> <code><![CDATA[53]]></code> <upperCode><![CDATA[5]]></upperCode> </w2:row> <w2:row> <label><![CDATA[๋‚˜์˜ ๋ฌธํ™”์œ ์‚ฐ๋‹ต์‚ฌ๊ธฐ]]></label> <code><![CDATA[54]]></code> <upperCode><![CDATA[5]]></upperCode> </w2:row> </w2:data> </w2:dataList> <w2:linkedDataList id="ldt_linkcode1" bind="dlt_code"> <w2:condition type="filter"><![CDATA[upperCode == '0']]></w2:condition> <w2:condition type="sort"><![CDATA[]]> </w2:condition> </w2:linkedDataList> <w2:linkedDataList id="ldt_linkcode2" bind="dlt_code"> <w2:condition type="filter"><![CDATA[upperCode == ref ( 'data:dlt_list.category')]]></w2:condition> <w2:condition type="sort"><![CDATA[]]> </w2:condition> </w2:linkedDataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * gridView์˜ afteredit ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ */ scwin.grd_example_onafteredit = function (row, col, value) { var id = this.getColumnID(col); if (id == 'category') { //์ด๋ฏธ ์„ ํƒ๋˜์–ด์žˆ๋Š” value๊ฐ’ ๋ณ€๊ฒฝํ•ด์ฃผ๊ธฐ var tmpValue = dlt_code.getMatchedColumnData("code", dlt_list.getCellData(row, "category"), "upperCode"); if (tmpValue[0] != value) { dlt_list.setCellData(row, "name", ldt_linkcode2.getCellData(0, "code")); } } }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group id="" class="gvwbox"> <w2:gridView adaptiveThreshold="" rowNumVisible="true" useShiftKey="true" rowNumHeaderValue="No." scrollByColumn="false" fixedColumnWithHidden="true" rowNumWidth="30" dataList="dlt_list" ev:onviewchange="" style="min-height: 120px; max-width: 600px;" ev:onafteredit="scwin.grd_example_onafteredit" id="grd_example" visibleRowNum="all" class="gvw" defaultCellHeight="26" autoFit="lastColumn" autoFitMinWidth="280"> <w2:header style="" id="header1"> <w2:row style="" id="row2"> <w2:column width="100" inputType="text" style="" id="column9" value="๋ถ„๋ฅ˜" blockSelect="false"></w2:column> <w2:column width="160" inputType="text" style="" id="column7" value="๋„์„œ๋ช…" blockSelect="false"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody4"> <w2:row style="" id="row5"> <w2:column textAlign="center" viewType="icon" width="100" inputType="select" style="" id="category" class="tal" blockSelect="false"> <w2:choices> <w2:itemset nodeset="data:ldt_linkcode1"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column textAlign="center" viewType="icon" width="160" inputType="select" style="" id="name" class="tal" blockSelect="false"> <w2:choices> <w2:itemset nodeset="data:ldt_linkcode2"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00055.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="ํ˜„์žฌ ํ™”๋ฉด์ด ํŒ์—…์ธ์ง€ ํ™•์ธํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220729" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [$p.openPopup() - browserPopup ์‹คํ–‰] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { var opts = { "id": "p_P00055P01_browserPopup", "type": "browserPopup", "width": "450px", "height": "400px", "modal": false }; //๋ชจ๋ฐ”์ผ์—์„œ์˜ ํฌ๊ธฐ,์œ„์น˜ ์กฐ์ ˆ์„ ์œ„ํ•ด ๊ณตํ†ต ํ•จ์ˆ˜ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ์˜ต์…˜์€ ์ตœ์ดˆ ์„ ์–ธ๋œ opts๋ฅผ ์ฐธ๊ณ ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. opts = $c.frame.getPopupPosition(opts); $p.openPopup("/page/P00055P01.xml", opts); }; /** * ๋ฒ„ํŠผ [$p.isPopup() ์‹คํ–‰] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { var ispopup; var strResult; ispopup = $p.isPopup(); //์˜ˆ์ƒ ๊ฒฐ๊ณผ : false strResult = "$p.isPopup();\n"; strResult += "์˜ˆ์ƒ ๊ฒฐ๊ณผ : false\n"; strResult += "์‹คํ–‰ ๊ฒฐ๊ณผ : " + ispopup; alert(strResult); }; /** * ๋ฒ„ํŠผ [$p.isPopup(true) ์‹คํ–‰] ํด๋ฆญ ์‹œ */ scwin.btn_ex3_onclick = function (e) { var ispopup; var strResult; ispopup = $p.isPopup(true); //์˜ˆ์ƒ ๊ฒฐ๊ณผ : false strResult = "$p.isPopup(true);\n"; strResult += "์˜ˆ์ƒ ๊ฒฐ๊ณผ : false\n"; strResult += "์‹คํ–‰ ๊ฒฐ๊ณผ : " + ispopup; alert(strResult); }; /** * ๋ฒ„ํŠผ [$p.openPopup() - wframePopup ์‹คํ–‰] ํด๋ฆญ ์‹œ */ scwin.btn_ex4_onclick = function (e) { var opts = { "id": "p_P00055P01_wframePopup", "type": "wframePopup", "width": "450px", "height": "400px", "popupName": "WFrame PopUp", "modal": true }; //๋ชจ๋ฐ”์ผ์—์„œ์˜ ํฌ๊ธฐ,์œ„์น˜ ์กฐ์ ˆ์„ ์œ„ํ•ด ๊ณตํ†ต ํ•จ์ˆ˜ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค. ๊ธฐ๋ณธ ์˜ต์…˜์€ ์ตœ์ดˆ ์„ ์–ธ๋œ opts๋ฅผ ์ฐธ๊ณ ํ•˜์‹œ๊ธฐ ๋ฐ”๋ž๋‹ˆ๋‹ค. opts = $c.frame.getPopupPosition(opts); $p.openPopup("/page/P00055P02.xml", opts); }; /** * ๋ฒ„ํŠผ [$p.isWFramePopup() ์‹คํ–‰] ํด๋ฆญ ์‹œ */ scwin.btn_ex5_onclick = function (e) { var isWFramePopup; var strResult; isWFramePopup = $p.isWFramePopup(); //์˜ˆ์ƒ ๊ฒฐ๊ณผ : false strResult = "$p.isWFramePopup();\n"; strResult += "์˜ˆ์ƒ ๊ฒฐ๊ณผ : false\n"; strResult += "์‹คํ–‰ ๊ฒฐ๊ณผ : " + isWFramePopup; alert(strResult); }; /** * ๋ฒ„ํŠผ [$p.isWFramePopup(true) ์‹คํ–‰] ํด๋ฆญ ์‹œ */ scwin.btn_ex6_onclick = function (e) { var isWFramePopup; var strResult; isWFramePopup = $p.isWFramePopup(true); //์˜ˆ์ƒ ๊ฒฐ๊ณผ : false strResult = "$p.isWFramePopup(true);\n"; strResult += "์˜ˆ์ƒ ๊ฒฐ๊ณผ : false\n"; strResult += "์‹คํ–‰ ๊ฒฐ๊ณผ : " + isWFramePopup; alert(strResult); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group id="" style="" class="titbox"> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[$p.openPopup() - browserPopup ์‹คํ–‰]]></xf:label> </xf:trigger> </xf:group> <xf:group class="titbox" id="" style=""> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex4_onclick" id="btn_ex4" style="" type="button"> <xf:label><![CDATA[$p.openPopup() - wframePopup ์‹คํ–‰]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" style="" class="titbox"> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" style="" type="button"> <xf:label><![CDATA[$p.isPopup() ์‹คํ–‰]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex3_onclick" id="btn_ex3" style="" type="button"> <xf:label><![CDATA[$p.isPopup(true) ์‹คํ–‰]]></xf:label> </xf:trigger> </xf:group> <xf:group class="titbox" id="" style=""> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex5_onclick" id="btn_ex5" style="" type="button"> <xf:label><![CDATA[$p.isWFramePopup() ์‹คํ–‰]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex6_onclick" id="btn_ex6" style="" type="button"> <xf:label><![CDATA[$p.isWFramePopup(true) ์‹คํ–‰]]></xf:label> </xf:trigger> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00082.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckCombobox] ํ•ญ๋ชฉ ์„ ํƒํ•˜๊ธฐ - ํ‚ค๋ณด๋“œ ์ž…๋ ฅ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01" }, { "label": "Pear", "code": "02" }, { "label": "Grapes", "code": "03" }, { "label": "Watermelon", "code": "04" }, { "label": "Peach", "code": "05" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="์ปดํฌ๋„ŒํŠธ์˜ ํ•ญ๋ชฉ์„ ํ‚ค๋ณด๋“œ ์ž…๋ ฅ์„ ํ†ตํ•ด ์„ ํƒํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckCombobox - ๊ธฐ๋ณธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox id="" displayAllOptionLabel="false" chooseOption="" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox&lt;br/&gt;ํ‚ค ์ž…๋ ฅ ํ—ˆ์šฉ' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox appearance="minimal" direction="auto" disabled="false" displayAllOptionLabel="false" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto" useEdit="true"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00096.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์…€ ์„ ํƒ ์‹œ ์„ ํƒ ๋ฒ”์œ„ ์ง€์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220916" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <book_name><![CDATA[์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ]]></book_name> <price><![CDATA[28000]]></price> <published_date><![CDATA[20190826]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></book_name> <price><![CDATA[16000]]></price> <published_date><![CDATA[20220418]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></book_name> <price><![CDATA[18000]]></price> <published_date><![CDATA[20201201]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์ •๊ธ€๋งŒ๋ฆฌ]]></book_name> <price><![CDATA[16500]]></price> <published_date><![CDATA[20130701]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></book_name> <price><![CDATA[14000]]></price> <published_date><![CDATA[20210420]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์ธ๊ฐ„ ์‹ค๊ฒฉ]]></book_name> <price><![CDATA[9000]]></price> <published_date><![CDATA[20040515]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์–ด๋ฆฐ์™•์ž]]></book_name> <price><![CDATA[2000]]></price> <published_date><![CDATA[19810801]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[JavaScript Patterns]]></book_name> <price><![CDATA[22000]]></price> <published_date><![CDATA[20111103]]></published_date> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ ์…€(Cell) ์„ ํƒ ์‹œ ์„ ํƒ ๋ฒ”์œ„๋ฅผ ๋น„๊ตํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๊ธฐ๋ณธ ์„ค์ •์€ ์…€(Cell) ๋‹จ์œ„์ด๋ฉฐ, ์„ค์ •์„ ํ†ตํ•ด ํ–‰(Row)๋‹จ์œ„, ์…€(Cell)+ํ–‰(Row) ๋‹จ์œ„, ์•„๋ฌด ๋™์ž‘ ์•ˆํ•จ์œผ๋กœ ๋ณ€๊ฒฝํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ์„ค์ •] focusMode : cell" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ) ๋ฒ”์œ„๊ฐ€ ์…€(Cell) ๋‹จ์œ„์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam1" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" rowNumVisible="true" rowNumWidth="26"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="focusMode : row" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ) ๋ฒ”์œ„๊ฐ€ ํ–‰(Row) ๋‹จ์œ„์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam2" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" focusMode="row"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="focusMode : both" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ) ๋ฒ”์œ„๊ฐ€ ์…€(Cell)+ํ–‰(Row) ๋‹จ์œ„์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam3" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" focusMode="both"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="focusMode : none" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์…€ ์„ ํƒ ์‹œ ํฌ์ปค์Šค(์„ ํƒ)๊ฐ€ ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" focusMode="none" id="grd_exam4" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00092.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์ถœ๋ ฅ๋œ ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ ์ง€์ •๋œ ๋ฉ”์‹œ์ง€ ์ถœ๋ ฅํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220907" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์— ์ถœ๋ ฅ๋œ Data๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ ๋ฉ”์‹œ์ง€ ์ถœ๋ ฅ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;noResultMessage ์ถœ๋ ฅ์˜ ๊ธฐ๋ณธ ๋™์ž‘์€ ์—ฐ๊ฒฐ๋œ DataList์— ๋ฐ์ดํ„ฐ๊ฐ€ ์—†์ด ์ตœ์ดˆ ๋กœ๋”ฉ๋œ ๊ฒฝ์šฐ์—๋Š” noResultMessage๊ฐ€ ์ถœ๋ ฅ๋˜์ง€ ์•Š๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์„ค์ •์„ ํ†ตํ•ด GridView์— ์ถœ๋ ฅ๋  ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ noResultMessage๋ฅผ ์ถœ๋ ฅํ•  ์ˆ˜์žˆ์Šต๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ ์„ค์ •]" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" rowNumVisible="true" rowNumWidth="26"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="GridView์— ์ถœ๋ ฅ๋œ Data๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ noResultMessage ์ถœ๋ ฅํ•˜๊ธฐ" style=""> </w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" noResultMessageVisibleAlways="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00086.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckCombobox] ์„ ํƒ๋œ ํ•ญ๋ชฉ ์ถœ๋ ฅํ•˜๊ธฐ - ๊ตฌ๋ถ„์ž ์„ค์ •"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01" }, { "label": "Pear", "code": "02" }, { "label": "Lime", "code": "03" }, { "label": "Grapes", "code": "04" }, { "label": "Kiwi", "code": "05" }, { "label": "Watermelon", "code": "06" }, { "label": "Peach", "code": "07" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="๋ชฉ๋ก์—์„œ ํ•ญ๋ชฉ์„ ์„ ํƒํ•˜๊ณ , ์„ ํƒ๋œ ํ•ญ๋ชฉ๊ฐ„์˜ ๊ตฌ๋ถ„์ž๋ฅผ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckCombobox&lt;br/&gt;[๊ธฐ๋ณธ ์„ค์ •] ์„ ํƒ๋œ ํ•ญ๋ชฉ์˜ ๊ตฌ๋ถ„์ž๋ฅผ ์„ค์ •ํ•˜์ง€ ์•Š์Œ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox id="" chooseOption="" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto" disabled="false" direction="auto" appearance="minimal" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox&lt;br/&gt;์„ ํƒ๋œ ํ•ญ๋ชฉ์˜ ๊ตฌ๋ถ„์ž๋ฅผ ,๋กœ ์„ค์ •' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" displayMode="label" id="" style="width: 150px;min-height:24px;" submenuSize="auto" separator=", "> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00079.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckCombobox] ํŠน์ • ํ•ญ๋ชฉ ๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> <w2:column id="useYN" name="useYN" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01", "useYN": "Y" }, { "label": "Pear", "code": "02", "useYN": "N" }, { "label": "Grapes", "code": "03", "useYN": "Y" }, { "label": "Watermelon", "code": "04", "useYN": "N" }, { "label": "Peach", "code": "05", "useYN": "Y" } ]); }; /** * CheckCombobox - ๋น„ํ™œ์„ฑํ™” ํ•ญ๋ชฉ ์ง€์ • - ์Šคํฌ๋ฆฝํŠธ * ๋ฒ„ํŠผ [ํ•ญ๋ชฉ ๋น„ํ™œ์„ฑํ™”] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { //ํ•ญ๋ชฉ ๋น„ํ™œ์„ฑํ™” ์ปฌ๋Ÿผ ๋ฐ ๋น„ํ™œ์„ฑํ™”๊ฐ’ ์„ค์ • ccb_exam3.setEnableColumn("useYN", "N"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckCombobox - ๊ธฐ๋ณธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox id="ccb_exam1" displayAllOptionLabel="false" chooseOption="" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox - ๋น„ํ™œ์„ฑํ™” ํ•ญ๋ชฉ ์ง€์ •' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" displayAllOptionLabel="false" displayMode="label" id="ccb_exam2" ref="" style="width: 150px;min-height:24px;" submenuSize="auto" enableColumn="useYN" enableColumnFalseValue="N"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckCombobox - ๋น„ํ™œ์„ฑํ™” ํ•ญ๋ชฉ ์ง€์ • - ์Šคํฌ๋ฆฝํŠธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group id="" style="" class="mb10"> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[ํ•ญ๋ชฉ ๋น„ํ™œ์„ฑํ™”]]></xf:label> </xf:trigger> </xf:group> <xf:checkcombobox allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" displayAllOptionLabel="false" displayMode="label" id="ccb_exam3" ref="" style="width: 150px;min-height:24px;" submenuSize="auto"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00051.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="๊ณตํ†ต ์Šคํฌ๋ฆฝํŠธ๋กœ ์ฝ”๋“œ ๋ชฉ๋ก UI(selectbox, radio ๋“ฑ) ๊ตฌ์„ฑํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { //๊ณตํ†ต ์ฝ”๋“œ ์…‹ํŒ… com.setCommonCode( $p, [ { "code": "101", "compID": "ui_genderCode01,ui_genderCode02" }, { "code": "102", "compID": "ui_hp01" }, { "code": "19", "compID": "ui_ccb_role,ui_cbx_role" } ], scwin.setCommonCode_callback ); }; scwin.setCommonCode_callback = function (resStr) { var resJSON = JSON.parse(resStr); console.log(resJSON); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="๊ณตํ†ต Function์„ ํ†ตํ•ด ์ฝ”๋“œ์„ฑ Data์™€ ์ปดํฌ๋„ŒํŠธ์˜ ํ•ญ๋ชฉ์„ ์—ฐ๋™ํ•˜๋Š” ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;ํ™”๋ฉด์—์„œ๋Š” ํ™”๋ฉด์ด ๋กœ๋”ฉ๋˜๋ฉด ๊ณตํ†ต Function์„ ํ˜ธ์ถœํ•˜๋ฉฐ ์ฝ”๋“œ์™€ ์ปดํฌ๋„ŒํŠธ์˜ ์ •๋ณด๋ฅผ ๋„˜๊ฒจ์ฃผ๋„๋ก ๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;(์Šคํฌ๋ฆฝํŠธ์˜ scwin.onpageload function ์ฐธ์กฐ)&lt;br/&gt;&lt;br/&gt;๊ณตํ†ต Function์—์„œ์˜ ์ฃผ์š” ๊ธฐ๋Šฅ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.( /js/eduCommon.js์˜ com.setCommonCode ์ฐธ๊ณ )&lt;br/&gt;- DataCollection ๋™์  ์ƒ์„ฑ&lt;br/&gt;- ์ปดํฌ๋„ŒํŠธ์˜ ItemSet ๋™์  ์„ค์ •&lt;br/&gt;- Submission ๋™์  ์ƒ์„ฑ ๋ฐ ์‹คํ–‰" style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ์‹œ์—ฐ์šฉ ์˜ˆ์ œ๋กœ ์˜ˆ์ œ ๊ฐ€์ด๋“œ ๋ฌธ์„œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group id="" class="tblbox"> <xf:group tagname="table" style="width:100%;" id="table1" class="w2tb tbl" adaptive="layout" adaptiveThreshold="800"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group tagname="col" style="width:120px;"></xf:group> <xf:group tagname="col" style=""></xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="th" style="" class="w2tb_th">์„ฑ๋ณ„์ฝ”๋“œ</xf:group> <xf:group tagname="td" style="" class="w2tb_td"> <xf:select1 appearance="full" style="position: relative;width: 150px;min-height: 21px;" id="ui_genderCode01" rows="1" cols="" selectedIndex="-1"> <xf:choices></xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="th" class="w2tb_th">์„ฑ๋ณ„์ฝ”๋“œ2</xf:group> <xf:group tagname="td" class="w2tb_td"> <xf:select1 submenuSize="auto" appearance="minimal" invalidMessage="" disabledClass="w2selectbox_disabled" chooseOption="false" disabled="false" style="width: 148px;min-height: 21px;" allOption="false" id="ui_genderCode02" class="chSize" displayMode="label" direction="auto"> </xf:select1> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="th" style="" class="w2tb_th">ํœด๋Œ€ํฐ&amp;nbsp;์•ž์ž๋ฆฌ</xf:group> <xf:group tagname="td" style="" class="w2tb_td"> <xf:select1 submenuSize="auto" appearance="minimal" disabledClass="w2selectbox_disabled" chooseOption="false" disabled="false" style="width: 148px;min-height: 21px;" allOption="false" id="ui_hp01" class="chSize" displayMode="label" direction="auto"> </xf:select1> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="th" style="" class="w2tb_th">๋‹ด๋‹น&amp;nbsp;์—…๋ฌด</xf:group> <xf:group tagname="td" style="" class="w2tb_td"> <xf:checkcombobox displayAllOptionLabel="false" submenuSize="auto" appearance="minimal" chooseOption="false" disabled="false" style="width: 148px;min-height: 21px;" allOption="false" id="ui_ccb_role" class="chSize" displayMode="label" direction="auto"> </xf:checkcombobox> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="th" class="w2tb_th"> ๋‹ด๋‹น&amp;nbsp;์—…๋ฌด2 <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:select appearance="full" style="min-width: 148px;min-height: 21px;" id="ui_cbx_role" selectedindex="-1"></xf:select> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00045.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="๋™์ ์œผ๋กœ ์ปดํฌ๋„ŒํŠธ ์ƒ์„ฑํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * [์‹คํ–‰1] ํด๋ฆญ ์‹œ * trigger ์ƒ์„ฑ ๋ฐ ์ถœ๋ ฅ */ scwin.btn_ex1_onclick = function (e) { var _comp; var strID; var objDate; //์ค‘๋ณต๋˜์ง€ ์•Š๋Š” ID ์ƒ์„ฑ์„ ์œ„ํ•œ ์Šคํฌ๋ฆฝํŠธ objDate = new Date(); strID = "btn_ex_" + objDate.getDate() + "_" + objDate.getTime(); //๋ฒ„ํŠผ(trigger) ์ƒ์„ฑ _comp = $p.dynamicCreate( strID, "trigger", //์ƒ์„ฑํ•  ์ปดํฌ๋„ŒํŠธ์˜ pluginName { style: "" , className: "btn_cm mr_def" }, grp_target //์ƒ์„ฑ(์ถ”๊ฐ€)ํ•  ์œ„์น˜์˜ ์ปดํฌ๋„ŒํŠธ ๊ฐ์ฒด ); //์ƒ์„ฑ๋œ trigger์˜ value ํ• ๋‹น. _comp.setValue("๋ฒ„ํŠผ"); }; /** * [์‹คํ–‰2] ํด๋ฆญ ์‹œ * input ์ƒ์„ฑ ๋ฐ ์ถœ๋ ฅ */ scwin.btn_ex2_onclick = function (e) { var _comp; var strID; var objDate; //์ค‘๋ณต๋˜์ง€ ์•Š๋Š” ID ์ƒ์„ฑ์„ ์œ„ํ•œ ์Šคํฌ๋ฆฝํŠธ objDate = new Date(); strID = "ipt_ex_" + objDate.getDate() + "_" + objDate.getTime(); //input ์ƒ์„ฑ _comp = $p.dynamicCreate( strID, "input", //์ƒ์„ฑํ•  ์ปดํฌ๋„ŒํŠธ์˜ pluginName { style: "min-width:80px; min-height:20px;", className: "mr_def", placeholder: "์ž…๋ ฅํ•˜์„ธ์š”.", }, grp_target //์ƒ์„ฑ(์ถ”๊ฐ€)ํ•  ์œ„์น˜์˜ ์ปดํฌ๋„ŒํŠธ ๊ฐ์ฒด ); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="mb_def minH" id="" style="" tagname="ul"> <xf:group class="com_example_heading_btn" id="" style="" tagname="li"> <w2:textbox class="com_example_heading" id="" label="๋ฒ„ํŠผ ์ƒ์„ฑํ•˜๊ธฐ" style=""></w2:textbox> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[์‹คํ–‰1]]></xf:label> </xf:trigger> </xf:group> <xf:group class="com_example_heading_btn" id="" style="" tagname="li"> <w2:textbox class="com_example_heading" id="" label="input ์ƒ์„ฑํ•˜๊ธฐ" style=""></w2:textbox> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" style="" type="button"> <xf:label><![CDATA[์‹คํ–‰2]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group id="" style="" class="minH"> <w2:textbox id="" label="์•„๋ž˜์— ์ปดํฌ๋„ŒํŠธ๊ฐ€ ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค." style="background-color: #eee;padding:4px 4px;font-size: 11px;" class=""></w2:textbox> <xf:group style="padding: 6px 0px; line-height: 30px" id="grp_target" class="minH"> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00290.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์…€์˜ ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230712" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> <w2:column id="price" name="์ •๊ฐ€" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { // DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ let data = [ { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "price": "18000" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "price": "17600" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "price": "15800" }, { "label": "์ €๋งŒ์น˜ ํ˜ผ์ž์„œ", "price": "15000" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "price": "17800" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "price": "14000" }, { "label": "์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค", "price": "15000" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "price": "14500" } ]; dlt_books_1.setJSON(data); }; /** * ๋ฒ„ํŠผ [GridView์— ์ถœ๋ ฅ๋œ ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // GridView 'grd_exam'์— ์ถœ๋ ฅ๋œ ์ปฌ๋Ÿผ '์ •๊ฐ€'์˜ 2๋ฒˆ์งธ ํ–‰์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = grd_exam.getCellDisplayData(1, "price"); alert("getCellDisplayData : " + result); console.log("getCellDisplayData : ", result); }; /** * ๋ฒ„ํŠผ [GridView์™€ ์—ฐ๊ฒฐ๋œ DataList์˜ ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // ์˜ˆ์‹œ 1) GridView์— ์—ฐ๊ฒฐ๋œ DataList์˜ Id๋ฅผ ์•Œ๊ณ  ์žˆ๋Š” ๊ฒฝ์šฐ // let result = dlt_books_1.getCellData(1, "price"); // ์˜ˆ์‹œ 2) GridView์— ์—ฐ๊ฒฐ๋œ DataList๋ฅผ ์•Œ์ˆ˜ ์—†๋Š” ๊ฒฝ์šฐ // GridView 'grd_exam'์— ์—ฐ๊ฒฐ๋œ DataList ๊ฐ์ฒด๋ฅผ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let _dataList = $p.getComponentById(grd_exam.getDataList()); // GridView์™€ ์—ฐ๊ฒฐ๋œ DataList์˜ ์ปฌ๋Ÿผ '์ •๊ฐ€'์˜ 2๋ฒˆ์งธ ํ–‰์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = _dataList.getCellData(1, "price"); alert("getCellData : " + result); console.log("getCellData : ", result); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="GridView์˜ ์…€์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜๋ฐ›๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ด ์˜ˆ์ œ๋Š” GridView์˜ ํ•จ์ˆ˜ 'getCellDisplayData'์™€ DataList์˜ ํ•จ์ˆ˜ 'getCellData'๋ฅผ ์‚ฌ์šฉํ•˜์˜€์Šต๋‹ˆ๋‹ค.&lt;br/&gt;๊ฐ ํ•จ์ˆ˜์˜ ๊ธฐ๋Šฅ์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- [GridView] getCellDisplayData: GridView์— ์ถœ๋ ฅ๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;- [DataList] getCellData: DataList์— ํ• ๋‹น๋œ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id="" style=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ปฌ๋Ÿผ '์ •๊ฐ€'์˜ 2๋ฒˆ์งธ ํ–‰์˜ ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger id="btn_exam1_1" style="" type="button" class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_exam1_1_onclick"> <xf:label><![CDATA[GridView์— ์ถœ๋ ฅ๋œ ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" id="btn_exam1_2" style="" type="button" ev:onclick="scwin.btn_exam1_2_onclick"> <xf:label><![CDATA[GridView์™€ ์—ฐ๊ฒฐ๋œ DataList์˜ ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class="mb_def_box nobottom" style=""> <w2:gridView autoFit="lastColumn" autoFitMinWidth="170" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="grd_exam" initFixedHeightByRowNum="4" readOnly="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="4" rowNumVisible="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="์ •๊ฐ€" width="70"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="price" inputType="text" width="70" displayFormat="#,###" dataType="number"> </w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00284.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[FusionChart] ์†์„ฑ ๋ณ€๊ฒฝํ•˜๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230705" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_chartData_1" repeatNode="data" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="type" name="type"></w2:column> <w2:column dataType="text" id="value" name="value"></w2:column> </w2:columnInfo> <w2:data use="true" xmlns=""> <w2:row> <type><![CDATA[TYPE 1]]></type> <value><![CDATA[17600]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 2]]></type> <value><![CDATA[28110]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 3]]></type> <value><![CDATA[29800]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 4]]></type> <value><![CDATA[21500]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 5]]></type> <value><![CDATA[15300]]></value> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [์ฐจํŠธ ์†์„ฑ ๋ณ€๊ฒฝํ•˜๊ณ  ๋ธŒ๋ผ์šฐ์ €์— ๊ทธ๋ฆฌ๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { let options = {}; options.caption = "- caption -"; // ์บก์…˜ ํ‘œ์‹œ options.subCaption = "- subcaption -"; // ๋ณด์กฐ ์บก์…˜ ํ‘œ์‹œ options.xAxisName = "- xAxisName -"; // x์ถ• ๋ช…์นญ ํ‘œ์‹œ options.yAxisName = "- yAxisName -"; // y์ถ• ๋ช…์นญ ํ‘œ์‹œ options.showBorder = 0; // ์™ธ๊ฐ ์„  ๋ฏธํ‘œ์‹œ options.showValues = 1; // data plot์— value๋ฅผ ํ‘œ์‹œ options.rotateValues = 1; // data plot์— value๋ฅผ ์„ธ๋กœ๋กœ ํ‘œ์‹œ // Fusionchart 'cht_exam1'์˜ ์†์„ฑ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. cht_exam1.setChartAttribute(options); // Fusionchart 'cht_exam1'๋ฅผ ๋ธŒ๋ผ์šฐ์ €์— ๊ทธ๋ฆฝ๋‹ˆ๋‹ค. cht_exam1.draw(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="FusionChart์˜ ์†์„ฑ์„ ์Šคํฌ๋ฆฝํŠธ๋กœ ์ ์šฉํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ด ์˜ˆ์ œ๋Š” FusionChart์˜ ํ•จ์ˆ˜ 'setChartAttribute'๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ๊ธฐ๋ณธ ๊ตฌ๋ฌธ์„ ์•ˆ๋‚ดํ•˜๊ณ ์ž ์ž‘์„ฑ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;์ฃผ๋กœ ์‚ฌ์šฉ๋˜๋Š” ์˜์—ญ๋ณ„(ํˆดํŒ, ํŠธ๋ Œ๋“œ๋ผ์ธ ๋“ฑ) ์†์„ฑ ์ ์šฉ ๋ฐฉ๋ฒ•์€ ๋ณ„๋„์˜ ์˜ˆ์ œ๋กœ ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:textbox escape="false" id="" label='FusionChart์˜ ๋ชจ๋“  ์†์„ฑ : &lt;a href="https://www.fusioncharts.com/dev/chart-attributes/" target="_blank"&gt;https://www.fusioncharts.com/dev/chart-attributes/&lt;/a&gt;' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[์ฐจํŠธ ์†์„ฑ ๋ณ€๊ฒฝํ•˜๊ณ  ๋ธŒ๋ผ์šฐ์ €์— ๊ทธ๋ฆฌ๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class="mb_def_box nobottom"> <w2:fusionchart labelNode="type" ref="data:dlt_chartData_1" seriesColumns="[['value']]" chartType="Column2D" drawType="javascript" style="height: 300px;min-width:200px;" id="cht_exam1"> </w2:fusionchart> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00253.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230320" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="name" name="name1" dataType="text"></w2:column> <w2:column id="Code" name="name2" dataType="text"></w2:column> <w2:column id="depth" name="name3" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <name><![CDATA[Asia]]></name> <Code><![CDATA[AS]]></Code> <depth><![CDATA[1]]></depth> </w2:row> <w2:row> <name><![CDATA[Korea]]></name> <Code><![CDATA[KO]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Seoul]]></name> <Code><![CDATA[SE]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Busan]]></name> <Code><![CDATA[BU]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Japan]]></name> <Code><![CDATA[JP]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Tokyo]]></name> <Code><![CDATA[TO]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Osaka]]></name> <Code><![CDATA[OS]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[China]]></name> <Code><![CDATA[CH]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Beijing]]></name> <Code><![CDATA[BJ]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Shanghai]]></name> <Code><![CDATA[SG]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Europe]]></name> <Code><![CDATA[EU]]></Code> <depth><![CDATA[1]]></depth> </w2:row> <w2:row> <name><![CDATA[United Kingdom]]></name> <Code><![CDATA[UK]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Manchester]]></name> <Code><![CDATA[MC]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Liverpool]]></name> <Code><![CDATA[LP]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[France]]></name> <Code><![CDATA[FR]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Paris]]></name> <Code><![CDATA[PR]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Marseille]]></name> <Code><![CDATA[MS]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[German]]></name> <Code><![CDATA[GE]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Berlin]]></name> <Code><![CDATA[BL]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Hamburg]]></name> <Code><![CDATA[HB]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[America]]></name> <Code><![CDATA[AM]]></Code> <depth><![CDATA[1]]></depth> </w2:row> <w2:row> <name><![CDATA[Canada]]></name> <Code><![CDATA[CA]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Toronto]]></name> <Code><![CDATA[TT]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Montreal]]></name> <Code><![CDATA[MT]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Mexico]]></name> <Code><![CDATA[Me]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Mexico City]]></name> <Code><![CDATA[MC]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Tijuana]]></name> <Code><![CDATA[TJ]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[United states america]]></name> <Code><![CDATA[USA]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[New York]]></name> <Code><![CDATA[NY]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Los Angeles]]></name> <Code><![CDATA[LA]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Africa]]></name> <Code><![CDATA[AF]]></Code> <depth><![CDATA[1]]></depth> </w2:row> <w2:row> <name><![CDATA[Nigeria]]></name> <Code><![CDATA[NI]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Lagos]]></name> <Code><![CDATA[LG]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Kano]]></name> <Code><![CDATA[KN]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Ethiopia]]></name> <Code><![CDATA[ET]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Addis Ababa]]></name> <Code><![CDATA[AA]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Dire Dawa]]></name> <Code><![CDATA[DD]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Egypt]]></name> <Code><![CDATA[EG]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Cairo]]></name> <Code><![CDATA[CI]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Alexandria]]></name> <Code><![CDATA[AX]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Oceania]]></name> <Code><![CDATA[OC]]></Code> <depth><![CDATA[1]]></depth> </w2:row> <w2:row> <name><![CDATA[Australia]]></name> <Code><![CDATA[AU]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Sydney]]></name> <Code><![CDATA[SY]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Melbourne]]></name> <Code><![CDATA[MB]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[New Zealand]]></name> <Code><![CDATA[NZ]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Auckland]]></name> <Code><![CDATA[AK]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Christchurch]]></name> <Code><![CDATA[CT]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Fiji]]></name> <Code><![CDATA[FI]]></Code> <depth><![CDATA[2]]></depth> </w2:row> <w2:row> <name><![CDATA[Nasinu]]></name> <Code><![CDATA[NN]]></Code> <depth><![CDATA[3]]></depth> </w2:row> <w2:row> <name><![CDATA[Suva]]></name> <Code><![CDATA[SV]]></Code> <depth><![CDATA[3]]></depth> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ๋ฅผ ๊ณ„์ธต ๊ตฌ์กฐ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์„ ํƒ ํ•ญ๋ชฉ์œผ๋กœ ํ‘œ์‹œํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๊ด€ํ•œ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- depthColumn : ๋ชฉ๋ก์„ ๊ณ„์ธต ๊ตฌ์กฐ๋กœ ๋ณด์—ฌ์ค„ ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ์†์„ฑ.&lt;br/&gt;- depthColumnHeight : depthColumn ๊ธฐ๋Šฅ ์‚ฌ์šฉ ์‹œ ๋ชฉ๋ก์˜ ๋†’์ด ๊ฐ’.&lt;br/&gt;- depthColumnWidth : depthColumn ๊ธฐ๋Šฅ ์‚ฌ์šฉ ์‹œ ๋ชฉ๋ก์˜ ๋„ˆ๋น„ ๊ฐ’.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ณ„์ธต ๊ตฌ์กฐ๋กœ ํ‘œ์‹œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ ํด๋ฆญํ•˜์—ฌ ๋ฐ์ดํ„ฐ๋“ค์ด ๊ณ„์ธต๊ตฌ์กฐ๋กœ ํ‘œ์‹œ๋˜์–ด์žˆ๋Š” ๊ฒƒ์„ ํ™•์ธํ•œ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:select1 id="sbx_exam1" chooseOption="" style="width: 148px;height: 21px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref="" depthColumn="depth"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="name"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ณ„์ธต ๊ตฌ์กฐ์˜ ๋„ˆ๋น„ ๋†’์ด ์ง€์ •ํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ ํด๋ฆญํ•˜์—ฌ ๊ณ„์ธต ๊ตฌ์กฐ์˜ ๋†’์ด ๋„ˆ๋น„๊ฐ€ ๋ฐ”๋€ ๊ฒƒ์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"></xf:group> <xf:select1 allOption="" appearance="minimal" chooseOption="" depthColumn="depth" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="sbx_exam2" ref="" style="width: 148px;height: 21px;" submenuSize="auto" depthColumnWidth="200" depthColumnHeight="150"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="name"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00247.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230314" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="City" name="name1" dataType="text"></w2:column> <w2:column id="Code" name="name2" dataType="text"></w2:column> <w2:column id="Type" name="name3" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> <Type><![CDATA[Asia]]></Type> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> <Type><![CDATA[Europe]]></Type> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> <Type><![CDATA[Europe]]></Type> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> <Type><![CDATA[Asia]]></Type> </w2:row> <w2:row> <City><![CDATA[Tokyo]]></City> <Code><![CDATA[TK]]></Code> <Type><![CDATA[Asia]]></Type> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [ ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { // Radio 'rad_exam3'์™€ ์—ฐ๊ฒฐ๋˜์–ด ์žˆ๋Š” DataList 'dlt_dataList1'์˜ Type์ด Europe์ธ ๋ฐ์ดํ„ฐ๋Š” ์ œ์™ธํ•˜๊ณ  ํ‘œ์‹œํ•˜๊ธฐ rad_exam3.setVisibleColumn("Type", "Europe"); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='Radio์ปดํฌ๋„ŒํŠธ์—์„œ DataList์™€ ์—ฐ๊ฒฐํ•˜์—ฌ ์„ ํƒ ํ•ญ๋ชฉ์„ ํ‘œ์‹œํ•  ๊ฒฝ์šฐ,&lt;br/&gt;์—ฐ๊ฒฐ๋œ DataList์˜ ํŠน์ • ์ปฌ๋Ÿผ ๊ฐ’์„ ๊ธฐ์ค€์œผ๋กœ ์ผ๋ถ€ ์„ ํƒ ํ•ญ๋ชฉ์„ ์ˆจ๊ธฐ๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ๊ณผ ํ•จ์ˆ˜๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- visibleColumn : (์†์„ฑ)์„ ํƒ ํ•ญ๋ชฉ ๋ชฉ๋ก์—์„œ ํŠน์ • ํ•ญ๋ชฉ์„ ๊ฐ์ถ”๋Š” ๊ธฐ๋Šฅ&lt;br/&gt;- visibleColumnFalseValue : (์†์„ฑ)visibleColumn ์‚ฌ์šฉ ์‹œ ๋ชฉ๋ก์—์„œ ํŠน์ • ํ•ญ๋ชฉ์„ ๊ฐ์ถ”๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด์— ํ•ด๋‹นํ•˜๋Š” ๊ฐ’&lt;br/&gt;- setVisibleColumn : (ํ•จ์ˆ˜)visibleColumn ์†์„ฑ์„ ๋™์ ์œผ๋กœ ์„ค์ •' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ - ์†์„ฑ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='Radio์ปดํฌ๋„ŒํŠธ์˜ visibleColumn ์†์„ฑ์— DataList์˜ id์ธ "Type", visibleColumnFalseValue ์†์„ฑ์— ์‹ค์žฌ id์˜ ๊ฐ’์ธ "Asia"๋ฅผ ์„ค์ •ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ Type์ด Asia์ธ ๋ฐ์ดํ„ฐ๋ฅผ ์ œ์™ธํ•œ ํ•ญ๋ชฉ๋งŒ์„ ํ‘œ์‹œํ•˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='[์†์„ฑ ์ ์šฉ ์ „]' style="" displayFormat=""> </w2:textbox> <xf:select1 id="rad_exam1" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;border: 1px solid #ced4da;" cols="" rows="" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='[์†์„ฑ ์ ์šฉ ํ›„]' style="" displayFormat=""> </w2:textbox> <xf:select1 id="rad_exam2" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;border: 2px #ced4da;border: 1px solid #ced4da;" cols="" rows="" ref="" visibleColumn="Type" visibleColumnFalseValue="Asia"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ - ํ•จ์ˆ˜" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์•„๋ž˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ setVisibleColumn ํ•จ์ˆ˜๋กœ ์ธํ•ด Type์ด Europe์ธ ํ•ญ๋ชฉ์„ ์ œ์™ธํ•˜๊ณ  ํ‘œ์‹œํ•˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:select1 id="rad_exam3" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;" cols="" rows="" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00113S02.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00113S02.xml" style="color: firebrick;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00146S03.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221021" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00146S03.xml" style="color: seagreen;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00119.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ๋ณ‘ํ•ฉ๋œ ํ—ค๋” ์ปฌ๋Ÿผ์— ์ •๋ ฌ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•  ๋ฐ”๋”” ์ปฌ๋Ÿผ ์ง€์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList baseNode="list" id="dlt_books_2" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.setInitData(); }; scwin.setInitData = function () { var arrData = [ { "book_name": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "price": "14000", "published_date": "20210420" }, { "book_name": "์–ด๋ฆฐ์™•์ž", "price": "2000", "published_date": "19810801" }, { "book_name": "์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "์ธ๊ฐ„ ์‹ค๊ฒฉ", "price": "9000", "published_date": "20040515" }, { "book_name": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "price": "18000", "published_date": "20201201" }, { "book_name": "JavaScript Patterns", "price": "22000", "published_date": "20111103" } ]; dlt_books_1.setJSON(arrData); dlt_books_2.setJSON(arrData); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ ํ—ค๋” ์ปฌ๋Ÿผ์ด ๋ณ‘ํ•ฉ๋˜์—ˆ์„ ๋•Œ ์ •๋ ฌ ๊ธฐ๋Šฅ์„ ์ ์šฉํ•  ๋ฐ”๋”” ์ปฌ๋Ÿผ์„ ์ง€์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="๋ณ‘ํ•ฉ๋œ ํ—ค๋” ์ปฌ๋Ÿผ์˜ ์ฒซ๋ฒˆ์งธ ๋ฐ”๋”” ์ปฌ๋Ÿผ(๋„์„œ๋ช…)์„ ๊ธฐ์ค€์œผ๋กœ ์ •๋ ฌ๋ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="grd_exam1" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" rowNumVisible="true" rowNumWidth="26" showSortableImage="true" sortable="true" sortEvent="onclick"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ ์ •๋ณด" width="324" colSpan="3"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="170"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="91"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋‘๋ฒˆ์งธ ๋ฐ”๋”” ์ปฌ๋Ÿผ(์ •๊ฐ€)์ด ์ •๋ ฌ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="๋ณ‘ํ•ฉ๋œ ํ—ค๋” ์ปฌ๋Ÿผ์˜ ๋‘๋ฒˆ์งธ ๋ฐ”๋”” ์ปฌ๋Ÿผ(์ •๊ฐ€)์„ ๊ธฐ์ค€์œผ๋กœ ์ •๋ ฌ๋ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books_2" defaultCellHeight="24" id="grd_exam2" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" sortable="true" showSortableImage="true" sortEvent="onclick"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column colSpan="3" displayMode="label" id="column3" inputType="text" value="๋„์„œ ์ •๋ณด" width="324" orderByColumn="price"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="170"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="91"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00125.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[Input] ์ˆซ์žํ˜• ๋ฐ์ดํ„ฐ ์ž…๋ ฅ ์‹œ ์„ค์ •ํ•œ ํฌ๋งท ์ ์šฉ ์‹œ์  ์ง€์ •ํ•˜๊ธฐ - applyFormat ๋™์ž‘ ๋น„๊ต"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221007" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="Input์˜ ์†์„ฑ applyFormat์˜ ์„ค์ •๊ฐ’ ๋น„๊ต ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;Input์˜ ์†์„ฑ์„ ์•„๋ž˜์™€ ๊ฐ™์ด ์„ค์ •ํ•˜๋ฉด ์‚ฌ์šฉ์ž๊ฐ€ ์ž…๋ ฅํ•œ ์ˆซ์žํ˜• ๋ฐ์ดํ„ฐ๊ฐ€ 3์ž๋ฆฌ ๋งˆ๋‹ค ,๊ฐ€ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;- dataType : number ๋˜๋Š” bigDecimal&lt;br/&gt;- displayFormat : #,###&lt;br/&gt;" style="margin-bottom: 10px;"> </w2:textbox> <w2:textbox escape="false" id="" label="์†์„ฑ applyFormat์— ์ง€์ •ํ•œ ๊ฐ’์— ๋”ฐ๋ผ ํฌ๋งท ์ ์šฉ์˜ ์‹œ์ ์ด ๋‹ฌ๋ผ์ง‘๋‹ˆ๋‹ค.&lt;br/&gt;" style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ • - applyFormat : display" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="Input์—์„œ ์ž…๋ ฅ ์ปค์„œ๊ฐ€ ๋ฒ—์–ด๋‚˜๋ฉด ํฌ๋งท์ด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:input class="" id="" placeholder="์ˆซ์ž๋งŒ ์ž…๋ ฅํ•˜์„ธ์š”" style="min-width:120px;" dataType="number" displayFormat="#,###"></xf:input> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='applyFormat : all' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="Input์— ์ž…๋ ฅ ์ฆ‰์‹œ ํฌ๋งท์ด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:input class="" dataType="number" displayFormat="#,###" id="" placeholder="์ˆซ์ž๋งŒ ์ž…๋ ฅํ•˜์„ธ์š”" style="min-width:120px;" applyFormat="all"> </xf:input> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00131.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[WindowContainer] ์œˆ๋„์šฐ ์ œ์–ด(๋ฐฐ์—ด) ์•„์ด์ฝ˜ ์˜์—ญ์˜ ์œ„์น˜ ์ง€์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221004" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.initPage(); }; /** * ํ™”๋ฉด ์ดˆ๊ธฐํ™” */ scwin.initPage = function () { var strDefaultWidth; //์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•ด default width ๋ณ€๊ฒฝ if (window.innerWidth < 450) { strDefaultWidth = "230px"; } else { strDefaultWidth = "300px"; } //์œˆ๋„์šฐ ์ถ”๊ฐ€ wdc_exam1.createWindow("P00131S01", null, "/page/P00131S01.xml", null, "w_P00131S01", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam1.createWindow("P00131S02", null, "/page/P00131S02.xml", null, "w_P00131S02", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam1.createWindow("P00131S03", null, "/page/P00131S03.xml", null, "w_P00131S03", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam2.createWindow("P00131S01", null, "/page/P00131S01.xml", null, "w_P00131S01", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam2.createWindow("P00131S02", null, "/page/P00131S02.xml", null, "w_P00131S02", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam2.createWindow("P00131S03", null, "/page/P00131S03.xml", null, "w_P00131S03", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam3.createWindow("P00131S01", null, "/page/P00131S01.xml", null, "w_P00131S01", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam3.createWindow("P00131S02", null, "/page/P00131S02.xml", null, "w_P00131S02", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); wdc_exam3.createWindow("P00131S03", null, "/page/P00131S03.xml", null, "w_P00131S03", "selectWindow", null, null, null, { "defaultWidth": strDefaultWidth }, "wframe"); //์‹œ์ž‘ - ์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ ์„ค์ • wdc_exam1.setArrangeWindows("sequential", ["w_P00131S01", "w_P00131S02", "w_P00131S03"]); //์œˆ๋„์šฐ ๋ถ„ํ•  wdc_exam2.setArrangeWindows("sequential", ["w_P00131S01", "w_P00131S02", "w_P00131S03"]); //์œˆ๋„์šฐ ๋ถ„ํ•  wdc_exam3.setArrangeWindows("sequential", ["w_P00131S01", "w_P00131S02", "w_P00131S03"]); //์œˆ๋„์šฐ ๋ถ„ํ•  //์ข…๋ฃŒ - ์˜ˆ์ œ ํ…Œ์ŠคํŠธ๋ฅผ ์œ„ํ•œ ์„ค์ • };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='WindowContainer์˜ ์†์„ฑ ์ค‘ "controlIconPosition" ์„ค์ •์˜ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์†์„ฑ "nameLayerRearrange"๋Š” ์œˆ๋„์šฐ ์ œ์–ด ์•„์ด์ฝ˜์˜ ์œ„์น˜๋ฅผ ์ง€์ •ํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์˜์—ญ๋ณ„ ์œˆ๋„์šฐ ์ œ์–ด ์•„์ด์ฝ˜์˜ ์œ„์น˜๋ฅผ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group id="" style="" class=""></xf:group> <xf:group class="example_div_tb_style_wrap mw600" id="" style=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='๊ธฐ๋ณธ ์„ค์ • - controlIconPosition="left"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์œˆ๋„์šฐ ์„ ํƒ์„ ์œ„ํ•œ ํ™”์‚ดํ‘œ๋“ค์„ ์ œ์™ธํ•œ ์œˆ๋„์šฐ ์ œ์–ด ์•„์ด์ฝ˜๋“ค๋งŒ ์˜ค๋ฅธ์ชฝ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:windowContainer controlIconPosition="left" fixArrangeFullScreen="false" hideTitleOnMaximize="false" horizontalArrangeNum="2" id="wdc_exam1" nameLayerRearrange="false" sequentialArrangeColNum="2" sequentialArrangeRowNum="2" spaInitCount="0" stopMinimizeOnNameLayer="false" stopToggleOnLast="false" style="position: relative;height:300px;" toolbarPosition="bottom" tooltipDisplay="true" tooltipGroupClass="false" useCloseButton="false" useControlIconTitle="false" useCustomMsg="false" useFixButton="true" useNameContainer="false" useStatusMsg="false" verticalArrangeNum="2" windowAutoResize="false" windowMaxNum="5" windowMaximizeAll="false" windowTooltipDisplay="true"> <w2:windowToolbar> <w2:controlIconLayer> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> </w2:controlIconLayer> <w2:nameLayer></w2:nameLayer> <w2:selectedNameLayer></w2:selectedNameLayer> </w2:windowToolbar> </w2:windowContainer> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='controlIconPosition="right"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์œˆ๋„์šฐ ์„ ํƒ์„ ์œ„ํ•œ ํ™”์‚ดํ‘œ๋“ค์„ ์ œ์™ธํ•œ ์œˆ๋„์šฐ ์ œ์–ด ์•„์ด์ฝ˜๋“ค๋งŒ ์˜ค๋ฅธ์ชฝ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:windowContainer controlIconPosition="right" fixArrangeFullScreen="false" hideTitleOnMaximize="false" horizontalArrangeNum="2" id="wdc_exam2" nameLayerRearrange="false" sequentialArrangeColNum="2" sequentialArrangeRowNum="2" spaInitCount="0" stopMinimizeOnNameLayer="false" stopToggleOnLast="false" style="position: relative;height:300px;" toolbarPosition="bottom" tooltipDisplay="true" tooltipGroupClass="false" useCloseButton="false" useControlIconTitle="false" useCustomMsg="false" useFixButton="true" useNameContainer="true" useStatusMsg="false" verticalArrangeNum="2" windowAutoResize="false" windowMaxNum="5" windowMaximizeAll="false" windowTooltipDisplay="true"> <w2:windowToolbar> <w2:controlIconLayer> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> </w2:controlIconLayer> <w2:nameLayer></w2:nameLayer> <w2:selectedNameLayer></w2:selectedNameLayer> </w2:windowToolbar> </w2:windowContainer> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='controlIconPosition="allright"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์œˆ๋„์šฐ ์„ ํƒ์šฉ ํ™”์‚ดํ‘œ๋“ค๊ณผ ์œˆ๋„์šฐ ์ œ์–ด ์•„์ด์ฝ˜ ๋ชจ๋‘ ์˜ค๋ฅธ์ชฝ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:windowContainer controlIconPosition="allright" fixArrangeFullScreen="false" hideTitleOnMaximize="false" horizontalArrangeNum="2" id="wdc_exam3" nameLayerRearrange="false" sequentialArrangeColNum="2" sequentialArrangeRowNum="2" spaInitCount="0" stopMinimizeOnNameLayer="false" stopToggleOnLast="false" style="position: relative;height:300px;" toolbarPosition="bottom" tooltipDisplay="true" tooltipGroupClass="false" useCloseButton="false" useControlIconTitle="false" useCustomMsg="false" useFixButton="true" useNameContainer="true" useStatusMsg="false" verticalArrangeNum="2" windowAutoResize="false" windowMaxNum="5" windowMaximizeAll="false" windowTooltipDisplay="true"> <w2:windowToolbar> <w2:controlIconLayer> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> </w2:controlIconLayer> <w2:nameLayer></w2:nameLayer> <w2:selectedNameLayer></w2:selectedNameLayer> </w2:windowToolbar> </w2:windowContainer> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00130.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[InputCalendar] ์œ ํšจํ•˜์ง€ ์•Š์€ ๊ฐ’์ด ์ž…๋ ฅ๋œ ๊ฒฝ์šฐ ๋ฉ”์‹œ์ง€๋ฅผ ํŒ์—…ํ•˜๊ณ  ์ง์ „ ๊ฐ’์œผ๋กœ ๋˜๋Œ๋ฆฌ๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221004" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.setInitPage(); }; /** * ํ™”๋ฉด ์ดˆ๊ธฐํ™” */ scwin.setInitPage = function () { var strDate; //์„œ๋ฒ„์—์„œ ์˜ค๋Š˜ ๋‚ ์งœ ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strDate = $p.getCurrentServerDate("yyyyMMdd"); //inputCalendar์— ์˜ค๋Š˜ ๋‚ ์งœ ํ• ๋‹น. ica_exam_1.setValue(strDate); ica_exam_2.setValue(strDate); }; /** * inputCalendar [ica_exam_1]์˜ ์†์„ฑ invalidMessageFunc์— ์ •์˜ * ์œ ํšจํ•˜์ง€ ์•Š์€ ๋‚ ์งœ๊ฐ€ ์ž…๋ ฅ๋œ ๊ฒฝ์šฐ ์—”์ง„์—์„œ ํ˜ธ์ถœํ•ฉ๋‹ˆ๋‹ค. */ scwin.inputCalendar_invalidMessageFunc = function () { var strTarget; var jsnPopParam; var jsnPopDataObjectsnPopParam; var jsnPopOptions; //์ปดํฌ๋„ŒํŠธ ID //this.callerId //๋Œ€์ƒ InputCalendar์˜ ID๋กœ ์ปดํฌ๋„ŒํŠธ ๊ฐ์ฒด ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ strTarget = $p.getComponentById(this.callerId); //ํŒ์—…์— ์ „๋‹ฌํ•  ๋ฐ์ดํ„ฐ jsnPopParam = { "inputData": strTarget.getValue() //์ž…๋ ฅ๊ฐ’ ์ „๋‹ฌ }; //ํŒ์—…์— ์ „๋‹ฌํ•œ ๋ฐ์ดํ„ฐ ๊ฐ์ฒด ์ •๋ณด jsnPopDataObjectsnPopParam = { "type": "json", // ๋ฐ์ดํ„ฐ ํƒ€์ž…. "json" ๊ถŒ์žฅ "name": "p_param", // ๋ฐ์ดํ„ฐ๋ฅผ ๊ฐ€์ ธ์˜ค๊ธฐ ์œ„ํ•œ key ๊ฐ’. popup์—์„œ $p.getParameter("p_param")๋กœ ๋ฐ˜ํ™˜ ๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. "data": jsnPopParam // ์‹ค์ œ ์ „๋‹ฌํ•  ๋ฐ์ดํ„ฐ }; //ํŒ์—… ๊ฐ์ฒด ์ •๋ณด jsnPopOptions = { "id": "popup_P00130P01", "type": "wframePopup", "modal": true, "frameModal": true, "width": "270px", "height": "160px", "popupName": "์œ ํšจ์„ฑ ์ฒดํฌ ๋ฉ”์‹œ์ง€", "left": strTarget.getPosition("left"), //inputCalendar์˜ left ๊ฐ’ "top": strTarget.getPosition("top"), //inputCalendar์˜ top ๊ฐ’ "dataObject": jsnPopDataObjectsnPopParam //ํŒ์—…์— ์ „๋‹ฌํ•  ๋ฐ์ดํ„ฐ ๊ฐ์ฒด ์ •๋ณด }; //ํŒ์—… ์—ด๊ธฐ $p.openPopup("/page/P00130P01.xml", jsnPopOptions); //์ง์ „ ๊ฐ’์œผ๋กœ ๋ณต์›. strTarget.setValueCancel(); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='์ž…๋ ฅ๊ฐ’์ด ์œ ํšจํ•œ ๋‚ ์งœ๊ฐ€ ์•„๋‹Œ ๊ฒฝ์šฐ ๊ฐœ๋ฐœ์ž๊ฐ€ ์ •์˜ ํ•œ ํŒ์—…์— ๋ฉ”์‹œ์ง€๋ฅผ ์ถœ๋ ฅํ•˜๊ณ  ์ง์ „ ๊ฐ’์œผ๋กœ ๋˜๋Œ๋ฆฌ๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์œ ํšจ์„ฑ ์ฒดํฌ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ž…๋ ฅ๊ฐ’์ด ์œ ํšจํ•œ ๋‚ ์งœ๊ฐ€ ์•„๋‹ˆ๋ฉด ๊ฐœ๋ฐœ์ž๊ฐ€ ์ •์˜ ํ•œ ํŒ์—…์— ๋ฉ”์‹œ์ง€๋ฅผ ์ถœ๋ ฅํ•˜๊ณ  ์ง์ „ ๊ฐ’์œผ๋กœ ๋˜๋Œ๋ฆฝ๋‹ˆ๋‹ค." style=""></w2:textbox> <w2:inputCalendar calendarValueType="yearMonthDate" dateValidSet="true" dateValidSetCustom="true" focusOnDateSelect="false" id="ica_exam_1" invalidMessageFunc="scwin.inputCalendar_invalidMessageFunc" renderDiv="true" rightAlign="false" style="min-width: 110px;min-height: 24px;" validateOnInput="true" validateOnInputMobile="true"> </w2:inputCalendar> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_2" renderDiv="true" rightAlign="false" style="min-width: 110px;min-height: 24px;"> </w2:inputCalendar> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00124.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[WindowContainer] ์œˆ๋„์šฐ๋ณ„์˜ ๊ธฐ๋ณธ ํฌ๊ธฐ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.initPage(); }; /** * ํ™”๋ฉด ์ดˆ๊ธฐํ™” */ scwin.initPage = function () { }; /** * ๋ฒ„ํŠผ [window ์ƒ์„ฑ - ๊ธฐ๋ณธ ํฌ๊ธฐ ๋ฏธ์ง€์ •] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { wdc_exam1.createWindow({ "title": "๊ธฐ๋ณธ ํฌ๊ธฐ ๋ฏธ์ง€์ •", "frameMode": "wframe", "src": "/page/P00124S01.xml", "windowId": "w_P00124S01" }); }; /** * ๋ฒ„ํŠผ [window ์ƒ์„ฑ- ๊ธฐ๋ณธ ํฌ๊ธฐ ์ง€์ •] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { wdc_exam1.createWindow({ "title": "๊ธฐ๋ณธ ํฌ๊ธฐ ์ง€์ •", "frameMode": "wframe", "src": "/page/P00124S02.xml", "windowId": "w_P00124S02", "defaultWidth": "230px", //๊ธฐ๋ณธ ๋„ˆ๋น„ ์ง€์ • "defaultHeight": "140px" //๊ธฐ๋ณธ ๋†’์ด ์ง€์ • }); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='Window์˜ ๊ธฐ๋ณธ ์ฐฝ์˜ ํฌ๊ธฐ๋ฅผ ์ง€์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;Window ์ƒ์„ฑ API์ธ "createWindow"์—์„œ ์˜ต์…˜ "defaultWidth", "defaultHeight"๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ Window๋ณ„ ๊ธฐ๋ณธ ์ฐฝ์˜ ํฌ๊ธฐ๋ฅผ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group id="" style="" class=""></xf:group> <xf:group class="example_div_tb_style_wrap mw600" id=""> <xf:group class="titbox" id="" style=""> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[window ์ƒ์„ฑ - ๊ธฐ๋ณธ ํฌ๊ธฐ ๋ฏธ์ง€์ •]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" style="" type="button"> <xf:label><![CDATA[window ์ƒ์„ฑ- ๊ธฐ๋ณธ ํฌ๊ธฐ ์ง€์ •]]></xf:label> </xf:trigger> </xf:group> <w2:windowContainer controlIconPosition="left" fixArrangeFullScreen="false" hideTitleOnMaximize="false" horizontalArrangeNum="2" id="wdc_exam1" nameLayerRearrange="false" sequentialArrangeColNum="2" sequentialArrangeRowNum="2" spaInitCount="0" stopMinimizeOnNameLayer="false" stopToggleOnLast="false" style="position: relative;height: 340px;" toolbarPosition="bottom" tooltipDisplay="true" tooltipGroupClass="false" useCloseButton="false" useControlIconTitle="false" useCustomMsg="false" useFixButton="false" useNameContainer="false" useStatusMsg="false" verticalArrangeNum="2" windowAutoResize="false" windowMaxNum="5" windowMaximizeAll="false" windowTooltipDisplay="true"> <w2:windowToolbar> <w2:controlIconLayer> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> <w2:controlIcon></w2:controlIcon> </w2:controlIconLayer> <w2:nameLayer></w2:nameLayer> <w2:selectedNameLayer></w2:selectedNameLayer> </w2:windowToolbar> </w2:windowContainer> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00158S02.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221104" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { tac_exam1.disableTab(1) }; /** * ๋ฒ„ํŠผ [๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { //TabControl [tac_exam1] ๋น„ํ™œ์„ฑํ™” ์„ค์ • tac_exam1.setDisabled(true); }; /** * ๋ฒ„ํŠผ [ํ™œ์„ฑํ™” ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_1_onclick = function (e) { //TabControl [tac_exam1] ํ™œ์„ฑํ™” ์„ค์ • tac_exam1.setDisabled(false); }; /** * ๋ฒ„ํŠผ [ํ™”๋ฉด ์ดˆ๊ธฐํ™”] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_3_onclick = function (e) { $p.reinitialize(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style="padding: 6px;"> <w2:textbox id="" label="P00158S02.xml" style="color: darkviolet;font-size: 1.4em;font-weight: bold;"></w2:textbox> <w2:textbox class="ws5_example_txt_normal mb10" escape="false" id="" label="TabControl์˜ ์†์„ฑ keepDisabledTab์ด true๋กœ ์ง€์ •๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;๋‘ ๋ฒˆ์งธ ํƒญ์ด ๋น„ํ™œ์„ฑํ™”๋œ ์ƒํƒœ์ž…๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="mb_def_box" id="" style="margin-bottom: 0px !important;"> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_1_onclick" id="btn_ex1_1" style="" type="button"> <xf:label><![CDATA[ํ™œ์„ฑํ™” ํ•˜๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_3_onclick" id="btn_ex1_3" style="" type="button"> <xf:label><![CDATA[ํ™”๋ฉด ์ดˆ๊ธฐํ™”]]></xf:label> </xf:trigger> </xf:group> <xf:group class="tbcbox" id="" style=""> <w2:tabControl alwaysDraw="false" class="" confirmFalseAction="new" confirmTrueAction="exist" id="tac_exam1" style="position: relative;height: 100px;" tabScroll="" useConfirmMessage="false" useMoveNextTabFocus="false" useTabKeyOnly="true" keepDisabledTab="true"> <w2:tabs disabled="false" style="width:60px;height:30px;" id="tabs1" label="TAB1"></w2:tabs> <w2:tabs disabled="false" style="width:110px;height:30px;" id="tabs2" label="TAB2 - ๋น„ํ™œ์„ฑํ™”"></w2:tabs> <w2:content alwaysDraw="false" style="" id="content1"> <w2:textbox id="" label="SUB TAB 1 Content ์˜์—ญ" style="font-size: 1.2em;padding: 10px;"></w2:textbox> </w2:content> <w2:content alwaysDraw="false" style="height:70px" id="content2"> <xf:group id="" style="padding:6px;"> <xf:input adjustMaxLength="false" style="width: 100px;height: 24px;margin-right: 10px;" id=""></xf:input> <xf:trigger useDefaultLabel="true" localeRef="" style="min-width: 30px; height: 26px;" id="" type="" class="btn_com"> <xf:label><![CDATA[์ž„์‹œ ๋ฒ„ํŠผ]]></xf:label> </xf:trigger> </xf:group> </w2:content> </w2:tabControl> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00118.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] inputType์ด autoComplate์ธ ๊ฒฝ์šฐ ๋ชฉ๋ก ํ™•์žฅ ์•„์ด์ฝ˜ ํด๋ฆญ ์‹œ ๋ชฉ๋ก ํ™•์žฅํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_exam" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="select" name="select"></w2:column> <w2:column dataType="text" id="checkcombobox" name="checkcombobox"></w2:column> <w2:column id="autoComplete" name="autoComplete" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="false"> </w2:data> </w2:dataList> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> <w2:column id="useYN" name="useYN" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //GridView์˜ ์„ ํƒํ˜• inputType์˜ ๋ชฉ๋ก๊ณผ ์—ฐ๊ฒฐ๋œ DataList "dlt_exam_code"์— ๋ฐ์ดํ„ฐ ํ• ๋‹น. dlt_exam_code.setJSON([ { "label": "Apple", "code": "01", "useYN": "Y" }, { "label": "Pear", "code": "02", "useYN": "N" }, { "label": "Grapes", "code": "03", "useYN": "Y" }, { "label": "Melon", "code": "04", "useYN": "N" }, { "label": "Peach", "code": "05", "useYN": "Y" } ]); //GridView์™€ ์—ฐ๊ฒฐ๋œ DataList์— ๋ฐ์ดํ„ฐ ํ• ๋‹น. dlt_exam.setJSON([ { "select": "03", "checkcombobox": "03", "autoComplete": "03" }, { "select": "05", "checkcombobox": "05", "autoComplete": "05" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ inputType์ด "autoComplete"์ธ ๊ฒฝ์šฐ ๋ชฉ๋ก ํ™•์žฅ ์•„์ด์ฝ˜์„ ํด๋ฆญํ–ˆ์„ ๋•Œ ๋ชฉ๋ก์ด ๋ฐ”๋กœ ํ™•์žฅ๋˜๋Š” ์„ค์ • ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ปฌ๋Ÿผ [autoComplete]์˜ ๋ชฉ๋ก ํ™•์žฅ ์•„์ด์ฝ˜์„ ํด๋ฆญํ•˜๋ฉด ํŽธ์ง‘ ๋ชจ๋“œ๋กœ ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_exam" defaultCellHeight="24" id="" style="height:80px;" visibleRowNum="2" visibleRowNumFix="true"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="96" inputType="text" id="column1" value="autoComplete" displayMode="label"></w2:column> <w2:column width="80" inputType="text" id="column3" value="select" displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="96" inputType="autoComplete" id="autoComplete" displayMode="label" chooseOption="true" viewType="icon" chooseOptionLabel="- ์„ ํƒ -"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="80" inputType="select" id="select" displayMode="label" chooseOption="true" viewType="icon" chooseOptionLabel="- ์„ ํƒ -"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ชฉ๋ก ํ™•์žฅ ์•„์ด์ฝ˜์„ ํด๋ฆญํ–ˆ์„ ๋•Œ ๋ชฉ๋ก ํ™•์žฅํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ปฌ๋Ÿผ [autoComplete]์˜ ๋ชฉ๋ก ํ™•์žฅ ์•„์ด์ฝ˜์„ ํด๋ฆญํ•˜๋ฉด ๋ชฉ๋ก์ด ํ™•์žฅ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_exam" defaultCellHeight="24" id="" style="height:80px;" visibleRowNum="2" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column1" inputType="text" value="autoComplete" width="96"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="select" width="80"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="autoComplete" inputType="autoComplete" viewType="icon" width="96" directOpen="true" viewTypeIconImage="true"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column displayMode="label" id="select" inputType="select" viewType="icon" width="80"> <w2:choices> <w2:itemset nodeset="data:dlt_exam_code"> <w2:label ref="label"></w2:label> <w2:value ref="code"></w2:value> </w2:itemset> </w2:choices> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00123P01.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [ํŒ์—… ์—ด๊ธฐ] ํด๋ฆญ์‹œ */ scwin.btn_ex1_onclick = function (e) { var jsnOptions = { id: "popup_P00123P02", type: "wframePopup", modal: "modal", frameModal: "", width: "200px", height: "160px", popupName: "popup1-1", left: "60px", top: "60px" }; //ํŒ์—… ์—ด๊ธฐ $p.openPopup("/page/P00123P02.xml", jsnOptions); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="pop_contents" id="" style="padding: 10px;"> <w2:textbox id="" label="ํŒ์—…1 - P00123P01.xml" style="color: DarkCyan;font-size: 1.5em;font-weight: bold;"></w2:textbox> <xf:group id="" style=""> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[ํŒ์—… ์—ด๊ธฐ]]></xf:label> </xf:trigger> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00146S02.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221021" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00146S02.xml" style="color: firebrick;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00246.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230313" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="City" name="name1" dataType="text"></w2:column> <w2:column id="Code" name="name2" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> </w2:row> <w2:row> <City><![CDATA[Tokyo]]></City> <Code><![CDATA[TK]]></Code> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [ ์ฒดํฌ ์—ฌ๋ถ€ ํŒ๋‹จํ•˜๊ธฐ ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { // Radio 'rad_exam1'์˜ ์ฒดํฌ ์—ฌ๋ถ€๋ฅผ ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค. let message = rad_exam1.validate(); alert(message); }; /** * ๋ฒ„ํŠผ [ ์ง€์ •๋œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ ] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { // Radio 'rad_exam2'์˜ ์ฒดํฌ ์—ฌ๋ถ€๋ฅผ ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค. rad_exam2.validate(); }; /** * ๋ฒ„ํŠผ [ ์„ค์ •ํ•œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ ] ํด๋ฆญ ์‹œ */ scwin.btn_ex3_onclick = function (e) { // Radio 'rad_exam3'์˜ ์ฒดํฌ ์—ฌ๋ถ€๋ฅผ ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค. rad_exam3.validate(); }; /** * ๋ฒ„ํŠผ [ ์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜๋กœ ์„ค์ •ํ•œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ ] ํด๋ฆญ ์‹œ */ scwin.btn_ex4_onclick = function (e) { // Radio 'rad_exam4'์˜ ์ฒดํฌ ์—ฌ๋ถ€๋ฅผ ๊ฒ€์ฆํ•ฉ๋‹ˆ๋‹ค. rad_exam4.validate(); }; /** * ์˜์—ญ [์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜๋กœ ์„ค์ •ํ•œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ]์˜ * Radio์ปดํฌ๋„ŒํŠธ [rad_exam4]์˜ invalidMessageFuncํ•จ์ˆ˜ */ scwin.fn_msg = function () { var invalidType = this.getType(); if (invalidType == "mandatory") { message = "์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜๋กœ ์„ค์ •๋œ ๋ฉ”์‹œ์ง€์ž…๋‹ˆ๋‹ค."; } return message; }]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='์‚ฌ์šฉ์ž๊ฐ€ Radio์ปดํฌ๋„ŒํŠธ์—์„œ ์„ ํƒํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ฒ€์ฆํ•˜๋Š” ๊ฒƒ์— ๊ด€ํ•œ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ๊ณผ ํ•จ์ˆ˜๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- mandatory : (์†์„ฑ)mandatory="true"์ธ ๊ฒฝ์šฐ, validate(); ํ•จ์ˆ˜๋Š” ๊ฒ€์ฆ์„ ์ˆ˜ํ–‰ํ•˜์—ฌ ๊ฒฐ๊ณผ๋ฅผ true/false๋กœ ๋ฐ˜ํ™˜&lt;br/&gt;- displaymessage : (์†์„ฑ)๊ฒ€์ฆ ์‹คํŒจ ์‹œ Engine ๋‚ด๋ถ€์— ์ •์˜๋œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œ&lt;br/&gt;- invalidMessage : (์†์„ฑ)๊ฒ€์ฆ ๊ฒฐ๊ณผ๊ฐ€ ์‹คํŒจ์ผ ๊ฒฝ์šฐ, ์†์„ฑ์— ์ง€์ •ํ•œ ๊ฐ’์„ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œ&lt;br/&gt;- invalidMessageFunc : (์†์„ฑ)๊ฒ€์ฆ ๊ฒฐ๊ณผ๊ฐ€ ์‹คํŒจ์ผ ๊ฒฝ์šฐ, ์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜ ๋ฐ˜ํ™˜&lt;br/&gt;- validate : (ํ•จ์ˆ˜)์ปดํฌ๋„ŒํŠธ์˜ ์œ ํšจ์„ฑ ๊ด€๋ จ ์†์„ฑ๊ฐ’์„ ํ†ตํ•ด ์œ ํšจ์„ฑ ๊ฒ€์‚ฌ๋ฅผ ์‹คํ–‰' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ฒดํฌ ์—ฌ๋ถ€ ํŒ๋‹จํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="Radio์ปดํฌ๋„ŒํŠธ ์ฒดํฌ ํ›„ ์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ true๊ฐ’์„ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค. ๋ฐ˜ํ™˜๊ฐ’์€ ๋ฉ”์‹œ์ง€ ์ฐฝ์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label="โ€ป Radio์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฒดํฌํ•˜์ง€ ์•Š๊ณ  ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅผ ์‹œ false๊ฐ’์„ ๋ฉ”์‹œ์ง€ ์ฐฝ์— ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์ฒดํฌ ์—ฌ๋ถ€ ํŒ๋‹จํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:select1 id="rad_exam1" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;" cols="" rows="" ref="" mandatory="true"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ง€์ •๋œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="Radio์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฒดํฌํ•˜์ง€ ์•Š๊ณ  ์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ ์ง€์ •๋œ ๋ฉ”์‹œ์ง€ 'ํ•„์ˆ˜ ์ž…๋ ฅ ํ•ญ๋ชฉ์ž…๋‹ˆ๋‹ค'๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label="โ€ป Radio์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฒดํฌ ํ›„ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅผ ์‹œ ๋ฐ˜ํ™˜ ๋ฉ”์‹œ์ง€๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์ง€์ •๋œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" style="margin: 10px 0px 10px 0px;"> </xf:group> <xf:select1 id="rad_exam2" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;" cols="" rows="" ref="" mandatory="true" displaymessage="true"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="์‚ฌ์šฉ์ž ์„ค์ • ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="Radio์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฒดํฌํ•˜์ง€ ์•Š๊ณ  ์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ ์‚ฌ์šฉ์ž๊ฐ€ ์„ค์ •ํ•œ ๋ฉ”์‹œ์ง€๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label="โ€ป Radio์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฒดํฌ ํ›„ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅผ ์‹œ ๋ฐ˜ํ™˜ ๋ฉ”์‹œ์ง€๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex3_onclick" id="btn_ex3" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์‚ฌ์šฉ์ž ์„ค์ • ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" style="margin: 10px 0px 10px 0px;"> </xf:group> <xf:select1 id="rad_exam3" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;" cols="" rows="" ref="" mandatory="true" displaymessage="true" invalidMessage="์‚ฌ์šฉ์ž ์„ค์ • ๋ฉ”์‹œ์ง€"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜๋กœ ์„ค์ •ํ•œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="Radio์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฒดํฌํ•˜์ง€ ์•Š๊ณ  ์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ ์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜๋กœ ์„ค์ •ํ•œ ๋ฉ”์‹œ์ง€๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label="โ€ป Radio์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฒดํฌ ํ›„ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅผ ์‹œ ๋ฐ˜ํ™˜ ๋ฉ”์‹œ์ง€๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex4_onclick" id="btn_ex4" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[์‚ฌ์šฉ์ž ์ง€์ • ํ•จ์ˆ˜๋กœ ์„ค์ •ํ•œ ๋ฉ”์‹œ์ง€ ํ‘œ์‹œํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" style="margin: 10px 0px 10px 0px;"> </xf:group> <xf:select1 id="rad_exam4" selectedIndex="-1" appearance="full" style="width: 200px;height:125px;" cols="" rows="" ref="" mandatory="true" displaymessage="true" invalidMessageFunc="scwin.fn_msg"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00252.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230320" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="City" name="name1" dataType="text"></w2:column> <w2:column id="Code" name="name2" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> </w2:row> <w2:row> <City><![CDATA[Tokyo]]></City> <Code><![CDATA[TK]]></Code> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [DataList๋ฅผ SelectBox์ปดํฌ๋„ŒํŠธ์— ์—ฐ๊ฒฐํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { // SelectBox 'sbx_exam2'์— DataList 'dlt_dataList1'์„ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค. sbx_exam2.setNodeSet("data:dlt_dataList1", "City", "Code"); }; /** * ๋ฒ„ํŠผ [๋ชฉ๋ก ์ถ”๊ฐ€ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { // SelectBox 'sbx_exam4'์˜ ํ‘œ์‹œ๋ชฉ๋ก์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. sbx_exam4.addItem("NY", "NewYork", "5"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='WebSquare ์ŠคํŠœ๋””์˜ค์—์„œ DataList ์ž‘์„ฑ๋ฒ•๊ณผ SelectBox์ปดํฌ๋„ŒํŠธ์— DataList๋ฅผ ์—ฐ๊ฒฐํ•˜์—ฌ ์„ ํƒ ํ•ญ๋ชฉ์„ ์„ค์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ๊ณผ ํ•จ์ˆ˜๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- appearance : (์†์„ฑ)์„ ํƒํ•ญ๋ชฉ ํ‘œํ˜„๋ฐฉ์‹&lt;br/&gt;- setNodeSet : (ํ•จ์ˆ˜)SelectBox์ปดํฌ๋„ŒํŠธ์— DataList ๋ฐ”์ธ๋”ฉ&lt;br/&gt;- addItem : (ํ•จ์ˆ˜)์„ ํƒ ํ•ญ๋ชฉ์„ ์ถ”๊ฐ€. index๋ฅผ ์ง€์ •ํ•˜์ง€ ์•Š์œผ๋ฉด ํ•˜์œ„๋กœ ์ถ”๊ฐ€๋จ.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="SelectBox์ปดํฌ๋„ŒํŠธ์— DataList ์—ฐ๊ฒฐํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ์— ๋งŒ๋“ค์–ด ๋‘” DataList๊ฐ€ ์—ฐ๊ฒฐ๋œ ๊ฒƒ์„ ํ™•์ธํ•œ๋‹ค.' style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label="โ€ป WebSquareํˆด ๋‚ด๋ถ€ ์กฐ์ž‘์œผ๋กœ DataList์ƒ์„ฑ ๋ฐ SelectBox์ปดํฌ๋„ŒํŠธ์™€ DataList์˜ ์—ฐ๊ฒฐํ•˜๋Š” ๋ฒ•์€ ๊ฐ€์ด๋“œ๋ฅผ ๊ฐ™์ด ์ฐธ๊ณ ํ•ด์ฃผ์‹œ๊ธฐ๋ฅผ ๋ฐ”๋ž๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> <xf:select1 id="sbx_exam1" chooseOption="" style="width: 148px;height: 21px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="setNodeSet ํ•จ์ˆ˜๋ฅผ ์ด์šฉํ•œ DataList์™€ SelectBox์ปดํฌ๋„ŒํŠธ ์—ฐ๊ฒฐํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ์ค€๋น„ํ•ด๋‘” DataList๋ฅผ SelectBox์ปดํฌ๋„ŒํŠธ์— ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label> <![CDATA[DataList๋ฅผ SelectBox์ปดํฌ๋„ŒํŠธ์— ์—ฐ๊ฒฐํ•˜๊ธฐ]]> </xf:label> </xf:trigger> </xf:group> <xf:select1 id="sbx_exam2" chooseOption="false" style="width: 148px;height: 21px;" submenuSize="auto" allOption="false" disabled="false" direction="auto" appearance="minimal" disabledClass="w2selectbox_disabled"> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํ•˜๋“œ์ฝ”๋”ฉ์œผ๋กœ ์—ฐ๊ฒฐํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='์†Œ์Šค์— ์ •๋ณด๋ฅผ ์ถ”๊ฐ€ํ•˜์—ฌ ์—ฐ๊ฒฐํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"></xf:group> <xf:select1 allOption="false" appearance="minimal" chooseOption="false" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="sbx_exam3" style="width: 148px;height: 21px;" submenuSize="auto"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="addItem ํ•จ์ˆ˜๋ฅผ ์ด์šฉํ•œ ๋ชฉ๋ก ์ถ”๊ฐ€ํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์•„๋ž˜์˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ SelectBox์ปดํฌ๋„ŒํŠธ ํ‘œ์‹œํ•ญ๋ชฉ์— 'NewYork'์ด ์ถ”๊ฐ€๋ฉ๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[๋ชฉ๋ก ์ถ”๊ฐ€ํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:select1 allOption="false" appearance="minimal" chooseOption="false" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="sbx_exam4" style="width: 148px;height: 21px;" submenuSize="auto"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00285.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[FusionChart] ํŠธ๋ Œ๋“œ๋ผ์ธ ์ถ”๊ฐ€ํ•˜๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230706" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_chartData_1" repeatNode="data" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="type" name="type"></w2:column> <w2:column dataType="text" id="value" name="value"></w2:column> </w2:columnInfo> <w2:data use="true" xmlns=""> <w2:row> <type><![CDATA[TYPE 1]]></type> <value><![CDATA[17600]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 2]]></type> <value><![CDATA[28110]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 3]]></type> <value><![CDATA[29800]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 4]]></type> <value><![CDATA[21500]]></value> </w2:row> <w2:row> <type><![CDATA[TYPE 5]]></type> <value><![CDATA[15300]]></value> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [์„  ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ ์ถ”๊ฐ€ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // ์ ์šฉ๋œ ํŠธ๋ Œ๋“œ๋ผ์ธ์ด ์žˆ์œผ๋ฉด return if (cht_exam1.getJSONData().trendlines) { return; } // ํŠธ๋ Œ๋“œ๋ผ์ธ ์†์„ฑ let options = {}; options.startValue = 19000; // [ํ•„์ˆ˜] ์‹œ์ž‘ ๊ฐ’. options.displayValue = "19,000"; // ํŠธ๋ Œ๋“œ ๋ผ์ธ์— ์ขŒ์ธก ๋˜๋Š” ์šฐ์ธก์— ํ‘œ์‹œํ•  ๋ ˆ์ด๋ธ”. options.color = "#DC143C"; // ์ƒ‰. options.alpha = 60; // [0-100]ํˆฌ๋ช…๋„. ์†์„ฑ 'displayValue'๋„ ํ•จ๊ป˜ ์ ์šฉ. options.showOnTop = 1; // [default:0, 1] ๋ฐ์ดํ„ฐ ํ”Œ๋กฏ ์œ„๋กœ ํ‘œ์‹œํ•  ์ง€์˜ ์—ฌ๋ถ€. options.thickness = 4; // ์„  ๊ตต๊ธฐ๋กœ px ๋‹จ์œ„๋กœ ์ ์šฉ. ์†์„ฑ 'isTrendZone'์ด ์ ์šฉ๋œ ๊ฒฝ์šฐ ๋ฌด์‹œ. options.toolText = "๋ถ€๊ฐ€ ์ •๋ณด๋ฅผ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค."; // ํŠธ๋ Œ๋“œ ๋ผ์ธ์˜ ํˆดํŒ. // Fusionchart 'cht_exam1'์˜ ํŠธ๋ Œ๋“œ๋ผ์ธ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. cht_exam1.addTrendLine(options); // Fusionchart 'cht_exam1'๋ฅผ ๋ธŒ๋ผ์šฐ์ €์— ๊ทธ๋ฆฝ๋‹ˆ๋‹ค. cht_exam1.draw(); }; /** * ๋ฒ„ํŠผ [๋ฐ•์Šค ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ ์ถ”๊ฐ€ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam2_1_onclick = function (e) { // ์ ์šฉ๋œ ํŠธ๋ Œ๋“œ๋ผ์ธ์ด ์žˆ์œผ๋ฉด return if (cht_exam2.getJSONData().trendlines) { return; } // ํŠธ๋ Œ๋“œ๋ผ์ธ ์†์„ฑ let options = {}; options.startValue = 20000; // [ํ•„์ˆ˜] ์‹œ์ž‘ ๊ฐ’. options.endValue = 25000; // ์ข…๋ฃŒ ๊ฐ’. options.displayValue = "ํ‘œ์ค€<br/>์˜์—ญ"; // ํŠธ๋ Œ๋“œ ๋ผ์ธ์— ์ขŒ์ธก ๋˜๋Š” ์šฐ์ธก์— ํ‘œ์‹œํ•  ๋ ˆ์ด๋ธ”. options.color = "#FFD700"; // ์ƒ‰. options.alpha = 40; // [0-100]ํˆฌ๋ช…๋„. ์†์„ฑ 'displayValue'๋„ ํ•จ๊ป˜ ์ ์šฉ. options.showOnTop = 1; // [default:0, 1] ๋ฐ์ดํ„ฐ ํ”Œ๋กฏ ์œ„๋กœ ํ‘œ์‹œํ•  ์ง€์˜ ์—ฌ๋ถ€. options.valueOnRight = 1; // [default:0, 1] ์†์„ฑ 'displayValue'์˜ ๊ฐ’์„ ์šฐ์ธก์— ํ‘œ์‹œํ• ์ง€์˜ ์—ฌ๋ถ€. options.isTrendZone = 1; // [default:0, 1] ์†์„ฑ 'endValue'๊ฐ€ ์ง€์ •๋œ ๊ฒฝ์šฐ ํŠธ๋ Œ๋“œ ๋ผ์ธ์„ ๋ฐ•์Šคํ˜•ํƒœ๋กœ ํ‘œ์‹œํ• ์ง€์˜ ์—ฌ๋ถ€. // Fusionchart 'cht_exam2'์˜ ํŠธ๋ Œ๋“œ๋ผ์ธ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. cht_exam2.addTrendLine(options); // ์†์„ฑ 'displayValue'์˜ ์ถ”๊ฐ€ ์†์„ฑ let attOptions = {}; attOptions.trendValueAlpha = 100; // [0-100] ์†์„ฑ 'displayValue'์˜ ํˆฌ๋ช…๋„. attOptions.trendValueFontSize = 13; // ์†์„ฑ 'displayValue'์˜ ๊ธ€์ž ํฌ๊ธฐ. attOptions.trendValueFontBold = 1; // ์†์„ฑ 'displayValue'์˜ ๊ธ€์ž ๊ตต๊ฒŒ ์ ์šฉ ์—ฌ๋ถ€. // attOptions.trendValueFont = <String>; // ์†์„ฑ 'displayValue'์˜ ๊ธ€์ž์ฒด. // attOptions.trendValueFontItalic = 1; // ์†์„ฑ 'displayValue'์˜ ๊ธ€์ž ๊ธฐ์šธ๊ธฐ ์ ์šฉ ์—ฌ๋ถ€. // attOptions.trendValueBgColor = "#000000"; // ์†์„ฑ 'displayValue'์˜ ๋ฐฐ๊ฒฝ์ƒ‰. // attOptions.trendValueBgAlpha = 80; // [0-100] ์†์„ฑ 'displayValue'์˜ ๋ฐฐ๊ฒฝ์ƒ‰ ํˆฌ๋ช…๋„. // attOptions.trendValueBorderAlpha = 100; // [0-100] ์†์„ฑ 'displayValue'์˜ ํ…Œ๋‘๋ฆฌ ํˆฌ๋ช…๋„. // attOptions.trendValueBorderColor = "#33333"; // [0-100] ์†์„ฑ 'displayValue'์˜ ํ…Œ๋‘๋ฆฌ ์ƒ‰. // attOptions.trendValueBorderPadding = 4; // [0-100] ์†์„ฑ 'displayValue'์˜ ํ…Œ๋‘๋ฆฌ ์—ฌ๋ฐฑ. // attOptions.trendValueBorderRadius = 3; // [px ๋‹จ์œ„] ์†์„ฑ 'displayValue'์˜ ํ…Œ๋‘๋ฆฌ์˜ ๋ชจ์„œ๋ฆฌ ๋ฐ˜๊ฒฝ. // attOptions.trendValueBorderThickness = 0; // [px ๋‹จ์œ„] ์†์„ฑ 'displayValue'์˜ ํ…Œ๋‘๋ฆฌ์˜ ๊ตต๊ธฐ. // Fusionchart 'cht_exam2'์˜ ์†์„ฑ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. cht_exam2.setChartAttribute(attOptions); // Fusionchart 'cht_exam2'๋ฅผ ๋ธŒ๋ผ์šฐ์ €์— ๊ทธ๋ฆฝ๋‹ˆ๋‹ค. cht_exam2.draw(); }; /** * ๋ฒ„ํŠผ [๋‹ค์ค‘ ํŠธ๋ Œ๋“œ๋ผ์ธ ์ถ”๊ฐ€ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam3_1_onclick = function (e) { // ์ ์šฉ๋œ ํŠธ๋ Œ๋“œ๋ผ์ธ์ด ์žˆ์œผ๋ฉด return if (cht_exam3.getJSONData().trendlines) { return; } // ์„  ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ ์†์„ฑ let trnOptions1 = {}; trnOptions1.startValue = 25000; // [ํ•„์ˆ˜] ์‹œ์ž‘ ๊ฐ’. trnOptions1.displayValue = "๋ชฉํ‘œ"; // ํŠธ๋ Œ๋“œ ๋ผ์ธ์— ์ขŒ์ธก ๋˜๋Š” ์šฐ์ธก์— ํ‘œ์‹œํ•  ๋ ˆ์ด๋ธ”. trnOptions1.color = "#DC143C"; // ์ƒ‰. trnOptions1.alpha = 60; // [1-100]ํˆฌ๋ช…๋„. ์†์„ฑ 'displayValue'๋„ ํ•จ๊ป˜ ์ ์šฉ. trnOptions1.showOnTop = 0; // [default:0, 1] ๋ฐ์ดํ„ฐ ํ”Œ๋กฏ ์œ„๋กœ ํ‘œ์‹œํ•  ์ง€์˜ ์—ฌ๋ถ€. trnOptions1.thickness = 2; // ์„  ๊ตต๊ธฐ๋กœ px ๋‹จ์œ„๋กœ ์ ์šฉ. ์†์„ฑ 'isTrendZone'์ด ์ ์šฉ๋œ ๊ฒฝ์šฐ ๋ฌด์‹œ. trnOptions1.valueOnRight = 1; // [default:0, 1] ์†์„ฑ 'displayValue'์˜ ๊ฐ’์„ ์šฐ์ธก์— ํ‘œ์‹œํ• ์ง€์˜ ์—ฌ๋ถ€. // Fusionchart 'cht_exam3'์˜ ํŠธ๋ Œ๋“œ๋ผ์ธ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. cht_exam3.addTrendLine(trnOptions1); // ๋ฐ•์Šค ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ ์†์„ฑ let trnOptions2 = {}; trnOptions2.startValue = 15000; // [ํ•„์ˆ˜] ์‹œ์ž‘ ๊ฐ’. trnOptions2.endValue = 20000; // ์ข…๋ฃŒ ๊ฐ’. trnOptions2.displayValue = "์ „์›”<br/>์ตœ๋Œ€<br/>์ตœ์†Œ"; // ํŠธ๋ Œ๋“œ ๋ผ์ธ์— ์ขŒ์ธก ๋˜๋Š” ์šฐ์ธก์— ํ‘œ์‹œํ•  ๋ ˆ์ด๋ธ”. trnOptions2.color = "#1E90FF"; // ์ƒ‰. trnOptions2.alpha = 40; // [1-100]ํˆฌ๋ช…๋„. ์†์„ฑ 'displayValue'๋„ ํ•จ๊ป˜ ์ ์šฉ. trnOptions2.showOnTop = 0; // [default:0, 1] ๋ฐ์ดํ„ฐ ํ”Œ๋กฏ ์œ„๋กœ ํ‘œ์‹œํ•  ์ง€์˜ ์—ฌ๋ถ€. trnOptions2.valueOnRight = 1; // [default:0, 1] ์†์„ฑ 'displayValue'์˜ ๊ฐ’์„ ์šฐ์ธก์— ํ‘œ์‹œํ• ์ง€์˜ ์—ฌ๋ถ€. trnOptions2.isTrendZone = 1; // [default:0, 1] ์†์„ฑ 'endValue'๊ฐ€ ์ง€์ •๋œ ๊ฒฝ์šฐ ํŠธ๋ Œ๋“œ ๋ผ์ธ์„ ๋ฐ•์Šคํ˜•ํƒœ๋กœ ํ‘œ์‹œํ• ์ง€์˜ ์—ฌ๋ถ€. // Fusionchart 'cht_exam3'์˜ ํŠธ๋ Œ๋“œ๋ผ์ธ์„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. cht_exam3.addTrendLine(trnOptions2); // ์†์„ฑ 'displayValue'์˜ ์ถ”๊ฐ€ ์†์„ฑ let attOptions = {}; attOptions.trendValueAlpha = 100; // [0-100] ์†์„ฑ 'displayValue'์˜ ํˆฌ๋ช…๋„. // Fusionchart 'cht_exam3'์˜ ์†์„ฑ์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. cht_exam3.setChartAttribute(attOptions); // Fusionchart 'cht_exam3'๋ฅผ ๋ธŒ๋ผ์šฐ์ €์— ๊ทธ๋ฆฝ๋‹ˆ๋‹ค. cht_exam3.draw(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="FusionChart์˜ ํŠธ๋ Œ๋“œ๋ผ์ธ์„ ์Šคํฌ๋ฆฝํŠธ๋กœ ์ถ”๊ฐ€ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;FusionChart์˜ ํ•จ์ˆ˜ 'addTrendLine'์œผ๋กœ ๊ตฌํ˜„ํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ, ํŠธ๋ Œ๋“œ๋ผ์ธ์˜ ์ฃผ์š” ์†์„ฑ์„ ์ค‘์‹ฌ์œผ๋กœ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox escape="false" id="" label='FusionChart์˜ ๋ชจ๋“  ์†์„ฑ : &lt;a href="https://www.fusioncharts.com/dev/chart-attributes/" target="_blank"&gt;https://www.fusioncharts.com/dev/chart-attributes/&lt;/a&gt;' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์„  ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[์„  ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ ์ถ”๊ฐ€ํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class="mb_def_box nobottom"> <w2:fusionchart labelNode="type" ref="data:dlt_chartData_1" seriesColumns="[['value']]" chartType="Column2D" drawType="javascript" style="height: 300px;min-width:200px;" id="cht_exam1"> </w2:fusionchart> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ฐ•์Šค ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam2_1_onclick" id="btn_exam2_1" style="" type="button"> <xf:label><![CDATA[๋ฐ•์Šค ํ˜•์‹ ํŠธ๋ Œ๋“œ๋ผ์ธ ์ถ”๊ฐ€ํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id=""> <w2:fusionchart chartType="Column2D" drawType="javascript" id="cht_exam2" labelNode="type" ref="data:dlt_chartData_1" seriesColumns="[['value']]" style="height: 300px;min-width:200px;"> </w2:fusionchart> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋‹ค์ค‘ ํŠธ๋ Œ๋“œ๋ผ์ธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam3_1_onclick" id="btn_exam3_1" style="" type="button"> <xf:label><![CDATA[๋‹ค์ค‘ ํŠธ๋ Œ๋“œ๋ผ์ธ ์ถ”๊ฐ€ํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id=""> <w2:fusionchart chartType="Column2D" drawType="javascript" id="cht_exam3" labelNode="type" ref="data:dlt_chartData_1" seriesColumns="[['value']]" style="height: 300px;min-width:200px;"> </w2:fusionchart> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00291.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[PageControl] ์ด ํŽ˜์ด์ง€ ์ˆ˜ ์„ค์ •ํ•˜๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230712" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { // PageControl 'pgc_exam'์˜ ์„ ํƒ ๊ฐ’์„ 3์œผ๋กœ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค. pgc_exam.setSelectedIndex(3); }; /** * ๋ฒ„ํŠผ [์ด ํŽ˜์ด์ง€ ์ˆ˜๋ฅผ 8๋กœ ์„ค์ •ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // PageControl 'pgc_exam'์˜ ์ด ํŽ˜์ด์ง€ ์ˆ˜๋ฅผ 8๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. pgc_exam.setCount(8); }; /** * ๋ฒ„ํŠผ [์ด ํŽ˜์ด์ง€ ์ˆ˜๋ฅผ 5๋กœ ์„ค์ •ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // PageControl 'pgc_exam'์˜ ์ด ํŽ˜์ด์ง€ ์ˆ˜๋ฅผ 5๋กœ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค. pgc_exam.setCount(5); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="PageControl์˜ ์ด ํŽ˜์ด์ง€์ˆ˜๋ฅผ ์„ค์ •ํ•˜๋Š” ํ•จ์ˆ˜ 'setCount'์˜ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id="" style=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger id="btn_exam1_1" style="" type="button" class="btn_exam_exec" ev:onclick="scwin.btn_exam1_1_onclick"> <xf:label><![CDATA[์ด ํŽ˜์ด์ง€ ์ˆ˜๋ฅผ 8๋กœ ์„ค์ •ํ•˜๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" id="btn_exam1_2" style="" type="button" ev:onclick="scwin.btn_exam1_2_onclick"> <xf:label><![CDATA[์ด ํŽ˜์ด์ง€ ์ˆ˜๋ฅผ 5๋กœ ์„ค์ •ํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class="" style=""> <w2:pageControl style="width: 150px;height: 30px;" id="pgc_exam"></w2:pageControl> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00044.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] footer์˜ expression(์˜ฌ๋ฆผ,๋ฐ˜์˜ฌ๋ฆผ,๋‚ด๋ฆผ)"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="no" name="๋ฒˆํ˜ธ" dataType="text"></w2:column> <w2:column id="sumVal0" name="sum๊ฐ’" dataType="text"></w2:column> <w2:column id="sumVal1" name="sum๊ฐ’(์˜ฌ๋ฆผ)" dataType="text"></w2:column> <w2:column id="sumVal2" name="sum๊ฐ’(๋ฒ„๋ฆผ)" dataType="text"></w2:column> <w2:column id="sumVal3" name="sum๊ฐ’(๋ฐ˜์˜ฌ๋ฆผ)" dataType="text"></w2:column> <w2:column id="sumVal4" name="sum๊ฐ’(์†Œ์ˆ˜์  ๋ฐ˜์˜ฌ๋ฆผ)" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { var jsonData = [ { "no": "1", "sumVal0": "2.357", "sumVal1": "2.357", "sumVal2": "2.357", "sumVal3": "2.357", "sumVal4": "2.357" }, { "no": "2", "sumVal0": "1.53", "sumVal1": "1.53", "sumVal2": "1.53", "sumVal3": "1.53", "sumVal4": "1.53" }, { "no": "3", "sumVal0": "3.0271", "sumVal1": "3.0271", "sumVal2": "3.0271", "sumVal3": "3.0271", "sumVal4": "3.0271" }, { "no": "4", "sumVal0": "2.0254", "sumVal1": "2.0254", "sumVal2": "2.0254", "sumVal3": "2.0254", "sumVal4": "2.0254" }, { "no": "5", "sumVal0": "7.237", "sumVal1": "7.237", "sumVal2": "7.237", "sumVal3": "7.237", "sumVal4": "7.237" } ]; //๋ฐ์ดํ„ฐ ํ• ๋‹น dataList1.setJSON(jsonData); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group id="" class="gvwbox"> <w2:gridView scrollByColumnAdaptive="false" visibleRowNumFix="5" dataList="data:dataList1" scrollByColumn="false" style="height: 240px;max-width: 1100px;" id="" visibleRowNum="5" autoFit="allColumn" defaultCellHeight="26" class="gvw" autoFitMinWidth="900"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column rowSpan="2" width="70" inputType="text" style="" id="column3" value="๋ฒˆํ˜ธ" displayMode="label" fixColumnWidth="true"> </w2:column> <w2:column width="190" inputType="text" style="" id="column26" value="sum๊ฐ’" displayMode="label"></w2:column> <w2:column width="190" inputType="text" style="" id="column1" value="sum๊ฐ’(์˜ฌ๋ฆผ)" displayMode="label"> </w2:column> <w2:column width="190" inputType="text" style="" id="column13" value="sum๊ฐ’(๋ฒ„๋ฆผ)" displayMode="label"> </w2:column> <w2:column width="190" inputType="text" style="" id="column10" value="sum๊ฐ’(๋ฐ˜์˜ฌ๋ฆผ)" displayMode="label"> </w2:column> <w2:column width="190" inputType="text" style="" id="column2" value="sum๊ฐ’(์†Œ์ˆ˜์  2์ž๋ฆฌ ๋ฐ˜์˜ฌ๋ฆผ)" displayMode="label"> </w2:column> </w2:row> <w2:row style="" id="row4"> <w2:column width="190" inputType="text" id="column27" value="id : sumVal0" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column18" value="id : sumVal1" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column17" value="id : sumVal2" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column16" value="id : sumVal3" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column19" value="id : sumVal4" displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" inputType="text" style="" id="no" displayMode="label"></w2:column> <w2:column textAlign="right" dataType="number" width="190" inputType="text" style="" id="sumVal0" displayMode="label"> </w2:column> <w2:column textAlign="right" dataType="number" width="190" inputType="text" style="" id="sumVal1" displayMode="label"> </w2:column> <w2:column textAlign="right" dataType="number" width="190" inputType="text" style="" id="sumVal2" displayMode="label"> </w2:column> <w2:column textAlign="right" dataType="number" width="190" inputType="text" style="" id="sumVal3" displayMode="label"> </w2:column> <w2:column textAlign="right" dataType="number" width="190" inputType="text" style="" id="sumVal4" displayMode="label"> </w2:column> </w2:row> </w2:gBody> <w2:footer style="" id="footer1"> <w2:row style="" id="row3"> <w2:column width="70" inputType="text" style="" id="column9" value="์‹คํ–‰๊ฐ’" displayMode="label"></w2:column> <w2:column expression="sum('sumVal0')" textAlign="right" dataType="number" width="190" inputType="expression" style="" id="column30" displayMode="label"> </w2:column> <w2:column expression="Math.ceil(sum('sumVal1'))" textAlign="right" dataType="number" width="190" inputType="expression" style="" id="column7" displayMode="label"> </w2:column> <w2:column expression="Math.floor(sum('sumVal2'))" textAlign="right" dataType="number" width="190" inputType="expression" style="" id="column15" displayMode="label"> </w2:column> <w2:column expression="Math.round(sum('sumVal3'))" textAlign="right" dataType="number" width="190" inputType="expression" style="" id="column12" displayMode="label"> </w2:column> <w2:column expression="sum('sumVal4').toFixed(2)" textAlign="right" dataType="number" width="190" inputType="expression" style="" id="column8" displayMode="label"> </w2:column> </w2:row> <w2:row style="" id="row5"> <w2:column width="70" inputType="text" id="column25" value="ํ‘œํ˜„์‹" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column29" value="sum('sumVal0')" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column23" value="Math.ceil(sum('sumVal1'))" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column22" value="Math.floor(sum('sumVal2'))" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column21" value="Math.round(sum('sumVal3'))" displayMode="label"></w2:column> <w2:column width="190" inputType="text" id="column24" value="sum('sumVal4').toFixed(2)" displayMode="label"></w2:column> </w2:row> </w2:footer> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00050.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] customFormatter ์ ์šฉ ์†๋„ ๋น„๊ต"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList id="dlt_member" saveRemovedData="true"> <w2:columnInfo> <w2:column id="EMP_CD" name="์‚ฌ๋ฒˆ" dataType="number"></w2:column> <w2:column id="EMP_NM" name="์„ฑ๋ช…" dataType="text"></w2:column> <w2:column id="GENDER_CD" name="์„ฑ๋ณ„" dataType="text"></w2:column> <w2:column id="JOIN_DATE" name="์ž…์‚ฌ์ผ" dataType="text"></w2:column> <w2:column id="POSITION_CD" name="์ง์œ„" dataType="text"></w2:column> <w2:column id="DUTY_CD" name="์ง์ฑ…" dataType="text"></w2:column> <w2:column id="ROLE_CD" name="์—ญํ• " dataType="text"></w2:column> <w2:column id="ASSIGNED_TASK" name="์—…๋ฌด" dataType="text"></w2:column> <w2:column id="EMAIL" name="์ด๋ฉ”์ผ" dataType="text"></w2:column> <w2:column id="ZIP_CD" name="์šฐํŽธ๋ฒˆํ˜ธ" dataType="text"></w2:column> <w2:column id="ADDRESS1" name="์ฃผ์†Œ1" dataType="text"></w2:column> <w2:column id="ADDRESS2" name="์ฃผ์†Œ2" dataType="text"></w2:column> <w2:column id="IMAGE_PATH" name="์ด๋ฏธ์ง€ ๊ฒฝ๋กœ" dataType="text"></w2:column> <w2:column id="CREATED_DATE" name="์ž…๋ ฅ์ผ" dataType="text"></w2:column> <w2:column id="UPDATED_DATE" name="์ˆ˜์ •์ผ" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList id="dlt_CmCode01"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[01]]></CODE_CD> <CODE_NM><![CDATA[์ž„์›]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์›]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[ํ˜‘๋ ฅ]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode02"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[์ด์‚ฌ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[08]]></CODE_CD> <CODE_NM><![CDATA[๋ถ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[์ฐจ์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[05]]></CODE_CD> <CODE_NM><![CDATA[๊ณผ์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[06]]></CODE_CD> <CODE_NM><![CDATA[๋Œ€๋ฆฌ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[07]]></CODE_CD> <CODE_NM><![CDATA[์‚ฌ์›]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode19"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[01]]></CODE_CD> <CODE_NM><![CDATA[PM]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[PL]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[๋ถ„์„/์„ค๊ณ„]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[๊ฐœ๋ฐœ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[05]]></CODE_CD> <CODE_NM><![CDATA[ํผ๋ธ”๋ฆฌ์…”]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[06]]></CODE_CD> <CODE_NM><![CDATA[์ปจ์„คํŒ…]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode101"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[101]]></GRP_CD> <CODE_CD><![CDATA[M]]></CODE_CD> <CODE_NM><![CDATA[๋‚จ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[101]]></GRP_CD> <CODE_CD><![CDATA[F]]></CODE_CD> <CODE_NM><![CDATA[์—ฌ]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> <xf:submission id="sbm_getUserData" ref="" target='data:array,{"id":"dlt_member","key":"dlt_Member"}' action="/data/sampleData/largeData_15X1995.json" method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="" ev:submitdone="scwin.sbm_getUserData_submitdone" ev:submit="" ev:submiterror="" abortTrigger=""> </xf:submission> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { $p.executeSubmission("sbm_getUserData") }; scwin.sbm_getUserData_submitdone = function (e) { }; /** * grd_example์˜ EMP_NM ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example_EMP_NM = function (data, formattedData, rowIndex, colIndex) { if (formattedData.indexOf("์˜") > 0) { grd_example.setCellColor(rowIndex, colIndex, "red"); } return formattedData; }; /** * grd_example์˜ GENDER_CD ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example_GENDER_CD = function (data, formattedData, rowIndex, colIndex) { if (data === "F") { grd_example.setCellColor(rowIndex, colIndex, "orange"); } return formattedData; }; /** * grd_example์˜ ROLE_CD ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example_ROLE_CD = function (data, formattedData, rowIndex, colIndex) { if (data === "02") { grd_example.setCellColor(rowIndex, colIndex, "blue"); } return formattedData; }; /** * grd_example์˜ POSITION_CD ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example_POSITION_CD = function (data, formattedData, rowIndex, colIndex) { if (data === "07") { grd_example.setCellBackgroundColor(rowIndex, colIndex, "blue"); grd_example.setCellColor(rowIndex, colIndex, "#fff"); } return formattedData; }; /** * grd_example2์˜ EMP_NM ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example2_EMP_NM = function (data, formattedData, rowIndex, colIndex) { if (data.indexOf("์˜") > 0) { return "<span style='color:red'>" + formattedData + "</span>"; } return data; }; /** * grd_example2์˜ GENDER_CD ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example2_GENDER_CD = function (data, formattedData, rowIndex, colIndex) { if (data === "F") { return "<span style='color:orange'>" + formattedData + "</span>"; } return formattedData; }; /** * grd_exampl2e์˜ ROLE_CD ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example2_ROLE_CD = function (data, formattedData) { if (data === "02") { return "<span style='color:blue'>" + formattedData + "</span>"; } return formattedData; }; /** * grd_exampl2e์˜ POSITION_CD ์ปฌ๋Ÿผ์˜ customFormatter */ scwin.grd_example2_POSITION_CD = function (data, formattedData, rowIndex, colIndex) { if (data === "07") { return "<div style='display:inline-block;background-color:blue;line-height:26px;color:#fff;width:100%;box-sizing:border-box;'>" + formattedData + "</div>"; } return formattedData; };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="๊ทธ๋ฆฌ๋“œ๋ทฐ์— ๋ฐ์ดํ„ฐ๋ฅผ customFormatter์†์„ฑ์„ ์‚ฌ์šฉํ•˜์—ฌ style์„ ๋ณ€๊ฒฝ ํ•  ๋•Œ ์ ์šฉ ๋ฐฉ์‹์— ๋”ฐ๋ฅธ ์ถœ๋ ฅ์˜ ์†๋„๋ฅผ ๋น„๊ตํ•˜๊ธฐ ์œ„ํ•ด ์ž‘์„ฑ๋œ ํ™”๋ฉด์ž…๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ์‹œ์—ฐ์šฉ ์˜ˆ์ œ๋กœ ์˜ˆ์ œ ๊ฐ€์ด๋“œ ๋ฌธ์„œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <w2:textbox class="com_example_heading" id="" label="customformatter ๋ฏธ์ ์šฉ" style="" tagname="h3"></w2:textbox> <xf:group id="" class="gvwbox"> <w2:gridView scrollByColumnAdaptive="false" rowNumVisible="true" summaryAuto="false" useShiftKey="true" readOnly="true" scrollByColumn="false" summaryOnlyAuto="false" defaultCellHeight="26" applyAllColumnStyle="false" backgroundColorMode="always" senseReader="false" dataList="data:dlt_member" ev:onviewchange="" ignoreCellClick="false" style="height: 506px;" autoFit="allColumn" id="" visibleRowNum="20" fastScroll="false" class="gvw " ignoreToggleOnDisabled="false" autoFitMinWidth="750"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="70" inputType="text" style="" id="column29" value="์‚ฌ๋ฒˆ" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" style="" id="column27" value="์„ฑ๋ช…" blockSelect="false" displayMode="label"></w2:column> <w2:column width="105" inputType="text" style="" id="column25" value="์„ฑ๋ณ„" blockSelect="false" displayMode="label"></w2:column> <w2:column width="114" inputType="text" style="" id="column23" value="์ž…์‚ฌ์ผ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" style="" id="column21" value="์ง์œ„" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" style="" id="column19" value="์ง์ฑ…" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" style="" id="column17" value="์—ญํ• " blockSelect="false" displayMode="label"></w2:column> <w2:column width="175" inputType="text" style="" id="column13" value="์ด๋ฉ”์ผ" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" inputType="text" style="" id="EMP_CD" value="" blockSelect="false" displayMode="label"></w2:column> <w2:column customFormatter="" width="70" inputType="text" style="" id="EMP_NM" value="" blockSelect="false" displayMode="label"> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" chooseOption="true" width="105" inputType="select" style="" allOption="" id="GENDER_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode101"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column dataType="date" width="114" displayFormat="yyyy.MM.dd" inputType="text" style="" id="JOIN_DATE" value="" blockSelect="false" displayMode="label"> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" customFormatter="" chooseOption="true" width="70" inputType="select" style="" allOption="" id="POSITION_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode02"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" chooseOption="true" width="70" inputType="select" style="" allOption="" id="DUTY_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode19"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" customFormatter="" chooseOption="true" width="70" inputType="select" style="" allOption="" id="ROLE_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode01"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="175" inputType="text" style="" id="EMAIL" value="" blockSelect="false" displayMode="label"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> <w2:textbox class="com_example_heading" id="" label="customformatter ์ ์šฉ - setCellBackgroundColor, setCellColor API ์‚ฌ์šฉ" style="" tagname="h3"></w2:textbox> <xf:group id="" class="gvwbox"> <w2:gridView scrollByColumnAdaptive="false" rowNumVisible="true" summaryAuto="false" useShiftKey="true" readOnly="true" scrollByColumn="false" summaryOnlyAuto="false" defaultCellHeight="26" applyAllColumnStyle="false" backgroundColorMode="always" senseReader="false" dataList="data:dlt_member" ev:onviewchange="" ignoreCellClick="false" style="height: 506px;" autoFit="allColumn" id="grd_example" visibleRowNum="20" fastScroll="false" class="gvw " ignoreToggleOnDisabled="false" autoFitMinWidth="750"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="70" inputType="text" id="column29" value="์‚ฌ๋ฒˆ" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" id="column27" value="์„ฑ๋ช…" class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="105" inputType="text" id="column25" value="์„ฑ๋ณ„" class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="114" inputType="text" id="column23" value="์ž…์‚ฌ์ผ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" id="column21" value="์ง์œ„" class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" id="column19" value="์ง์ฑ…" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" id="column17" value="์—ญํ• " class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="175" inputType="text" id="column13" value="์ด๋ฉ”์ผ" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" inputType="text" id="EMP_CD" blockSelect="false" displayMode="label"></w2:column> <w2:column customFormatter="scwin.grd_example_EMP_NM" width="70" inputType="text" id="EMP_NM" blockSelect="false" displayMode="label"> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" customFormatter="scwin.grd_example_GENDER_CD" chooseOption="true" width="105" inputType="select" id="GENDER_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode101"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column dataType="date" width="114" displayFormat="yyyy.MM.dd" inputType="text" id="JOIN_DATE" blockSelect="false" displayMode="label"> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" customFormatter="scwin.grd_example_POSITION_CD" chooseOption="true" width="70" inputType="select" id="POSITION_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode02"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" chooseOption="true" width="70" inputType="select" id="DUTY_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode19"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" customFormatter="scwin.grd_example_ROLE_CD" chooseOption="true" width="70" inputType="select" id="ROLE_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode01"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="175" inputType="text" id="EMAIL" blockSelect="false" displayMode="label"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> <w2:textbox class="com_example_heading" id="" label="customformatterr ์ ์šฉ - innerHTML ์‚ฌ์šฉ" style="" tagname="h3"></w2:textbox> <xf:group id="" class="gvwbox"> <w2:gridView scrollByColumnAdaptive="false" rowNumVisible="true" summaryAuto="false" useShiftKey="true" readOnly="true" scrollByColumn="false" summaryOnlyAuto="false" defaultCellHeight="26" applyAllColumnStyle="false" senseReader="false" dataList="data:dlt_member" ev:onviewchange="" ignoreCellClick="false" style="height: 506px;" autoFit="allColumn" id="grd_example2" visibleRowNum="20" fastScroll="false" class="gvw" ignoreToggleOnDisabled="false" autoFitMinWidth="750"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="70" inputType="text" id="column29" value="์‚ฌ๋ฒˆ" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" id="column27" value="์„ฑ๋ช…" class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="105" inputType="text" id="column25" value="์„ฑ๋ณ„" class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="114" inputType="text" id="column23" value="์ž…์‚ฌ์ผ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" id="column21" value="์ง์œ„" class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" id="column19" value="์ง์ฑ…" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" id="column17" value="์—ญํ• " class="ws5_exam_txt_blue" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="175" inputType="text" id="column13" value="์ด๋ฉ”์ผ" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" inputType="text" id="EMP_CD" blockSelect="false" displayMode="label"></w2:column> <w2:column customFormatter="scwin.grd_example2_EMP_NM" width="70" inputType="text" id="EMP_NM" blockSelect="false" displayMode="label"> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" customFormatter="scwin.grd_example2_GENDER_CD" chooseOption="true" width="105" inputType="select" id="GENDER_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode101"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column dataType="date" width="114" displayFormat="yyyy.MM.dd" inputType="text" id="JOIN_DATE" blockSelect="false" displayMode="label"> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" customFormatter="scwin.grd_example2_POSITION_CD" chooseOption="true" width="70" inputType="select" id="POSITION_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode02"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" chooseOption="true" width="70" inputType="select" id="DUTY_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode19"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" customFormatter="scwin.grd_example2_ROLE_CD" chooseOption="true" width="70" inputType="select" id="ROLE_CD" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode01"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="175" inputType="text" id="EMAIL" blockSelect="false" displayMode="label"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00078.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckBox] ํŠน์ • ํ•ญ๋ชฉ ํ‘œ์‹œํ•˜์ง€ ์•Š๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> <w2:column id="useYN" name="useYN" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01", "useYN": "Y" }, { "label": "Pear", "code": "02", "useYN": "N" }, { "label": "Grapes", "code": "03", "useYN": "Y" }, { "label": "Watermelon", "code": "04", "useYN": "N" }, { "label": "Peach", "code": "05", "useYN": "Y" } ]); }; /** * CheckBox - ํ•ญ๋ชฉ ์ˆจ๊น€ ์ง€์ • - ์Šคํฌ๋ฆฝํŠธ * ๋ฒ„ํŠผ [ํ•ญ๋ชฉ ์ˆจ๊ธฐ๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { //์ปดํฌ๋„ŒํŠธ cbx_exam3์˜ ์ˆจ๊ธธ ํ•ญ๋ชฉ์˜ ์ปฌ๋Ÿผ๊ณผ ์กฐ๊ฑด๊ฐ’ ์„ค์ • //ํ•ญ๋ชฉ ์ˆจ๊ธฐ๊ธฐ ์ปฌ๋Ÿผ ๋ฐ ์ˆจ๊ธฐ๊ธฐ ๊ฐ’ ์„ค์ • - ๋ชฉ๋ก๊ณผ ์—ฐ๊ฒฐ๋œ DataList์˜ "useYN" ์ปฌ๋Ÿผ์˜ ๊ฐ’์ด "N"์ธ ๊ฒฝ์šฐ ํ•ญ๋ชฉ์„ ์ˆจ๊น๋‹ˆ๋‹ค. cbx_exam3.setVisibleColumn("useYN", "N"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckBox - ๊ธฐ๋ณธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:select selectedindex="-1" id="cbx_exam1" appearance="full" style="min-width: 80px;min-height: 21px;" cols="" rows="" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:select> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckBox - ํ•ญ๋ชฉ ์ˆจ๊น€ ์ง€์ •' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:select appearance="full" cols="" id="cbx_exam2" ref="" rows="" selectedindex="-1" style="min-width: 80px;min-height: 21px;" visibleColumn="useYN" visibleColumnFalseValue="N"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:select> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckBox - ํ•ญ๋ชฉ ์ˆจ๊น€ ์ง€์ • - ์Šคํฌ๋ฆฝํŠธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group id="" style="" class="mb10"> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[ํ•ญ๋ชฉ ์ˆจ๊ธฐ๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:select appearance="full" cols="" id="cbx_exam3" ref="" rows="" selectedindex="-1" style="min-width: 80px;min-height: 21px;"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:select> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00087.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="์ปดํฌ๋„ŒํŠธ์˜ Plugin Name"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220907" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.dispGenerator(); }; scwin.dispGenerator = function () { var arrData = ["Accordion", "accordion", "AliasDataList", "aliasDataList", "AliasDataMap", "aliasDataMap", "AliasLinkedDataList", "aliasLinkedDataList", "Anchor", "anchor", "AutoComplete", "autoComplete", "Calendar", "calendar", "Checkbox", "checkbox", "Checkcombobox", "checkcombobox", "DataList", "dataList", "DataMap", "dataMap", "DatePicker", "datePicker", "Editor", "editor", "Fliptoggle", "fliptoggle", "FloatingLayer", "floatingLayer", "Fusionchart", "fusionchart", "FwBulletChart", "fwBulletChart", "FwFunnelChart", "fwFunnelChart", "FwGanttChart", "fwGanttChart", "FwGaugeChart", "fwGaugeChart", "FwPyramidChart", "fwPyramidChart", "FwRealtimeChart", "fwRealtimeChart", "FwSparkChart", "fwSparkChart", "Generator", "generator", "GridView", "gridView", "Group", "group", "Iframe", "iframe", "Image", "image", "Input", "input", "InputCalendar", "inputCalendar", "LinkedDataList", "linkedDataList", "Mapchart", "mapchart", "Multiselect", "multiselect", "Multiupload", "multiupload", "Output", "output", "PageControl", "pageControl", "PageInherit", "pageInherit", "PageList", "pageList", "Pivot", "pivot", "Progressbar", "progressbar", "Radio", "radio", "Repeat", "repeat", "RoundRectangle", "roundRectangle", "ScheduleCalendar", "scheduleCalendar", "ScrollView", "scrollView", "Searchbox", "searchbox", "Selectbox", "selectbox", "SlideHide", "slideHide", "Slider", "slider", "Span", "span", "Spinner", "spinner", "Switch", "Switch", "TabControl", "tabControl", "Textarea", "textarea", "Textbox", "textbox", "Treeview", "treeview", "Trigger", "trigger", "Upload", "upload", "Wframe", "wframe", "WidgetContainer", "widgetContainer", "WindowContainer", "windowContainer",]; var _cmpGen = gen_exam1; var i, i_max; var strTbxValue = ""; var strLabel, strValue; for (i = 0, i_max = arrData.length / 2; i < i_max; i++) { strLabel = arrData[i * 2]; strValue = arrData[i * 2 + 1]; _cmpGen.insertChild(); _cmpGen.getChild(i, "tbx_label").setValue(strLabel); _cmpGen.getChild(i, "tbx_pluginName").setValue(strValue); if (i > 0) { strTbxValue += "\n" } strTbxValue += strLabel + ' : "' + strValue; } txa_pluginNames.setValue(strTbxValue); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='์ปดํฌ๋„ŒํŠธ์˜ Plugin Name์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ปดํฌ๋„ŒํŠธ์˜ method "getPluginName"๋ฅผ ํ˜ธ์ถœํ–ˆ์„ ๋•Œ์˜ ๋ฐ˜ํ™˜ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group class="tbcbox" id="" style=""> <w2:tabControl alwaysDraw="true" class="tbc" confirmFalseAction="new" confirmTrueAction="exist" id="" style="" tabScroll="" useConfirmMessage="false" useMoveNextTabFocus="false" useTabKeyOnly="true"> <w2:tabs disabled="false" id="tabs1" label="ํ‘œ๋กœ ๋ณด๊ธฐ" style="" closable="false"></w2:tabs> <w2:tabs disabled="false" id="tabs2" label="TextArea๋กœ ๋ณด๊ธฐ" style="" closable="false"></w2:tabs> <w2:content alwaysDraw="true" id="content1" style=""> <w2:generator class="example_div_tb_st_tp2 fd_col tr400 th120" id="gen_exam1" style=""> <xf:group class="" id="" style=""> <xf:group class="" id=""> <w2:textbox class="tar" escape="false" id="tbx_label" label="label" style=""></w2:textbox> </xf:group> <xf:group class="" id="" style=""> <w2:textbox class="" escape="false" id="tbx_pluginName" label="text" style=""></w2:textbox> </xf:group> </xf:group> </w2:generator> </w2:content> <w2:content alwaysDraw="true" id="content2" style=""> <xf:textarea class="" id="txa_pluginNames" style="width: 100%;max-width:400px;height: 300px;line-height:1.8em;"></xf:textarea> </w2:content> </w2:tabControl> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00093.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ํŠน์ • ์ปฌ๋Ÿผ์˜ ์„ ํƒ ๋ถˆ๊ฐ€ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220907" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <book_name><![CDATA[์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ]]></book_name> <price><![CDATA[28000]]></price> <published_date><![CDATA[20190826]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></book_name> <price><![CDATA[16000]]></price> <published_date><![CDATA[20220418]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></book_name> <price><![CDATA[18000]]></price> <published_date><![CDATA[20201201]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์ •๊ธ€๋งŒ๋ฆฌ]]></book_name> <price><![CDATA[16500]]></price> <published_date><![CDATA[20130701]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></book_name> <price><![CDATA[14000]]></price> <published_date><![CDATA[20210420]]></published_date> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ ["๋„์„œ๋ช…" ์ปฌ๋Ÿผ์— ์„ ํƒ ๋ถˆ๊ฐ€ ์„ค์ •ํ•˜๊ธฐ] ํด๋ฆญ์‹œ */ scwin.btn_ex1_onclick = function (e) { //์ปฌ๋Ÿผ "๋„์„œ๋ช…"์— ์„ ํƒ ๋ถˆ๊ฐ€ ์„ค์ •ํ•˜๊ธฐ grd_exam3.setBlockSelect("book_name", true); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ ํŠน์ • ์ปฌ๋Ÿผ์„ ์„ ํƒํ•˜์ง€ ๋ชปํ•˜๋„๋ก ์„ค์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ ์„ค์ •] ๋ชจ๋“  ์ปฌ๋Ÿผ์˜ ์„ ํƒ์ด ๊ฐ€๋Šฅํ•œ ์ƒํƒœ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" rowNumVisible="true" rowNumWidth="26" readOnly="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='"๋„์„œ๋ช…" ์ปฌ๋Ÿผ์˜ ์„ ํƒ ๋ถˆ๊ฐ€ ์„ค์ • - ์†์„ฑ' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" noResultMessageVisibleAlways="true" readOnly="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178" blockSelect="true"> </w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='"๋„์„œ๋ช…" ์ปฌ๋Ÿผ์˜ ์„ ํƒ ๋ถˆ๊ฐ€ ์„ค์ • - ์Šคํฌ๋ฆฝํŠธ' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group id="" style="" class="mb_def_box nobottom"> <xf:trigger class="btn_exam_exec" id="btn_ex1" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true" ev:onclick="scwin.btn_ex1_onclick"> <xf:label><![CDATA["๋„์„œ๋ช…" ์ปฌ๋Ÿผ์— ์„ ํƒ ๋ถˆ๊ฐ€ ์„ค์ •ํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam3" noResultMessageVisibleAlways="true" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" readOnly="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"> </w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00085.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckCombobox] ์„ ํƒ๋œ ํ•ญ๋ชฉ ์ถœ๋ ฅํ•˜๊ธฐ - ์—ฐ์†๋œ ํ•ญ๋ชฉ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "Apple", "code": "01" }, { "label": "Pear", "code": "02" }, { "label": "Lime", "code": "03" }, { "label": "Grapes", "code": "04" }, { "label": "Kiwi", "code": "05" }, { "label": "Watermelon", "code": "06" }, { "label": "Peach", "code": "07" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="๋ชฉ๋ก์—์„œ ์—ฐ์†๋œ ์ˆœ์„œ์˜ ํ•ญ๋ชฉ์„ ์„ ํƒํ•˜์—ฌ ์„ ํƒ๋œ ๊ฐ’์˜ ์ถœ๋ ฅ ์ƒํƒœ๋ฅผ ๋น„๊ตํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="CheckCombobox - ๊ธฐ๋ณธ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox id="" displayAllOptionLabel="false" chooseOption="" displayMode="label" style="width: 150px;min-height:24px;" submenuSize="auto" allOption="" disabled="false" direction="auto" appearance="minimal" ref=""> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox&lt;br/&gt;์—ฐ์†๋œ ์„ ํƒ ํ•ญ๋ชฉ ํ‘œ์‹œ ์„ค์ •' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" displayAllOptionLabel="false" displayMode="label" id="" ref="" style="width: 150px;min-height:24px;" submenuSize="auto" rangeSeparator=" - "> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00091.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] Enter ํ‚ค๋ฅผ ์ž…๋ ฅํ•  ๋•Œ์˜ ๋™์ž‘ ๋ฐฉ์‹ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220907" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <book_name><![CDATA[์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ]]></book_name> <price><![CDATA[28000]]></price> <published_date><![CDATA[20190826]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></book_name> <price><![CDATA[16000]]></price> <published_date><![CDATA[20220418]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></book_name> <price><![CDATA[18000]]></price> <published_date><![CDATA[20201201]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[์ •๊ธ€๋งŒ๋ฆฌ]]></book_name> <price><![CDATA[16500]]></price> <published_date><![CDATA[20130701]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></book_name> <price><![CDATA[14000]]></price> <published_date><![CDATA[20210420]]></published_date> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ Cell์—์„œ Enter ํ‚ค ์ž…๋ ฅ ์‹œ ๋™์ž‘ํ•˜๋Š” ๋ฐฉ์‹์„ ์„ค์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ ์„ค์ •] Enter ํ‚ค ์ž…๋ ฅ ์‹œ ์•„๋ž˜๋กœ ํฌ์ปค์Šค ์ด๋™" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" rowNumVisible="true" rowNumWidth="26"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Enter ํ‚ค ์ž…๋ ฅ ์‹œ ์˜ค๋ฅธ์ชฝ์œผ๋กœ ํฌ์ปค์Šค ์ด๋™" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" enterKeyMove="right"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Enter ํ‚ค ์ž…๋ ฅ ์‹œ ์ˆ˜์ • ๋ชจ๋“œ๋กœ ๋ณ€๊ฒฝ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" enterKeyMove="edit" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Enter ํ‚ค ์ž…๋ ฅ ์‹œ&lt;br/&gt;Cell์ด ์ถœ๋ ฅ๋ชจ๋“œ์ธ ๊ฒฝ์šฐ๋Š” ์ˆ˜์ • ๋ชจ๋“œ๋กœ ๋ณ€๊ฒฝ&lt;br/&gt;Cell์ด ์ˆ˜์ •๋ชจ๋“œ์ธ ๊ฒฝ์šฐ๋Š” ์˜ค๋ฅธ์ชฝ์œผ๋กœ ํฌ์ปค์Šค ์ด๋™" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" enterKeyMove="editRight" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Enter ํ‚ค ์ž…๋ ฅ ์‹œ&lt;br/&gt;Cell์ด ์ถœ๋ ฅ๋ชจ๋“œ์ธ ๊ฒฝ์šฐ๋Š” ์ˆ˜์ • ๋ชจ๋“œ๋กœ ๋ณ€๊ฒฝ&lt;br/&gt;Cell์ด ์ˆ˜์ •๋ชจ๋“œ์ธ ๊ฒฝ์šฐ๋Š” ์•„๋ž˜๋กœ ํฌ์ปค์Šค ์ด๋™" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" enterKeyMove="editDown" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Enter ํ‚ค ์ž…๋ ฅ ์‹œ ๊ธฐ๋Šฅ ์—†์Œ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" enterKeyMove="none" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00046.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="๋™์ ์œผ๋กœ DataMap, DataList ์ƒ์„ฑํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList id="dlt_book"> <w2:columnInfo> <w2:column id="label" name="๋„์„œ๋ช…" dataType="text"></w2:column> <w2:column id="code" name="๋„์„œ ์ฝ”๋“œ" dataType="text"></w2:column> <w2:column id="categoryCode" name="์นดํ…Œ๊ณ ๋ฆฌ ์ฝ”๋“œ" dataType="text"></w2:column> <w2:column id="categoryLabel" name="์นดํ…Œ๊ณ ๋ฆฌ๋ช…" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <label><![CDATA[์ž‘๋ณ„์ธ์‚ฌ]]></label> <code><![CDATA[11]]></code> <categoryCode><![CDATA[1]]></categoryCode> <categoryLabel><![CDATA[์†Œ์„ค]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></label> <code><![CDATA[12]]></code> <categoryCode><![CDATA[1]]></categoryCode> <categoryLabel><![CDATA[์†Œ์„ค]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[์ €๋งŒ์น˜ ํ˜ผ์ž์„œ]]></label> <code><![CDATA[13]]></code> <categoryCode><![CDATA[1]]></categoryCode> <categoryLabel><![CDATA[์†Œ์„ค]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[์ฑ…๋“ค์˜ ๋ถ€์—Œ]]></label> <code><![CDATA[14]]></code> <categoryCode><![CDATA[1]]></categoryCode> <categoryLabel><![CDATA[์†Œ์„ค]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค]]></label> <code><![CDATA[21]]></code> <categoryCode><![CDATA[2]]></categoryCode> <categoryLabel><![CDATA[์‹œ/์—์„ธ์ด]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค]]></label> <code><![CDATA[22]]></code> <categoryCode><![CDATA[2]]></categoryCode> <categoryLabel><![CDATA[์‹œ/์—์„ธ์ด]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋‚˜๋กœ์„œ ์ถฉ๋ถ„ํžˆ ๊ดœ์ฐฎ์€ ์‚ฌ๋žŒ]]></label> <code><![CDATA[23]]></code> <categoryCode><![CDATA[2]]></categoryCode> <categoryLabel><![CDATA[์‹œ/์—์„ธ์ด]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋‹น์‹ ์€ ๊ฒฐ๊ตญ ๋ฌด์—‡์ด๋“  ํ•ด๋‚ด๋Š” ์‚ฌ๋žŒ]]></label> <code><![CDATA[24]]></code> <categoryCode><![CDATA[2]]></categoryCode> <categoryLabel><![CDATA[์‹œ/์—์„ธ์ด]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋„ˆ๋ฌด ์ž˜ํ•˜๋ ค๊ณ  ์• ์“ฐ์ง€ ๋งˆ๋ผ]]></label> <code><![CDATA[25]]></code> <categoryCode><![CDATA[2]]></categoryCode> <categoryLabel><![CDATA[์‹œ/์—์„ธ์ด]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋ชจ๋“  ์‚ฌ๋žŒ์—๊ฒŒ ์ข‹์€ ์‚ฌ๋žŒ์ผ ํ•„์š”๋Š” ์—†์–ด]]></label> <code><![CDATA[26]]></code> <categoryCode><![CDATA[2]]></categoryCode> <categoryLabel><![CDATA[์‹œ/์—์„ธ์ด]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></label> <code><![CDATA[31]]></code> <categoryCode><![CDATA[3]]></categoryCode> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋งˆ์Œ์˜ ๋ฒ•์น™]]></label> <code><![CDATA[32]]></code> <categoryCode><![CDATA[3]]></categoryCode> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋ฌด์—‡์ด ์˜ณ์€๊ฐ€]]></label> <code><![CDATA[33]]></code> <categoryCode><![CDATA[3]]></categoryCode> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></label> <code><![CDATA[34]]></code> <categoryCode><![CDATA[3]]></categoryCode> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋‚˜๋Š” ๋‘”๊ฐํ•˜๊ฒŒ ์‚ด๊ธฐ๋กœ ํ–ˆ๋‹ค]]></label> <code><![CDATA[35]]></code> <categoryCode><![CDATA[3]]></categoryCode> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€]]></label> <code><![CDATA[36]]></code> <categoryCode><![CDATA[3]]></categoryCode> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋ฏธ์›€๋ฐ›์„ ์šฉ๊ธฐ]]></label> <code><![CDATA[37]]></code> <categoryCode><![CDATA[3]]></categoryCode> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[์›์”ฝ(The One Thing)]]></label> <code><![CDATA[41]]></code> <categoryCode><![CDATA[4]]></categoryCode> <categoryLabel><![CDATA[์ž๊ธฐ๊ณ„๋ฐœ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋งˆ์ง€๋ง‰ ๋ชฐ์ž…: ๋‚˜๋ฅผ ๋„˜์–ด์„œ๋Š” ํž˜]]></label> <code><![CDATA[42]]></code> <categoryCode><![CDATA[4]]></categoryCode> <categoryLabel><![CDATA[์ž๊ธฐ๊ณ„๋ฐœ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋ฉ˜ํƒˆ์„ ๋ฐ”๊ฟ”์•ผ ์ธ์ƒ์ด ๋ฐ”๋€๋‹ค]]></label> <code><![CDATA[43]]></code> <categoryCode><![CDATA[4]]></categoryCode> <categoryLabel><![CDATA[์ž๊ธฐ๊ณ„๋ฐœ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค]]></label> <code><![CDATA[44]]></code> <categoryCode><![CDATA[4]]></categoryCode> <categoryLabel><![CDATA[์ž๊ธฐ๊ณ„๋ฐœ]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[์ด ๊ท  ์‡ ]]></label> <code><![CDATA[51]]></code> <categoryCode><![CDATA[5]]></categoryCode> <categoryLabel><![CDATA[์—ญ์‚ฌ/๋ฌธํ™”]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๊ฑฐ์˜ ๋ชจ๋“  ์ „์Ÿ์˜ ์—ญ์‚ฌ]]></label> <code><![CDATA[52]]></code> <categoryCode><![CDATA[5]]></categoryCode> <categoryLabel><![CDATA[์—ญ์‚ฌ/๋ฌธํ™”]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)]]></label> <code><![CDATA[53]]></code> <categoryCode><![CDATA[5]]></categoryCode> <categoryLabel><![CDATA[์—ญ์‚ฌ/๋ฌธํ™”]]></categoryLabel> </w2:row> <w2:row> <label><![CDATA[๋‚˜์˜ ๋ฌธํ™”์œ ์‚ฐ๋‹ต์‚ฌ๊ธฐ]]></label> <code><![CDATA[54]]></code> <categoryCode><![CDATA[5]]></categoryCode> <categoryLabel><![CDATA[์—ญ์‚ฌ/๋ฌธํ™”]]></categoryLabel> </w2:row> </w2:data> </w2:dataList> <w2:dataMap id="dma_userInfo"> <w2:keyInfo> <w2:key id="name" name="name" dataType="text"></w2:key> <w2:key id="birthday" name="birthday" dataType="text"></w2:key> <w2:key id="height" name="height" dataType="text"></w2:key> <w2:key id="gender" name="gender" dataType="text"></w2:key> </w2:keyInfo> <w2:data xmlns="" use="true"> <name><![CDATA[๊น€์—ฐ์•„]]></name> <birthday><![CDATA[19900905]]></birthday> <height><![CDATA[164]]></height> <gender><![CDATA[F]]></gender> </w2:data> </w2:dataMap> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * [DataMap ์ƒ์„ฑํ•˜๊ธฐ] ํด๋ฆญ ์‹œ * DataMap ์ƒ์„ฑํ•˜๊ธฐ */ scwin.btn_ex1_onclick = function (e) { var jsnOption; //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("** [์‹คํ–‰1] - DataMap ์ƒ์„ฑํ•˜๊ธฐ scwin.btn_ex1_onclick ์‹คํ–‰ ์‹œ์ž‘ **", txa_log, false); //DataMap ์†์„ฑ ์ •์˜ jsnOption = { "id": "dma_dynamic1", //์ƒ์„ฑํ•  DatMap์˜ ID์ž…๋‹ˆ๋‹ค. "type": "dataMap", //์ƒ์„ฑํ•  ๋ฐ์ดํ„ฐ๊ฐ์ฒด์˜ ํƒ€์ž…์ž…๋‹ˆ๋‹ค. dataMap ๊ณ ์ •. "option": { "baseNode": "map" }, "keyInfo": [ { "id": "name", "name": "์„ฑ๋ช…", "dataType": "text" }, { "id": "address", "name": "์ฃผ์†Œ", "dataType": "text" } ] }; //1. DataCollection ์ƒ์„ฑํ•˜๊ธฐ $p.data.create(jsnOption); //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("> 1๋‹จ๊ณ„ DataMap ์ƒ์„ฑ ์™„๋ฃŒ", txa_log, false); //2. ์ƒ์„ฑ๋œ ๊ฐ์ฒด์— Data ํ• ๋‹นํ•˜๊ธฐ //์˜ต์…˜์— ์ ์šฉํ•œ id๋กœ ์ง์ ‘ ์ ‘๊ทผ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. dma_dynamic1.setJSON({ "name": "Inswave Systems", "address": "์„œ์šธ์‹œ ๊ฐ•์„œ๊ตฌ ๊ณตํ•ญ๋Œ€๋กœ 247, ํ€ธ์ฆˆํŒŒํฌ๋‚˜์ธ C๋™ 12์ธต" }); /* //๋˜๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด $p.getComponentById API๋กœ ๊ฐ์ฒด๋ฅผ ๋ฐ˜ํ™˜ ๋ฐ›์•„ ์ œ์–ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. let cmpDataMap = $p.getComponentById("dma_dynamic1"); cmpDataMap.setJSON({ "name" : "Inswave Systems", "address" : "์„œ์šธ์‹œ ๊ฐ•์„œ๊ตฌ ๊ณตํ•ญ๋Œ€๋กœ 247, ํ€ธ์ฆˆํŒŒํฌ๋‚˜์ธ C๋™ 12์ธต" }); */ //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("> 2๋‹จ๊ณ„ DataMap setJSON ํ˜ธ์ถœ ์™„๋ฃŒ", txa_log, false); let strData = JSON.stringify(dma_dynamic1.getJSON()); //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog(strData, txa_log, false); $c.frame.printExampleLog("> 3๋‹จ๊ณ„ DataMap getJSON ํ˜ธ์ถœ ์™„๋ฃŒ", txa_log, false); //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("** [์‹คํ–‰1] - DataMap ์ƒ์„ฑํ•˜๊ธฐ scwin.btn_ex1_onclick ์‹คํ–‰ ์ข…๋ฃŒ **", txa_log, false); }; /** * [DataList ์ƒ์„ฑํ•˜๊ธฐ] ํด๋ฆญ ์‹œ * DataList ์ƒ์„ฑํ•˜๊ธฐ */ scwin.btn_ex2_onclick = function (e) { var jsnOption; //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("** [์‹คํ–‰2] - DataList ์ƒ์„ฑํ•˜๊ธฐ scwin.btn_ex2_onclick ์‹คํ–‰ ์‹œ์ž‘ **", txa_log, false); //DataList ์†์„ฑ ์ •์˜ jsnOption = { "id": "dlt_dynamic1", //์ƒ์„ฑํ•  DatList์˜ ID์ž…๋‹ˆ๋‹ค. "type": "dataList", //์ƒ์„ฑํ•  ๋ฐ์ดํ„ฐ๊ฐ์ฒด์˜ ํƒ€์ž…์ž…๋‹ˆ๋‹ค. dataList ๊ณ ์ •. "option": { "baseNode": "list", "repeatNode": "map" }, "columnInfo": [ { "id": "code", "name": "์ฝ”๋“œ", "dataType": "text" }, { "id": "label", "name": "์ฝ”๋“œ๋ช…", "dataType": "text" } ] }; //1. DataCollection ์ƒ์„ฑํ•˜๊ธฐ $p.data.create(jsnOption); //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("> 1๋‹จ๊ณ„ DataList ์ƒ์„ฑ ์™„๋ฃŒ", txa_log, false); //2. ์ƒ์„ฑ๋œ ๊ฐ์ฒด์— Data ํ• ๋‹นํ•˜๊ธฐ //์˜ต์…˜์— ์ ์šฉํ•œ id๋กœ ์ง์ ‘ ์ ‘๊ทผ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. dlt_dynamic1.setJSON([ { "lable": "์†Œ์„ค", "code": "1" }, { "lable": "์ธ๋ฌธ", "code": "2" }, { "lable": "์ž๊ธฐ๊ณ„๋ฐœ", "code": "3" } ]); /* //๋˜๋Š” ์•„๋ž˜์™€ ๊ฐ™์ด $p.getComponentById API๋กœ ๊ฐ์ฒด๋ฅผ ๋ฐ˜ํ™˜ ๋ฐ›์•„ ์ œ์–ดํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. let cmpDataList = $p.getComponentById("dlt_dynamic1"); cmpDataList.setJSON([ {"lable" : "์†Œ์„ค", "code" : "1"}, {"lable" : "์ธ๋ฌธ", "code" : "2"}, {"lable" : "์ž๊ธฐ๊ณ„๋ฐœ", "code" : "3"} ]); */ //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog("> 2๋‹จ๊ณ„ DataList setJSON ํ˜ธ์ถœ ์™„๋ฃŒ", txa_log, false); let strData = JSON.stringify(dlt_dynamic1.getAllJSON()); //๋กœ๊ทธ ์ถœ๋ ฅ $c.frame.printExampleLog(strData, txa_log, false); $c.frame.printExampleLog("> 3๋‹จ๊ณ„ DataList getAllJSON ํ˜ธ์ถœ ์™„๋ฃŒ", txa_log, false); $c.frame.printExampleLog("** [์‹คํ–‰2] - DataList ์ƒ์„ฑํ•˜๊ธฐ scwin.btn_ex2_onclick ์‹คํ–‰ ์ข…๋ฃŒ **", txa_log, false); }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { txa_log.setValue(""); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group id="" style="" class="mb_def_box"> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[DataMap ์ƒ์„ฑํ•˜๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" disabled="" escape="false" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" style="" type="button"> <xf:label><![CDATA[DataList ์ƒ์„ฑํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_tb_style_wrap" id="" style=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_th_style" id=""> <w2:span class="mr_def txt_blue" id="" label="๋กœ๊ทธ ํ™•์ธ" style=""></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00052.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="Submission ์„ค์ • ์˜ˆ์‹œ - ๊ธฐ๋ณธ ๋ฐ์ดํ„ฐ ํฌ๋งท(JSON)๊ณผ ๋Œ€์šฉ๋Ÿ‰ ๋ฐ์ดํ„ฐ ํฌ๋งท(Array)"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList id="dlt_Member" baseNode="list" saveRemovedData="true" repeatNode="map" ev:ondataload="scwin.dlt_Member_ondataload" ev:oninsertrow="scwin.dlt_Member_oninsertrow" ev:onremoverow="scwin.dlt_Member_onremoverow"> <w2:columnInfo> <w2:column id="chk" name="name16" dataType="text" ignoreStatus="true"></w2:column> <w2:column id="EMP_CD" name="์ฝ”๋“œ" dataType="text"></w2:column> <w2:column id="EMP_NM" name="์„ฑ๋ช…" dataType="text"></w2:column> <w2:column id="GENDER_CD" name="์„ฑ๋ณ„" dataType="text"></w2:column> <w2:column id="JOIN_DATE" name="์ž…์‚ฌ์ผ" dataType="text"></w2:column> <w2:column id="POSITION_CD" name="์ง์œ„" dataType="text"></w2:column> <w2:column id="DUTY_CD" name="์ง์ฑ…" dataType="text"></w2:column> <w2:column id="ROLE_CD" name="์—ญํ• " dataType="text"></w2:column> <w2:column id="ASSIGNED_TASK" name="๋‹ด๋‹น์—…๋ฌด" dataType="text"></w2:column> <w2:column id="EMAIL" name="์ด๋ฉ”์ผ" dataType="text"></w2:column> <w2:column id="ZIP_CD" name="์šฐํŽธ๋ฒˆํ˜ธ" dataType="text"></w2:column> <w2:column id="ADDRESS1" name="์ฃผ์†Œ1" dataType="text"></w2:column> <w2:column id="ADDRESS2" name="์ฃผ์†Œ2" dataType="text"></w2:column> <w2:column id="IMAGE_PATH" name="์ด๋ฏธ์ง€๊ฒฝ๋กœ" dataType="text" defaultValue="/ws5/img/blank.png"></w2:column> <w2:column id="CREATED_DATE" name="์ƒ์„ฑ์ผ์ž" dataType="text"></w2:column> <w2:column id="UPDATED_DATE" name="์ˆ˜์ •์ผ์ž" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataMap baseNode="map" id="dma_SearchParam"> <w2:keyInfo> <w2:key id="daoType" name="name1" dataType="text"></w2:key> </w2:keyInfo> </w2:dataMap> </w2:dataCollection> <w2:workflowCollection /> <xf:submission id="sbm_selectAll_json" ref='data:json,[{"id":"dma_SearchParam"}]' target="data:json,dlt_Member" action="/data/sampleData/largeData/dlt_Member_11X2000_json.json" method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="์ฒ˜๋ฆฌ์ค‘์ž…๋‹ˆ๋‹ค." ev:submit="scwin.sbm_selectAll_json_submit" ev:submitdone="" ev:submiterror="" abortTrigger=""> </xf:submission> <xf:submission id="sbm_selectAll_array" ref='data:json,[{"id":"dma_SearchParam"}]' target="data:array,dlt_Member" action="/data/sampleData/largeData/dlt_Member_11X2000_array.json" method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="์ฒ˜๋ฆฌ์ค‘์ž…๋‹ˆ๋‹ค." ev:submit="scwin.sbm_selectAll_array_submit" ev:submitdone="" ev:submiterror="" abortTrigger=""> </xf:submission> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[//page onload event scwin.onpageload = function () { com.setCommonCode( $p, [ { "code": "02", "compID": "grd_Member:DUTY_CD" }, { "code": "01", "compID": "grd_Member:POSITION_CD" }, { "code": "19", "compID": "grd_Member:ROLE_CD" }, { "code": "101", "compID": "grd_Member:GENDER_CD" } ] ); }; //data type์— ๋”ฐ๋ผ request ๊ฐ’ ๋ณ€๊ฒฝ. scwin.sbm_selectAll_json_submit = function (e) { dma_SearchParam.set("daoType", "json"); }; //data type์— ๋”ฐ๋ผ request ๊ฐ’ ๋ณ€๊ฒฝ. scwin.sbm_selectAll_array_submit = function (e) { dma_SearchParam.set("daoType", "array"); }; //dlt_Member์— data๊ฐ€ ์…‹ํŒ… ๋  ๋•Œ ํ˜ธ์ถœ scwin.dlt_Member_ondataload = function () { scwin.dlt_Member_dataChange(); }; //dlt_Member์— data๊ฐ€ ์ถ”๊ฐ€ ๋  ๋•Œ ํ˜ธ์ถœ scwin.dlt_Member_oninsertrow = function (info) { scwin.dlt_Member_dataChange(); }; //dlt_Member์— data๊ฐ€ ์‚ญ์ œ ๋  ๋•Œ ํ˜ธ์ถœ scwin.dlt_Member_onremoverow = function (info) { scwin.dlt_Member_dataChange(); }; //dlt_Member์— data๊ฐ€ ๋กœ๋”ฉ ๋œ ํ›„ totalCount scwin.dlt_Member_dataChange = function () { spn_MemCount.setValue(dlt_Member.getRowCount()); }; scwin.btn_SearchDefault_onclick = function (e) { $p.executeSubmission("sbm_selectAll_json"); }; scwin.btn_SearchLargeHander_onclick = function (e) { $p.executeSubmission("sbm_selectAll_array"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="๊ธฐ๋ณธ ๋ฐ์ดํ„ฐ ํฌ๋งท(JSON)๊ณผ ๋Œ€์šฉ๋Ÿ‰ ๋ฐ์ดํ„ฐ ํฌ๋งท(Array)์„ DataList์— ์…‹ํŒ…ํ•˜๊ธฐ ์œ„ํ•œ Submission์˜ ์„ค์ • ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group class="titbox" id="" style=""> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_SearchDefault_onclick" id="btn_SearchDefault" style="width:150px;" type="button"> <xf:label><![CDATA[JSON ํƒ€์ž… ์กฐํšŒ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_SearchLargeHander_onclick" id="btn_SearchLargeHander" style="width:150px;" type="button"> <xf:label><![CDATA[ARRAY ํƒ€์ž… ์กฐํšŒ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="ofh mb_def" id="" style=""> <w2:textbox class="com_example_heading fl" id="" label="์‚ฌ์šฉ์ž ๋ชฉ๋ก" style="" tagname="h3"></w2:textbox> <xf:group class="fr" id="" style=""> <w2:span class="mr_def" dataType="text" displayFormat="" id="" label="์—ด : 11๊ฑด, " style=""></w2:span> <w2:span class="mr_def" dataType="text" displayFormat="" id="" label="ํ–‰ :" style=""></w2:span> <w2:span class="mr_def" dataType="number" displayFormat="#,##0" id="spn_MemCount" label="0" style=""></w2:span> <w2:span class="" dataType="text" displayFormat="" id="" label="๊ฑด" style=""></w2:span> </xf:group> </xf:group> <xf:group id="" class="gvwbox"> <w2:gridView ev:onscrollend="scwin.grd_Member_onscrollend" scrollByColumnAdaptive="false" rowNumVisible="true" rowStatusWidth="" summaryAuto="false" useShiftKey="true" readOnly="" rowNumHeaderValue="๋ฒˆํ˜ธ" scrollByColumn="false" rowStatusHeaderValue="" autoFitFilterList="true" rowStatusVisible="" fixedColumnWithHidden="true" rowNumWidth="40" dataList="dlt_Member" ignoreCellClick="false" style="height: 250px;" autoFit="allColumn" id="grd_Member" useFilterList="true" visibleRowNum="15" class="gvw " ignoreToggleOnDisabled="false" autoFitMinWidth="1060" defaultCellHeight="26"> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="70" inputType="text" style="" id="column27" sortable="true" class="" value="์„ฑ๋ช…" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="53" inputType="text" style="" id="column25" sortable="true" class="" value="์„ฑ๋ณ„" blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="70" inputType="text" style="" id="column23" sortable="true" class="" value="๋“ฑ๋ก์ผ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="62" inputType="text" style="" id="column21" sortable="true" class="" value="์ง์ฑ…" blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="62" inputType="text" style="" id="column19" sortable="true" class="" value="์ง์œ„" blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="70" inputType="text" style="" id="column17" sortable="true" class="" value="์—ญํ• " blockSelect="false" displayMode="label" useFilter=""> </w2:column> <w2:column width="64" inputType="text" style="" id="column15" sortable="true" value="๋‹ด๋‹น์—…๋ฌด" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="176" inputType="text" style="" id="column13" value="์ด๋ฉ”์ผ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" style="" id="column11" value="์šฐํŽธ๋ฒˆํ˜ธ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="252" inputType="text" style="" id="column9" value="์ฃผ์†Œ1" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="104" inputType="text" style="" id="column7" value="์ฃผ์†Œ2" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" inputType="text" style="" id="EMP_NM" blockSelect="false" displayMode="label"></w2:column> <w2:column width="53" inputType="select" style="" id="GENDER_CD" blockSelect="false" displayMode="label"> <w2:choices></w2:choices> </w2:column> <w2:column width="70" inputType="calendar" style="" id="JOIN_DATE" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="62" inputType="select" style="" id="POSITION_CD" blockSelect="false" displayMode="label"> <w2:choices></w2:choices> </w2:column> <w2:column width="62" inputType="select" style="" id="DUTY_CD" blockSelect="false" displayMode="label"> <w2:choices></w2:choices> </w2:column> <w2:column chooseOption="" width="70" inputType="select" style="" allOption="" id="ROLE_CD" blockSelect="false" displayMode="label"> <w2:choices></w2:choices> </w2:column> <w2:column width="64" inputType="text" style="" id="ASSIGNED_TASK" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="176" inputType="text" style="" id="EMAIL" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" style="" id="ZIP_CD" blockSelect="false" displayMode="label"></w2:column> <w2:column width="252" inputType="text" style="" id="ADDRESS1" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="104" inputType="text" style="" id="ADDRESS2" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00287.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์†์„ฑ 'mergeCell'์˜ ์„ค์ • ๊ฐ’ ๋น„๊ตํ•˜๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230711" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_statistic" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="category1" name="๋Œ€๋ถ„๋ฅ˜"></w2:column> <w2:column dataType="text" id="category2" name="์ค‘๋ถ„๋ฅ˜"></w2:column> <w2:column dataType="text" id="quarter1" name="Q1"></w2:column> <w2:column dataType="text" id="quarter2" name="Q2"></w2:column> <w2:column dataType="text" id="quarter3" name="Q3"></w2:column> <w2:column dataType="text" id="quarter4" name="Q4"></w2:column> </w2:columnInfo> <w2:data use="true" xmlns=""> <w2:row> <category1><![CDATA[์†Œ์„ค]]></category1> <category2><![CDATA[๊ตญ๋‚ด]]></category2> <quarter1><![CDATA[100]]></quarter1> <quarter2><![CDATA[100]]></quarter2> <quarter3><![CDATA[100]]></quarter3> <quarter4><![CDATA[100]]></quarter4> </w2:row> <w2:row> <category1><![CDATA[์†Œ์„ค]]></category1> <category2><![CDATA[๊ตญ๋‚ด]]></category2> <quarter1><![CDATA[300]]></quarter1> <quarter2><![CDATA[200]]></quarter2> <quarter3><![CDATA[200]]></quarter3> <quarter4><![CDATA[100]]></quarter4> </w2:row> <!-- <w2:row> <category1><![CDATA[์†Œ์„ค]]></category1> <category2><![CDATA[๊ตญ์™ธ]]></category2> <quarter1><![CDATA[400]]></quarter1> <quarter2><![CDATA[100]]></quarter2> <quarter3><![CDATA[200]]></quarter3> <quarter4><![CDATA[100]]></quarter4> </w2:row> --> <w2:row> <category1><![CDATA[์†Œ์„ค]]></category1> <category2><![CDATA[๊ตญ์™ธ]]></category2> <quarter1><![CDATA[500]]></quarter1> <quarter2><![CDATA[200]]></quarter2> <quarter3><![CDATA[200]]></quarter3> <quarter4><![CDATA[500]]></quarter4> </w2:row> <w2:row> <category1><![CDATA[์ธ๋ฌธ]]></category1> <category2><![CDATA[์ธ๋ฌธ]]></category2> <quarter1><![CDATA[600]]></quarter1> <quarter2><![CDATA[600]]></quarter2> <quarter3><![CDATA[100]]></quarter3> <quarter4><![CDATA[700]]></quarter4> </w2:row> <w2:row> <category1><![CDATA[์ธ๋ฌธ]]></category1> <category2><![CDATA[์ธ๋ฌธ]]></category2> <quarter1><![CDATA[100]]></quarter1> <quarter2><![CDATA[200]]></quarter2> <quarter3><![CDATA[100]]></quarter3> <quarter4><![CDATA[800]]></quarter4> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="GridView์˜ ๋ณ‘ํ•ฉ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” ์†์„ฑ 'mergeCells'์˜ ์„ค์ • ๊ฐ’ ๋น„๊ต ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;GridView์— ๋™์ผํ•œ DataList๋ฅผ ์—ฐ๊ฒฐํ•˜์˜€์Šต๋‹ˆ๋‹ค.&lt;br/&gt;์„ค์ • ๊ฐ’์— ๋”ฐ๋ผ GridView์— ์ถœ๋ ฅ๋˜๋Š” ๋ฐ์ดํ„ฐ์˜ ๋ชจ์–‘์„ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <xf:group id="" style="" tagname="details"> <w2:textbox class="" id="" label="์„ค์ • ๊ฐ’์— ๋”ฐ๋ฅธ ๊ธฐ๋Šฅ ์„ค๋ช… ๋ณด๊ธฐ" style="" tagname="summary"></w2:textbox> <w2:textbox class="" escape="false" id="" label="- never: ์ž๋™ ๋ณ‘ํ•ฉ์„ ์‚ฌ์šฉํ•˜์ง€ ์•Š์Œ.&lt;br/&gt;- bycol: column ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell๋“ค์„ ๋ณ‘ํ•ฉ.&lt;br/&gt;- byrow: row ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell๋“ค์„ ๋ณ‘ํ•ฉ.&lt;br/&gt;- bycolrec: 'bycol' ์กฐ๊ฑด์„ ์ ์šฉํ•˜๊ณ , ๋ณ‘ํ•ฉ๋˜์ง€ ์•Š์€ cell๋“ค์„ ๋Œ€์ƒ์œผ๋กœ 'byrow' ์กฐ๊ฑด์„ ์ ์šฉ.&lt;br/&gt;- byrowrec: 'byrow' ์กฐ๊ฑด์„ ์ ์šฉํ•˜๊ณ , ๋ณ‘ํ•ฉ๋˜์ง€ ์•Š์€ cell๋“ค์„ ๋Œ€์ƒ์œผ๋กœ 'bycol์„' ์กฐ๊ฑด์„ ์ ์šฉ.&lt;br/&gt;- byrestriccol: column ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell์„ ๋ณ‘ํ•ฉ. ๋‘ ๋ฒˆ์งธ ์ปฌ๋Ÿผ๋ถ€ํ„ฐ ์™ผ์ชฝ์˜ ์ปฌ๋Ÿผ์ด ๋ณ‘ํ•ฉ๋œ ๊ฒฝ์šฐ๋งŒ ์ ์šฉ.&lt;br/&gt;- byrestricrow: row ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell์„ ๋ณ‘ํ•ฉ. ๋‘ ๋ฒˆ์งธ ํ–‰๋ถ€ํ„ฐ ์ƒ์œ„(ํ˜„์žฌ ํ–‰-1) ํ–‰์ด ๋ณ‘ํ•ฉ๋œ ๊ฒฝ์šฐ๋งŒ ์ ์šฉ." style="margin-bottom: 6px;"> </w2:textbox> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="(๊ธฐ๋ณธ ๊ฐ’) ์†์„ฑ 'mergeCells'์„ 'never'๋กœ ์ง€์ •" style=""> </w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="๋ณ‘ํ•ฉ์„ ์‚ฌ์šฉํ•˜์ง€ ์•Š์Œ." style=""> </w2:textbox> <w2:gridView applyAllColumnStyle="false" autoFit="allColumn" autoFitMinWidth="252" class="gvw" dataList="data:dlt_statistic" defaultCellHeight="26" id="" ignoreCellClick="false" ignoreToggleOnDisabled="false" keepDefaultColumnWidth="true" mergeCells="never" rowNumVisible="true" rowNumWidth="28" scrollByColumn="false" scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" summaryOnlyAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"> <w2:caption id="caption3" style="" value="this is a grid caption."></w2:caption> <w2:header id="header3" style=""> <w2:row id="row5" style=""> <w2:column blockSelect="false" displayMode="label" id="column59" inputType="text" value="๋Œ€๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column57" inputType="text" value="์ค‘๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column55" inputType="text" value="Q1" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column53" inputType="text" value="Q2" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column51" inputType="text" value="Q3" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column49" inputType="text" value="Q4" width="38"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody3" style=""> <w2:row id="row6" style=""> <w2:column blockSelect="false" displayMode="label" id="category1" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="category2" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter1" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter2" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter3" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter4" inputType="text" width="38"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์†์„ฑ 'mergeCells'์„ 'bycol'๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="column ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell๋“ค์„ ๋ณ‘ํ•ฉ." style=""></w2:textbox> <w2:gridView applyAllColumnStyle="false" autoFit="allColumn" autoFitMinWidth="252" class="gvw" dataList="data:dlt_statistic" defaultCellHeight="26" id="" ignoreCellClick="false" ignoreToggleOnDisabled="false" keepDefaultColumnWidth="true" mergeCells="bycol" rowNumVisible="true" rowNumWidth="28" scrollByColumn="false" scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" summaryOnlyAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"> <w2:caption id="caption3" style="" value="this is a grid caption."></w2:caption> <w2:header id="header3" style=""> <w2:row id="row5" style=""> <w2:column blockSelect="false" displayMode="label" id="column59" inputType="text" value="๋Œ€๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column57" inputType="text" value="์ค‘๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column55" inputType="text" value="Q1" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column53" inputType="text" value="Q2" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column51" inputType="text" value="Q3" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column49" inputType="text" value="Q4" width="38"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody3" style=""> <w2:row id="row6" style=""> <w2:column blockSelect="false" displayMode="label" id="category1" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="category2" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter1" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter2" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter3" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter4" inputType="text" width="38"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์†์„ฑ 'mergeCells'์„ 'byrow'๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="row ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell๋“ค์„ ๋ณ‘ํ•ฉ." style=""></w2:textbox> <w2:gridView applyAllColumnStyle="false" autoFit="allColumn" autoFitMinWidth="252" class="gvw" dataList="data:dlt_statistic" defaultCellHeight="26" id="" ignoreCellClick="false" ignoreToggleOnDisabled="false" keepDefaultColumnWidth="true" mergeCells="byrow" rowNumVisible="true" rowNumWidth="28" scrollByColumn="false" scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" summaryOnlyAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"> <w2:caption id="caption3" style="" value="this is a grid caption."></w2:caption> <w2:header id="header3" style=""> <w2:row id="row5" style=""> <w2:column blockSelect="false" displayMode="label" id="column59" inputType="text" value="๋Œ€๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column57" inputType="text" value="์ค‘๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column55" inputType="text" value="Q1" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column53" inputType="text" value="Q2" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column51" inputType="text" value="Q3" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column49" inputType="text" value="Q4" width="38"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody3" style=""> <w2:row id="row6" style=""> <w2:column blockSelect="false" displayMode="label" id="category1" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="category2" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter1" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter2" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter3" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter4" inputType="text" width="38"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์†์„ฑ 'mergeCells'์„ 'bycolrec'๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="'bycol' ์กฐ๊ฑด์„ ์ ์šฉํ•˜๊ณ , ๋ณ‘ํ•ฉ๋˜์ง€ ์•Š์€ cell๋“ค์„ ๋Œ€์ƒ์œผ๋กœ 'byrow' ์กฐ๊ฑด์„ ์ ์šฉ." style=""></w2:textbox> <w2:gridView applyAllColumnStyle="false" autoFit="allColumn" autoFitMinWidth="252" class="gvw" dataList="data:dlt_statistic" defaultCellHeight="26" id="" ignoreCellClick="false" ignoreToggleOnDisabled="false" keepDefaultColumnWidth="true" mergeCells="bycolrec" rowNumVisible="true" rowNumWidth="28" scrollByColumn="false" scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" summaryOnlyAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"> <w2:caption id="caption3" style="" value="this is a grid caption."></w2:caption> <w2:header id="header3" style=""> <w2:row id="row5" style=""> <w2:column blockSelect="false" displayMode="label" id="column59" inputType="text" value="๋Œ€๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column57" inputType="text" value="์ค‘๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column55" inputType="text" value="Q1" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column53" inputType="text" value="Q2" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column51" inputType="text" value="Q3" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column49" inputType="text" value="Q4" width="38"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody3" style=""> <w2:row id="row6" style=""> <w2:column blockSelect="false" displayMode="label" id="category1" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="category2" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter1" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter2" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter3" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter4" inputType="text" width="38"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์†์„ฑ 'mergeCells'์„ 'byrowrec'๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="'byrow' ์กฐ๊ฑด์„ ์ ์šฉํ•˜๊ณ , ๋ณ‘ํ•ฉ๋˜์ง€ ์•Š์€ cell๋“ค์„ ๋Œ€์ƒ์œผ๋กœ 'bycol์„' ์กฐ๊ฑด์„ ์ ์šฉ." style=""></w2:textbox> <w2:gridView applyAllColumnStyle="false" autoFit="allColumn" autoFitMinWidth="252" class="gvw" dataList="data:dlt_statistic" defaultCellHeight="26" id="" ignoreCellClick="false" ignoreToggleOnDisabled="false" keepDefaultColumnWidth="true" mergeCells="byrowrec" rowNumVisible="true" rowNumWidth="28" scrollByColumn="false" scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" summaryOnlyAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"> <w2:caption id="caption3" style="" value="this is a grid caption."></w2:caption> <w2:header id="header3" style=""> <w2:row id="row5" style=""> <w2:column blockSelect="false" displayMode="label" id="column59" inputType="text" value="๋Œ€๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column57" inputType="text" value="์ค‘๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column55" inputType="text" value="Q1" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column53" inputType="text" value="Q2" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column51" inputType="text" value="Q3" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column49" inputType="text" value="Q4" width="38"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody3" style=""> <w2:row id="row6" style=""> <w2:column blockSelect="false" displayMode="label" id="category1" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="category2" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter1" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter2" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter3" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter4" inputType="text" width="38"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์†์„ฑ 'mergeCells'์„ 'byrestriccol'๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="column ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell์„ ๋ณ‘ํ•ฉ. ๋‘ ๋ฒˆ์งธ ์ปฌ๋Ÿผ๋ถ€ํ„ฐ ์™ผ์ชฝ์˜ ์ปฌ๋Ÿผ์ด ๋ณ‘ํ•ฉ๋œ ๊ฒฝ์šฐ๋งŒ ์ ์šฉ." style=""></w2:textbox> <w2:gridView applyAllColumnStyle="false" autoFit="allColumn" autoFitMinWidth="252" class="gvw" dataList="data:dlt_statistic" defaultCellHeight="26" id="" ignoreCellClick="false" ignoreToggleOnDisabled="false" keepDefaultColumnWidth="true" mergeCells="byrestriccol" rowNumVisible="true" rowNumWidth="28" scrollByColumn="false" scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" summaryOnlyAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"> <w2:caption id="caption3" style="" value="this is a grid caption."></w2:caption> <w2:header id="header3" style=""> <w2:row id="row5" style=""> <w2:column blockSelect="false" displayMode="label" id="column59" inputType="text" value="๋Œ€๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column57" inputType="text" value="์ค‘๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column55" inputType="text" value="Q1" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column53" inputType="text" value="Q2" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column51" inputType="text" value="Q3" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column49" inputType="text" value="Q4" width="38"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody3" style=""> <w2:row id="row6" style=""> <w2:column blockSelect="false" displayMode="label" id="category1" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="category2" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter1" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter2" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter3" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter4" inputType="text" width="38"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์†์„ฑ 'mergeCells'์„ 'byrestricrow'๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="row ๋‚ด์—์„œ ์—ฐ์†์ ์œผ๋กœ ๋ฐ์ดํ„ฐ๊ฐ€ ๊ฐ™์€ cell์„ ๋ณ‘ํ•ฉ. ๋‘ ๋ฒˆ์งธ ํ–‰๋ถ€ํ„ฐ ์ƒ์œ„(ํ˜„์žฌ ํ–‰-1) ํ–‰์ด ๋ณ‘ํ•ฉ๋œ ๊ฒฝ์šฐ๋งŒ ์ ์šฉ." style=""></w2:textbox> <w2:gridView applyAllColumnStyle="false" autoFit="allColumn" autoFitMinWidth="252" class="gvw" dataList="data:dlt_statistic" defaultCellHeight="26" id="" ignoreCellClick="false" ignoreToggleOnDisabled="false" keepDefaultColumnWidth="true" mergeCells="byrestricrow" rowNumVisible="true" rowNumWidth="28" scrollByColumn="false" scrollByColumnAdaptive="false" style="height: 100px;" summaryAuto="false" summaryOnlyAuto="false" useShiftKey="true" visibleRowNum="all" readOnly="true"> <w2:caption id="caption3" style="" value="this is a grid caption."></w2:caption> <w2:header id="header3" style=""> <w2:row id="row5" style=""> <w2:column blockSelect="false" displayMode="label" id="column59" inputType="text" value="๋Œ€๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column57" inputType="text" value="์ค‘๋ถ„๋ฅ˜" width="50"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column55" inputType="text" value="Q1" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column53" inputType="text" value="Q2" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column51" inputType="text" value="Q3" width="38"> </w2:column> <w2:column blockSelect="false" displayMode="label" id="column49" inputType="text" value="Q4" width="38"> </w2:column> </w2:row> </w2:header> <w2:gBody id="gBody3" style=""> <w2:row id="row6" style=""> <w2:column blockSelect="false" displayMode="label" id="category1" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="category2" inputType="text" width="50"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter1" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter2" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter3" inputType="text" width="38"></w2:column> <w2:column blockSelect="false" displayMode="label" id="quarter4" inputType="text" width="38"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00293.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[TabControl] ํƒญ์˜ Index๋กœ ํƒญ ์„ ํƒํ•˜๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230717" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [Index๊ฐ€ 1์ธ ํƒญ ์„ ํƒํ•˜๊ธฐ - await ์‚ฌ์šฉ] ํด๋ฆญ ์‹œ * ์ด ํ•จ์ˆ˜๋Š” TabControl์˜ ํ•จ์ˆ˜ 'setSelectedTabIndex'๊ฐ€ ์‹คํ–‰์ด ์™„๋ฃŒ๋œ ํ›„ ๋กœ์ง์„ ๊ตฌ์„ฑํ•  ๋•Œ์˜ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค. */ scwin.btn_exam1_1_onclick = async function (e) { // TabControl 'tac_exam1'์˜ 2๋ฒˆ์งธ ํƒญ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. await tac_exam1.setSelectedTabIndex(1); // ํƒญ ์„ ํƒ ์ดํ›„ ์ง„ํ–‰ํ•  ๋กœ์ง์„ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค. }; /** * ๋ฒ„ํŠผ [Index๊ฐ€ 2์ธ ํƒญ ์„ ํƒํ•˜๊ธฐ] ํด๋ฆญ ์‹œ * ์ด ํ•จ์ˆ˜๋Š” TabControl์˜ ํ•จ์ˆ˜ 'setSelectedTabIndex'๊ฐ€ ์‹คํ–‰์˜ ์™„๋ฃŒ ์—ฌ๋ถ€์™€ ๋ฌด๊ด€ํ•˜๊ฒŒ ๋กœ์ง์„ ๊ตฌ์„ฑํ•  ๋•Œ์˜ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค. */ scwin.btn_exam1_2_onclick = function (e) { // TabControl 'tac_exam1'์˜ 3๋ฒˆ์งธ ํƒญ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. tac_exam1.setSelectedTabIndex(2); // ํƒญ์˜ ์„ ํƒ ์™„๋ฃŒ ์—ฌ๋ถ€์™€๋Š” ๋ฌด๊ด€ํ•˜๊ฒŒ ๋กœ์ง์„ ๊ตฌ์„ฑํ•ฉ๋‹ˆ๋‹ค. }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="TabControl์˜ ํƒญ Index๋กœ ํƒญ์„ ์„ ํƒํ•˜๋Š” ํ•จ์ˆ˜ 'setSelectedTabIndex' ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ด ํ•จ์ˆ˜๋Š” ๋น„๋™๊ธฐ๋กœ ์‹คํ–‰๋˜๊ธฐ ๋•Œ๋ฌธ์— ํƒญ ์„ ํƒ์ด ์™„๋ฃŒ๋œ ํ›„ ๋กœ์ง์„ ๊ตฌ์„ฑํ•ด์•ผ ํ•œ๋‹ค๋ฉด ํ‚ค์›Œ๋“œ 'await'์™€ 'async'๋ฅผ ์‚ฌ์šฉํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์Šคํฌ๋ฆฝํŠธ์—์„œ ์ž‘์„ฑ ์˜ˆ์‹œ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group id="" style="" class=""></xf:group> <xf:group class="example_div_tb_style_wrap mw600" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[Index๊ฐ€ 1์ธ ํƒญ ์„ ํƒํ•˜๊ธฐ - await ์‚ฌ์šฉ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[Index๊ฐ€ 2์ธ ํƒญ ์„ ํƒํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class=""> <w2:tabControl confirmTrueAction="exist" confirmFalseAction="new" useTabKeyOnly="true" tabScroll="" useMoveNextTabFocus="false" useConfirmMessage="false" alwaysDraw="false" style="position: relative;height: 120px;" id="tac_exam1" class=""> <w2:tabs disabled="false" style="width:70px;height:30px;" id="tabs1" label="TAB1"></w2:tabs> <w2:tabs disabled="false" style="width:70px;height:30px;" id="tabs2" label="TAB2"></w2:tabs> <w2:tabs disabled="false" style="width:70px;height:30px" id="tabs3" label="TAB3"></w2:tabs> <w2:content alwaysDraw="false" style="min-height:30px;" id="content1"> <w2:textbox style="font-size: 1.2em;padding: 6px;color: steelblue;font-weight: bold;" id="" label="TAB1 CONTENT"></w2:textbox> </w2:content> <w2:content alwaysDraw="false" style="min-height:30px;" id="content2"> <w2:textbox style="font-size: 1.2em;padding: 6px;color: salmon;font-weight: bold;" id="" label="TAB2 CONTENT"></w2:textbox> </w2:content> <w2:content alwaysDraw="false" style="height:90px" id="content3"> <w2:textbox style="font-size: 1.2em;padding: 6px;color: forestgreen;font-weight: bold;" id="" label="TAB3 CONTENT"></w2:textbox> </w2:content> </w2:tabControl> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00278.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[DataList] ์ปฌ๋Ÿผ ๋ฐ์ดํ„ฐ์— ํ•„ํ„ฐ ์ ์šฉํ•˜๊ธฐ - ํ•จ์ˆ˜ ์‚ฌ์šฉ ๊ฒ€์ƒ‰"> <w2:historyInfo> <w2:history meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_no="01" meta_date="20230627" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column id="price" name="์ •๊ฐ€" dataType="text"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { // DataList์— ์ดˆ๊ธฐ ๋ฐ์ดํ„ฐ ํ• ๋‹น scwin.initData(); }; /** * DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ */ scwin.initData = function () { // DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ let data = [ { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "categoryLabel": "์ธ๋ฌธ", "price": "18000" }, { "label": "์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค", "categoryLabel": "์ž๊ธฐ๊ณ„๋ฐœ", "price": "17800" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "17600" }, { "label": "์ €๋งŒ์น˜ ํ˜ผ์ž์„œ", "categoryLabel": "์†Œ์„ค", "price": "15000" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "categoryLabel": "์ธ๋ฌธ", "price": "16000" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "17800" }, { "label": "๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)", "categoryLabel": "์—ญ์‚ฌ/๋ฌธํ™”", "price": "28900" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "categoryLabel": "์†Œ์„ค", "price": "14000" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "15800" }, { "label": "์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "15000" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "categoryLabel": "์†Œ์„ค", "price": "14500" } ]; dlt_books_1.setJSON(data); // DataList 'dlt_books_1'์˜ ๋ชจ๋“  ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ dlt_books_1.clearFilter(); }; /** * ๋ฒ„ํŠผ [DataList์˜ ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”] ํด๋ฆญ ์‹œ */ scwin.btn_initData_onclick = function (e) { scwin.initData(); }; /** * ๋ฒ„ํŠผ [DataList์˜ ํ•„ํ„ฐ ์ „์ฒด ํ•ด์ œ] ํด๋ฆญ ์‹œ */ scwin.btn_clearFilter_onclick = function (e) { // DataList 'dlt_books_1'์˜ ๋ชจ๋“  ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ dlt_books_1.clearFilter(); }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ'๊ณผ ์ผ์น˜] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "func"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ์†์„ฑ 'key'์— ์ •์˜๋œ ํ•จ์ˆ˜๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "categoryLabel"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = scwin.userColumnFilter_type1; // ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ ๊ฐ์ฒด jsnFilterOptions.param = "type1"; // ํ•จ์ˆ˜์— ์ „๋‹ฌํ•  ์ธ์ž ๊ฐ์ฒด. ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜์˜ ๋‘ ๋ฒˆ์งธ ์ธ์ž์— ํ• ๋‹น๋ฉ๋‹ˆ๋‹ค. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด. ์ตœ์ดˆ ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "and"๋กœ ํ• ๋‹น. // ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ : ID๊ฐ€ "categoryLabel"์ธ ์ปฌ๋Ÿผ // ๊ฒ€์ƒ‰ ๋ฐฉ๋ฒ• : ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ - scwin.userColumnFilter_type1 // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด : ๊ต์ง‘ํ•ฉ // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ' | ํ•„ํ„ฐ ์กฐ๊ฑด "; let logOptions = '\n' + '{' + '\n' + ' "type": "func",' + '\n' + ' "colIndex": "categoryLabel",' + '\n' + ' "key": scwin.userColumnFilter_type1,' + '\n' + ' "param": "type1",' + '\n' + ' "condition": "and"' + '\n' + '}'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(logOptions, txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ์‚ฌ์šฉ์ž ์ •์˜ ํ•„ํ„ฐ ํ•จ์ˆ˜ * ํ•จ์ˆ˜ 'scwin.btn_exam1_1_onclick'์—์„œ ํ˜ธ์ถœ * @param {string} argCellData ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ. * @param {object} argUserParam ์‚ฌ์šฉ์ž๊ฐ€ ํ• ๋‹นํ•œ ์ธ์ž. * @param {number} argRowIndex ํ–‰์˜ ์ธ๋ฑ์Šค. * @returns {boolean} ๋ฐ์ดํ„ฐ ์ถ”์ถœ(ํฌํ•จ) ์—ฌ๋ถ€. */ scwin.userColumnFilter_type1 = function (argCellData, argUserParam, argRowIndex) { let returnValue = false; // ๋ฐ˜ํ™˜ ๊ฐ’. // ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ'๊ณผ ๋™์ผํ•˜๋ฉด ์ถ”์ถœ if (argCellData === "์ธ๋ฌธ") { returnValue = true; } return returnValue; }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ ์ค‘ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "func"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ์†์„ฑ 'key'์— ์ •์˜๋œ ํ•จ์ˆ˜๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "categoryLabel"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = scwin.userColumnFilter_type2; // ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ ๊ฐ์ฒด jsnFilterOptions.param = "type2"; // ํ•จ์ˆ˜์— ์ „๋‹ฌํ•  ์ธ์ž ๊ฐ์ฒด. ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜์˜ ๋‘ ๋ฒˆ์งธ ์ธ์ž์— ํ• ๋‹น๋ฉ๋‹ˆ๋‹ค. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด. ์ตœ์ดˆ ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "and"๋กœ ํ• ๋‹น. // ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ : ID๊ฐ€ "categoryLabel"์ธ ์ปฌ๋Ÿผ // ๊ฒ€์ƒ‰ ๋ฐฉ๋ฒ• : ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ - scwin.userColumnFilter_type2 // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด : ๊ต์ง‘ํ•ฉ // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ ์ค‘ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ | ํ•„ํ„ฐ ์กฐ๊ฑด "; let logOptions = '\n' + '{' + '\n' + ' "type": "func",' + '\n' + ' "colIndex": "categoryLabel",' + '\n' + ' "key": scwin.userColumnFilter_type2,' + '\n' + ' "param": "type2",' + '\n' + ' "condition": "and"' + '\n' + '}'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(logOptions, txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ์‚ฌ์šฉ์ž ์ •์˜ ํ•„ํ„ฐ ํ•จ์ˆ˜ * ํ•จ์ˆ˜ 'scwin.btn_exam1_2_onclick'์—์„œ ํ˜ธ์ถœ * @param {string} argCellData ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ. * @param {object} argUserParam ์‚ฌ์šฉ์ž๊ฐ€ ํ• ๋‹นํ•œ ์ธ์ž. * @param {number} argRowIndex ํ–‰์˜ ์ธ๋ฑ์Šค. * @returns {boolean} ๋ฐ์ดํ„ฐ ์ถ”์ถœ(ํฌํ•จ) ์—ฌ๋ถ€. */ scwin.userColumnFilter_type2 = function (argCellData, argUserParam, argRowIndex) { let returnValue = false; // ๋ฐ˜ํ™˜ ๊ฐ’. // ๋ฐ์ดํ„ฐ ์ค‘ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์œผ๋ฉด ์ถ”์ถœ if (typeof argCellData === "string" && argCellData.indexOf("์—์„ธ์ด") > -1) { returnValue = true; } return returnValue; }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์—์„ธ์ด'์™€ ์ผ์น˜] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_3_onclick = function (e) { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "func"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ์†์„ฑ 'key'์— ์ •์˜๋œ ํ•จ์ˆ˜๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "categoryLabel"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = scwin.userColumnFilter_type3; // ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ ๊ฐ์ฒด jsnFilterOptions.param = "type3"; // ํ•จ์ˆ˜์— ์ „๋‹ฌํ•  ์ธ์ž ๊ฐ์ฒด. ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜์˜ ๋‘ ๋ฒˆ์งธ ์ธ์ž์— ํ• ๋‹น๋ฉ๋‹ˆ๋‹ค. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด. ์ตœ์ดˆ ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "and"๋กœ ํ• ๋‹น. // ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ : ID๊ฐ€ "categoryLabel"์ธ ์ปฌ๋Ÿผ // ๊ฒ€์ƒ‰ ๋ฐฉ๋ฒ• : ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ - scwin.userColumnFilter_type3 // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด : ๊ต์ง‘ํ•ฉ // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์—์„ธ์ด'์™€ ์ผ์น˜ | ํ•„ํ„ฐ ์กฐ๊ฑด "; let logOptions = '\n' + '{' + '\n' + ' "type": "func",' + '\n' + ' "colIndex": "categoryLabel",' + '\n' + ' "key": scwin.userColumnFilter_type3,' + '\n' + ' "param": "type3",' + '\n' + ' "condition": "and"' + '\n' + '}'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(logOptions, txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ์‚ฌ์šฉ์ž ์ •์˜ ํ•„ํ„ฐ ํ•จ์ˆ˜ * ํ•จ์ˆ˜ 'scwin.btn_exam1_3_onclick'์—์„œ ํ˜ธ์ถœ * @param {string} argCellData ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ. * @param {object} argUserParam ์‚ฌ์šฉ์ž๊ฐ€ ํ• ๋‹นํ•œ ์ธ์ž. * @param {number} argRowIndex ํ–‰์˜ ์ธ๋ฑ์Šค. * @returns {boolean} ๋ฐ์ดํ„ฐ ์ถ”์ถœ(ํฌํ•จ) ์—ฌ๋ถ€. */ scwin.userColumnFilter_type3 = function (argCellData, argUserParam, argRowIndex) { let returnValue = false; // ๋ฐ˜ํ™˜ ๊ฐ’. // ๋ฐ์ดํ„ฐ๊ฐ€ '์—์„ธ์ด'์™€ ์ผ์น˜ํ•˜๋ฉด ์ถ”์ถœ if (argCellData === "์—์„ธ์ด") { returnValue = true; } return returnValue; }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๊ฑฐ๋‚˜ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_4_onclick = function (e) { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "func"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ์†์„ฑ 'key'์— ์ •์˜๋œ ํ•จ์ˆ˜๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "categoryLabel"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = scwin.userColumnFilter_type4; // ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ ๊ฐ์ฒด jsnFilterOptions.param = "type4"; // ํ•จ์ˆ˜์— ์ „๋‹ฌํ•  ์ธ์ž ๊ฐ์ฒด. ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜์˜ ๋‘ ๋ฒˆ์งธ ์ธ์ž์— ํ• ๋‹น๋ฉ๋‹ˆ๋‹ค. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด. ์ตœ์ดˆ ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "and"๋กœ ํ• ๋‹น. // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๊ฑฐ๋‚˜ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ"; let logOptions = '\n' + '{' + '\n' + ' "type": "func",' + '\n' + ' "colIndex": "categoryLabel",' + '\n' + ' "key": scwin.userColumnFilter_type4,' + '\n' + ' "param": "type4",' + '\n' + ' "condition": "and"' + '\n' + '}'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(logOptions, txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ์‚ฌ์šฉ์ž ์ •์˜ ํ•„ํ„ฐ ํ•จ์ˆ˜ * ํ•จ์ˆ˜ 'scwin.btn_exam1_4_onclick'์—์„œ ํ˜ธ์ถœ * @param {string} argCellData ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ. * @param {object} argUserParam ์‚ฌ์šฉ์ž๊ฐ€ ํ• ๋‹นํ•œ ์ธ์ž. * @param {number} argRowIndex ํ–‰์˜ ์ธ๋ฑ์Šค. * @returns {boolean} ๋ฐ์ดํ„ฐ ์ถ”์ถœ(ํฌํ•จ) ์—ฌ๋ถ€. */ scwin.userColumnFilter_type4 = function (argCellData, argUserParam, argRowIndex) { let returnValue = false; // ๋ฐ˜ํ™˜ ๊ฐ’. // ๋ฐ์ดํ„ฐ๊ฐ€ '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๊ฑฐ๋‚˜ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์œผ๋ฉด ์ถ”์ถœ if (argCellData.search(new RegExp("^์†Œ์„ค$|์—์„ธ์ด")) > -1) { returnValue = true; } return returnValue; }; /** * ๋ฒ„ํŠผ [์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - '๋ถ„๋ฅ˜' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๊ณ  '์ •๊ฐ€' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '17000' ์ด์ƒ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_5_onclick = function (e) { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "func"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ์†์„ฑ 'key'์— ์ •์˜๋œ ํ•จ์ˆ˜๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "categoryLabel"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = scwin.userColumnFilter_type5; // ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜ ๊ฐ์ฒด jsnFilterOptions.param = "type5"; // ํ•จ์ˆ˜์— ์ „๋‹ฌํ•  ์ธ์ž ๊ฐ์ฒด. ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜์˜ ๋‘ ๋ฒˆ์งธ ์ธ์ž์— ํ• ๋‹น๋ฉ๋‹ˆ๋‹ค. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด. ์ตœ์ดˆ ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "and"๋กœ ํ• ๋‹น. // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - '๋ถ„๋ฅ˜' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๊ณ  '์ •๊ฐ€' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '17000' ์ด์ƒ"; let logOptions = '\n' + '{' + '\n' + ' "type": "func",' + '\n' + ' "colIndex": "categoryLabel",' + '\n' + ' "key": scwin.userColumnFilter_type5,' + '\n' + ' "param": "type5",' + '\n' + ' "condition": "and"' + '\n' + '}'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(logOptions, txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ์‚ฌ์šฉ์ž ์ •์˜ ํ•„ํ„ฐ ํ•จ์ˆ˜ * ํ•จ์ˆ˜ 'scwin.btn_exam1_5_onclick'์—์„œ ํ˜ธ์ถœ * @param {string} argCellData ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ. * @param {object} argUserParam ์‚ฌ์šฉ์ž๊ฐ€ ํ• ๋‹นํ•œ ์ธ์ž. * @param {number} argRowIndex ํ–‰์˜ ์ธ๋ฑ์Šค. * @returns {boolean} ๋ฐ์ดํ„ฐ ์ถ”์ถœ(ํฌํ•จ) ์—ฌ๋ถ€. */ scwin.userColumnFilter_type5 = function (argCellData, argUserParam, argRowIndex) { let returnValue = false; // ๋ฐ˜ํ™˜ ๊ฐ’. // '๋ถ„๋ฅ˜' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๊ณ  '์ •๊ฐ€' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '17000' ์ด์ƒ์ด๋ฉด ์ถ”์ถœ if (argCellData === "์ธ๋ฌธ") { // ์ปฌ๋Ÿผ 'price'์˜ ๊ฐ’์„ ์ถ”์ถœํ•˜์—ฌ ์ˆซ์žํ˜•์œผ๋กœ ๋ณ€ํ™˜ let numPrice = Number(dlt_books_1.getCellData(argRowIndex, "price")); if (typeof numPrice === "number" && numPrice >= 17000) { returnValue = true; } } return returnValue; }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { //textarea value๋ฅผ ๋นˆ๋ฌธ์ž์—ด๋กœ ํ• ๋‹น. txa_log.setValue(""); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="DataList์˜ ์ปฌ๋Ÿผ ๋ฐ์ดํ„ฐ์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ด ์˜ˆ์ œ๋Š” ํ•จ์ˆ˜ 'setColumnFilter'์˜ ์ฒซ ๋ฒˆ์งธ ์ธ์ž์˜ ์†์„ฑ 'type' ์„ค์ • ๊ฐ’์„ 'func'๋กœ ์ง€์ •ํ•œ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์†์„ฑ 'type'์˜ ์„ค์ • ๊ฐ’์ด 'func'๋กœ ์ง€์ •๋˜๋ฉด ์‚ฌ์šฉ์ž๊ฐ€ ์ •์˜ํ•œ ํ•จ์ˆ˜๋กœ ๊ฒ€์ƒ‰ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;ํ•จ์ˆ˜๋Š” ์†์„ฑ 'key'์— ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" id="" label="์ด ๊ธฐ๋Šฅ์€ ์‚ฌ์šฉ์ž ์ •์˜ ํ•จ์ˆ˜์—์„œ ํ–‰์˜ ์ธ๋ฑ์Šค๋ฅผ ๋ฐ›๊ธฐ ๋•Œ๋ฌธ์— ๋‹ค๋ฅธ ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์ฐธ์กฐํ•˜์—ฌ ๋กœ์ง์„ ๊ตฌ์„ฑํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" id="" label="๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด '๋กœ๊ทธ ํ™•์ธ' ์˜์—ญ๊ณผ ๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž๋„๊ตฌ์˜ ์ฝ˜์†”์— ๋กœ๊ทธ๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style no_padding" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" disabled="" escape="false" id="btn_initData" style="" type="button" ev:onclick="scwin.btn_initData_onclick"> <xf:label><![CDATA[DataList์˜ ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" disabled="" escape="false" id="btn_clearFilter" style="" type="button" ev:onclick="scwin.btn_clearFilter_onclick"> <xf:label><![CDATA[DataList์˜ ํ•„ํ„ฐ ์ „์ฒด ํ•ด์ œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ'๊ณผ ์ผ์น˜]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ ์ค‘ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_3_onclick" id="btn_exam1_3" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์—์„ธ์ด'์™€ ์ผ์น˜]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_4_onclick" id="btn_exam1_4" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - ๋ฐ์ดํ„ฐ๊ฐ€ '์†Œ์„ค'๊ณผ ์ผ์น˜ํ•˜๊ฑฐ๋‚˜ '์—์„ธ์ด'๊ฐ€ ํฌํ•จ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_5_onclick" id="btn_exam1_5" style="" type="button"> <xf:label><![CDATA[์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์— ํ•„ํ„ฐ ์ ์šฉ - '๋ถ„๋ฅ˜' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๊ณ  '์ •๊ฐ€' ์ปฌ๋Ÿผ์˜ ๋ฐ์ดํ„ฐ๊ฐ€ '17000' ์ด์ƒ]]></xf:label> </xf:trigger> </xf:group> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="[ ๊ฒฐ๊ณผ ํ™•์ธ์šฉ GridView ]" style=""></w2:textbox> <w2:gridView autoFit="lastColumn" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="" rowNumWidth="26" style="height:60px;" visibleRowNum="4" autoFitMinWidth="220" tooltipDisplay="true" readOnly="true" initFixedHeightByRowNum="4"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column width="70" inputType="text" id="column5" value="๋ถ„๋ฅ˜" displayMode="label"></w2:column> <w2:column displayMode="label" id="column4" inputType="text" value="์ •๊ฐ€" width="50"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column width="70" inputType="text" id="categoryLabel" displayMode="label"></w2:column> <w2:column displayMode="label" id="price" inputType="text" width="50" value=""></w2:column> <w2:column displayMode="label" id="label" inputType="text" width="100" textAlign="left"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group id="" class="example_div_th_style"> <w2:span label="๋กœ๊ทธ ํ™•์ธ" style="" id="" class="mr_def txt_blue"></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00244.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] CSV ๋‹ค์šด๋กœ๋“œ ์‹œ ๋‹ค์šด๋กœ๋“œํ•  ๋ฐ์ดํ„ฐ ์ถœ์ฒ˜ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230310" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <book_name><![CDATA[์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ]]></book_name> <price><![CDATA[28000]]></price> <published_date><![CDATA[20190826]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></book_name> <price><![CDATA[16000]]></price> <published_date><![CDATA[20220418]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></book_name> <price><![CDATA[18000]]></price> <published_date><![CDATA[20201201]]></published_date> </w2:row> <w2:row> <book_name><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></book_name> <price><![CDATA[14000]]></price> <published_date><![CDATA[20210420]]></published_date> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [CSV ๋‹ค์šด๋กœ๋“œ - (๊ธฐ๋ณธ ๊ฐ’) ํ™”๋ฉด์˜ ์ถœ๋ ฅ ๊ฐ’์œผ๋กœ ๋‹ค์šด๋กœ๋“œ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { var jsnOptions; jsnOptions = { fileName: "SP5_EXAMPLE_P00244_TYPE1.csv", //ํŒŒ์ผ๋ช… type: "1" //๋‹ค์šด๋กœ๋“œํ•  ๋ฐ์ดํ„ฐ - ํ™”๋ฉด์˜ ์ถœ๋ ฅ ๊ฐ’ }; //GridView 'grd_exam1'์˜ ๋ฐ์ดํ„ฐ๋ฅผ CSV ํ˜•์‹์œผ๋กœ ๋‹ค์šด๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. grd_exam1.saveCSV(jsnOptions); }; /** * ๋ฒ„ํŠผ [CSV ๋‹ค์šด๋กœ๋“œ - value๋กœ ๋‹ค์šด๋กœ๋“œ] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { var jsnOptions; jsnOptions = { fileName: "SP5_EXAMPLE_P00244_TYPE2.csv", //ํŒŒ์ผ๋ช… type: "0" //๋‹ค์šด๋กœ๋“œํ•  ๋ฐ์ดํ„ฐ - value }; //GridView 'grd_exam1'์˜ ๋ฐ์ดํ„ฐ๋ฅผ CSV ํ˜•์‹์œผ๋กœ ๋‹ค์šด๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค. grd_exam1.saveCSV(jsnOptions); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox class="" escape="false" id="" label="GridView์˜ ๋ฐ์ดํ„ฐ๋ฅผ CSV๋กœ ๋‹ค์šด๋กœ๋“œ ์‹œ ๋‹ค์šด๋กœ๋“œํ•  ๋ฐ์ดํ„ฐ๋ฅผ ์ง€์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;GridView์˜ ํ•จ์ˆ˜ 'saveCSV'์˜ ์˜ต์…˜ 'type'์œผ๋กœ ๋‹ค์šด๋กœ๋“œํ•  ๋ฐ์ดํ„ฐ๋ฅผ ์ง€์ •ํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="" escape="false" id="" label="์˜ต์…˜์˜ ์„ค๋ช…์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- type : [default: 1, 0] ์‚ฌ์šฉํ•  ๋ฐ์ดํ„ฐ. 0: value ๊ฐ’ ์‚ฌ์šฉ. 1: ํ™”๋ฉด์˜ ์ถœ๋ ฅ ๊ฐ’ ์‚ฌ์šฉ." style=""> </w2:textbox> <xf:group id="" style="" tagname="details"> <w2:textbox class="" id="" label="๋”๋ณด๊ธฐ" style="" tagname="summary"></w2:textbox> <w2:textbox class="" escape="false" id="" label="๋‹ค์šด๋กœ๋“œํ•  ๋ฐ์ดํ„ฐ๋ฅผ ํ™”๋ฉด์˜ ์ถœ๋ ฅ๊ฐ’์œผ๋กœ ์ง€์ •ํ•˜๊ณ  ๊ตฌ๋ถ„์ž๋ฅผ ','(์‰ผํ‘œ)๋กœ ์„ค์ •ํ•˜๊ณ ์ž ํ•  ๋•Œ, ์ถœ๋ ฅ๊ฐ’์— ','(์‰ผํ‘œ)๋ฅผ ์ œ๊ฑฐํ•˜๋Š” ์˜ต์…˜์„ ์ง€์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;๊ด€๋ จ ์˜ต์…˜์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- delim : [default: ';'] CSV ํŒŒ์ผ์—์„œ ๋ฐ์ดํ„ฐ๋ฅผ ๊ตฌ๋ถ„ํ•  ๊ตฌ๋ถ„์ž&lt;br/&gt;- removeQuotation : [default: 0, 1] value์— ','(์‰ผํ‘œ/comma)์˜ ์ œ๊ฑฐ ์—ฌ๋ถ€ (0 : ์œ ์ง€, 1 : ์ œ๊ฑฐ)" style="margin-bottom: 6px;"> </w2:textbox> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[CSV ๋‹ค์šด๋กœ๋“œ - (๊ธฐ๋ณธ ๊ฐ’) ํ™”๋ฉด์˜ ์ถœ๋ ฅ ๊ฐ’์œผ๋กœ ๋‹ค์šด๋กœ๋“œ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width:30px;height:26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[CSV ๋‹ค์šด๋กœ๋“œ - value๋กœ ๋‹ค์šด๋กœ๋“œ]]></xf:label> </xf:trigger> </xf:group> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="grd_exam1" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00250.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[AutoComplete] label, value, delimiter๋ฅผ ์ด์šฉํ•˜์—ฌ ์„ ํƒ ํ•ญ๋ชฉ์„ ํ‘œ์‹œํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230315" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_list" repeatNode="map" saveRemovedData="true" style=""> <w2:columnInfo> <w2:column dataType="text" id="City" name="Label"></w2:column> <w2:column dataType="text" id="Code" name="Code"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function() { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='AutoComplete์˜ ์„ ํƒ ๋ชฉ๋ก์„ "label delimiter value" ํ˜•์‹์œผ๋กœ ํ‘œ์‹œํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;displayModeSync๋Š” ํŽธ์ง‘ ๋ชจ๋“œ์—์„œ displayMode์—์„œ ์„ค์ •ํ•œ ํ˜•์‹์œผ๋กœ ํ‘œํ˜„ํ•˜๊ธฐ ์œ„ํ•œ ์„ค์ • ๊ฐ’ ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋‹จ, searchTarget์ด "both" ์ผ ๋•Œ๋งŒ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id="" style=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='delimiter="label delimiter value"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='AutoComplete์˜ ์„ ํƒ ๋ชฉ๋ก์„ ํ™•์ธํ•˜๋ฉด "Label - Value" ํ˜•ํƒœ๋กœ ํ‘œ์‹œ๋จ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:group id="" style="margin-bottom: 15px;"> <w2:autoComplete submenuSize="auto" search="start" editType="select" useKeywordHighlight="false" style="width: 150px;" id="acb1" useLocale="false" class="" allOption="" chooseOption="true" ref="" autoFocus="true" chooseOptionLabel="- ์„ ํƒ -" displayMode="label delim value" delimiter=" - "> <w2:choices> <w2:itemset nodeset="data:dlt_list"> <w2:label ref="City"></w2:label> <w2:value ref="Code"></w2:value> </w2:itemset> </w2:choices> </w2:autoComplete> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='displayModeSync="true"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='AutoComplete์—์„œ ์„ ํƒ ๋ชฉ๋ก์„ ์ค‘ ํ•˜๋‚˜๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์ด ํ›„ ๋‹ค์‹œ ์„ ํƒํ•ด ํŽธ์ง‘ ๋ชจ๋“œ์— ๋“ค์–ด ๊ฐ”์„ ๋•Œ "label delimiter value"๋กœ ํ‘œ์‹œ๋จ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:group class="gvwbox" id="" style=""></xf:group> <xf:group id="" style="margin-bottom: 15px;"> <w2:autoComplete allOption="" autoFocus="true" chooseOption="true" chooseOptionLabel="- ์„ ํƒ -" class="" delimiter=" - " displayMode="label delim value" editType="select" id="acb_2" ref="" search="start" style="width: 150px;" submenuSize="auto" useKeywordHighlight="false" useLocale="false" displayModeSync="true" searchTarget="both"> <w2:choices> <w2:itemset nodeset="data:dlt_list"> <w2:label ref="City"></w2:label> <w2:value ref="Code"></w2:value> </w2:itemset> </w2:choices> </w2:autoComplete> </xf:group> </xf:group> </xf:group><xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="DataList" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="AutoComplete์— ์—ฐ๋™๋˜์–ด ์žˆ๋Š” DataCollection์„ ๋ณด์—ฌ์ฃผ๋Š” GridView์ž…๋‹ˆ๋‹ค.&lt;br/&gt;Cell์„ ๋”๋ธ”ํด๋ฆญํ•ด์„œ ์ˆ˜์ •ํ•˜๋ฉด AutoComplete์˜ ํ‘œ์‹œ ๋˜๋Š” ๊ฐ’์ด ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="gvwbox" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_list" defaultCellHeight="24" editModeEvent="onclick" id="grd_exam1" readOnly="false" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column2" inputType="text" style="" value="Label" width="70"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" style="" value="Value" width="70"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" editModeEvent="ondblclick" id="City" inputType="text" style="" value="" width="70"> </w2:column> <w2:column displayMode="label" id="Code" inputType="text" style="" value="" width="70"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00113S01.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00113S01.xml" style="color: dodgerblue;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00132.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[InputCalendar] ์บ˜๋ฆฐ๋”์˜ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ - ์ง€์ •ํ•œ ๋‚ ์งœ ์ด์ „/์ดํ›„"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221014" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.setInitPage(); }; /** * ํ™”๋ฉด ์ดˆ๊ธฐํ™” */ scwin.setInitPage = function () { var strDate; //์„œ๋ฒ„์—์„œ ์˜ค๋Š˜ ๋‚ ์งœ ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strDate = $p.getCurrentServerDate("yyyyMMdd"); //inputCalendar์— ์˜ค๋Š˜ ๋‚ ์งœ ํ• ๋‹น. ica_exam_1.setValue(strDate); ica_exam_2.setValue(strDate); ica_exam_3.setValue(strDate); }; /** * ๋ฒ„ํŠผ [์˜ค๋Š˜ ์ด์ „ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”] ํด๋ฆญ ์‹œ ํ˜ธ์ถœ */ scwin.btn_ex1_onclick = function (e) { var strDate; //์„œ๋ฒ„์—์„œ ์˜ค๋Š˜ ๋‚ ์งœ ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strDate = $p.getCurrentServerDate("yyyyMMdd"); //inputCalendar "ica_exam_2"์— ์ง€์ •์ผ ์ด์ „ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”ํ•˜๊ธฐ ica_exam_2.disableBeforeDate(strDate); }; /** * ๋ฒ„ํŠผ [์˜ค๋Š˜ ์ดํ›„ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”] ํด๋ฆญ ์‹œ ํ˜ธ์ถœ */ scwin.btn_ex2_onclick = function (e) { var strDate; //์„œ๋ฒ„์—์„œ ์˜ค๋Š˜ ๋‚ ์งœ ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strDate = $p.getCurrentServerDate("yyyyMMdd"); //inputCalendar "ica_exam_3"์— ์ง€์ •์ผ ์ดํ›„ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”ํ•˜๊ธฐ ica_exam_3.disableAfterDate(strDate); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='InputCalendar์˜ ์บ˜๋ฆฐ๋”์— ์ถœ๋ ฅ๋œ ๋‚ ์งœ๋ฅผ ๋น„ํ™œ์„ฑํ™”ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ง€์ •ํ•œ ๋‚ ์งœ์˜ ์ดํ›„ ๋˜๋Š” ์ด์ „ ๋‚ ์งœ๋ฅผ ๋น„ํ™œ์„ฑํ™” ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;๋น„ํ™œ์„ฑํ™” ๋œ ๋‚ ์งœ๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ์„ ํƒํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์‚ฌ์šฉ์ž๊ฐ€ ์ž…๋ ฅํ•˜๋Š” ๋‚ ์งœ, ๊ธฐ ์ž…๋ ฅ(ํ• ๋‹น)๋œ ๋‚ ์งœ์— ๋Œ€ํ•ด์„œ๋Š” ์ œ์–ดํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์บ˜๋ฆฐ๋”์˜ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”ํ™”๊ธฐ - &amp;nbsp;์ง€์ •์ผ ์ด์ „" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_2" renderDiv="true" rightAlign="false" style="width:110px;min-height: 24px;"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[์˜ค๋Š˜ ์ด์ „ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์บ˜๋ฆฐ๋”์˜ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”ํ™”๊ธฐ - &amp;nbsp;์ง€์ •์ผ ์ดํ›„" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_3" renderDiv="true" rightAlign="false" style="width:110px;min-height: 24px;"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" style="" type="button"> <xf:label><![CDATA[์˜ค๋Š˜ ์ดํ›„ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_1" renderDiv="true" rightAlign="false" style="width:110px;min-height: 24px;" validateOnInput="true" validateOnInputMobile="true"> </w2:inputCalendar> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00126.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[Input] ์ž…๋ ฅ๊ฐ’์˜ ์ขŒ์šฐ ๊ณต๋ฐฑ ์ œ๊ฑฐํ•˜๊ธฐ - trim, ltrim, rtrim"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221007" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='Input์— ์ž…๋ ฅํ•œ ๋ฐ์ดํ„ฐ์˜ ์ขŒ์šฐ ๊ณต๋ฐฑ ์ œ๊ฑฐ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์†์„ฑ trim, ltrim, rtrim ์„ค์ •์œผ๋กœ ๊ธฐ๋Šฅ์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์ปดํฌ๋„ŒํŠธ์—์„œ ์ž…๋ ฅ ์ปค์„œ๊ฐ€ ๋ฒ—์–ด๋‚  ๋•Œ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;' style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:input class="" id="" style="min-width:120px;"></xf:input> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="trim" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ž…๋ ฅ ์ปค์„œ๊ฐ€ ๋ฒ—์–ด๋‚  ๋•Œ ์ขŒ์šฐ ๊ณต๋ฐฑ์ด ์ œ๊ฑฐ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:input class="" id="" style="min-width:120px;" placeholder="์ขŒ์šฐ ๊ณต๋ฐฑ ์ œ๊ฑฐ" trim="true"></xf:input> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='ltrim' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ž…๋ ฅ ์ปค์„œ๊ฐ€ ๋ฒ—์–ด๋‚  ๋•Œ ์ขŒ์ธก ๊ณต๋ฐฑ์ด ์ œ๊ฑฐ๋ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <xf:input class="" id="" placeholder="์ขŒ์ธก ๊ณต๋ฐฑ ์ œ๊ฑฐ" style="min-width:120px;" ltrim="true"></xf:input> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="rtrim" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ž…๋ ฅ ์ปค์„œ๊ฐ€ ๋ฒ—์–ด๋‚  ๋•Œ ์šฐ์ธก ๊ณต๋ฐฑ์ด ์ œ๊ฑฐ๋ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <xf:input class="" id="" placeholder="์šฐ์ธก ๊ณต๋ฐฑ ์ œ๊ฑฐ" style="min-width:120px;" rtrim="true"></xf:input> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00127.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[Input] ์ตœ๋Œ€ ์ž…๋ ฅ ๊ธธ์ด ์ œํ•œํ•˜๊ธฐ - maxLength, maxByteLength"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221007" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='Input์˜ ์ž…๋ ฅ๊ฐ’์˜ ๊ธธ์ด๋ฅผ ์ œํ•œํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์†์„ฑ maxLength, maxByteLength๋ฅผ ๋น„๊ตํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;maxLength : ๊ธ€์ž ์ˆ˜๋ฅผ ๊ธฐ์ค€์œผ๋กœ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;maxByteLength : ์ž…๋ ฅ๊ฐ’์„ byte๋กœ ๊ณ„์‚ฐํ•˜์—ฌ ์ œํ•œํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;maxByteLength๋Š” client ์„ค์ •ํŒŒ์ผ์— ์ ์šฉ๋œ byteCheckEncoding์˜ ์„ค์ •๊ฐ’์„ ๊ธฐ์ค€์œผ๋กœ ์•„๋ž˜์™€ ๊ฐ™์ด ์ ์šฉ๋ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> <w2:textbox escape="false" id="" label="- utf-8 : ํ•œ๊ธ€ 1๊ธ€์ž๊ฐ€ 3byte&lt;br/&gt;- euc-kr : ํ•œ๊ธ€ 1๊ธ€์ž๊ฐ€ 2byte&lt;br/&gt;" style="margin-bottom: 10px;padding-left: 0.5em;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:input class="" id="" style="min-width:120px;"></xf:input> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ž…๋ ฅ๊ฐ’์„ ์ตœ๋Œ€ 4๊ธ€์ž๋กœ ์ œํ•œ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ˆซ์ž, ์˜๋ฌธ, ํ•œ๊ธ€ ์ƒ๊ด€์—†์ด ์ตœ๋Œ€ 4๊ธ€์ž๋ฅผ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;ํ•œ๊ธ€์˜ ๊ฒฝ์šฐ ์ž…๋ ฅ ์ปค์„œ๊ฐ€ ๋ฒ—์–ด๋‚  ๋•Œ ์ ์šฉ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:input class="" id="" style="min-width:120px;" maxlength="4" placeholder="maxlength : 4"></xf:input> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='์ž…๋ ฅ๊ฐ’์„ ์ตœ๋Œ€ 4byte๋กœ ์ œํ•œ' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='client ์„ค์ • ํŒŒ์ผ์˜ ์†์„ฑ byteCheckEncoding์˜ ๊ฐ’์€ "utf-8"์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ˆซ์ž, ์˜๋ฌธ์€ ์ตœ๋Œ€ 4๊ธ€์ž๋ฅผ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;ํ•œ๊ธ€์€ ์ตœ๋Œ€ 1๊ธ€์ž๋ฅผ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:input class="" id="" style="min-width:120px;" maxByteLength="4" placeholder="maxByteLength : 4"></xf:input> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00133.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[InputCalendar] ์บ˜๋ฆฐ๋”์˜ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ - ์ง€์ •ํ•œ ๋‚ ์งœ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221014" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { scwin.setInitPage(); }; /** * ํ™”๋ฉด ์ดˆ๊ธฐํ™” */ scwin.setInitPage = function () { var strYear; //์„œ๋ฒ„์—์„œ ์˜ฌํ•ด ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strYear = $p.getCurrentServerDate("yyyy"); //inputCalendar์— ์˜ฌํ•ด 8์›” 1์ผ ํ• ๋‹นํ•˜๊ธฐ ica_exam_1.setValue(strYear + "0801"); ica_exam_2.setValue(strYear + "0801"); ica_exam_3.setValue(strYear + "0801"); }; /** * ๋ฒ„ํŠผ [์˜ฌํ•ด์˜ 8์›” 15์ผ ๋น„ํ™œ์„ฑํ™”] ํด๋ฆญ ์‹œ ํ˜ธ์ถœ */ scwin.btn_ex1_onclick = function (e) { var strYear; //์„œ๋ฒ„์—์„œ ์˜ฌํ•ด ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strYear = $p.getCurrentServerDate("yyyy"); //inputCalendar "ica_exam_2"์— ์˜ฌํ•ด์˜ 8์›” 15์ผ ๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ ica_exam_2.disableDate(strYear + "0815"); }; /** * ๋ฒ„ํŠผ [์˜ฌํ•ด์˜ 8์›” 14, 16์ผ ๋น„ํ™œ์„ฑํ™”] ํด๋ฆญ ์‹œ ํ˜ธ์ถœ */ scwin.btn_ex2_onclick = function (e) { var strYear; //์„œ๋ฒ„์—์„œ ์˜ฌํ•ด ๋ฐ˜ํ™˜ ๋ฐ›๊ธฐ. strYear = $p.getCurrentServerDate("yyyy"); //inputCalendar "ica_exam_3"์— ์˜ฌํ•ด์˜ 8์›” 14, 16์ผ ๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ ica_exam_3.disableDate(strYear + "0814 " + strYear + "0816"); //๋‚ ์งœ๋Š” ๊ณต๋ฐฑ์œผ๋กœ ๊ตฌ๋ถ„ //ex) ica_exam_3.disableDate("20220814 20220816") }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='InputCalendar์˜ ์บ˜๋ฆฐ๋”์— ์ง€์ •ํ•œ ๋‚ ์งœ๋ฅผ ๋น„ํ™œ์„ฑํ™”ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์บ˜๋ฆฐ๋”์˜ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”ํ™”๊ธฐ - &amp;nbsp;์ง€์ •์ผ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_2" renderDiv="true" rightAlign="false" style="width:110px;min-height: 24px;"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[์˜ฌํ•ด์˜ 8์›” 15์ผ ๋น„ํ™œ์„ฑํ™”]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์บ˜๋ฆฐ๋”์˜ ๋‚ ์งœ ๋น„ํ™œ์„ฑํ™”ํ™”๊ธฐ - &amp;nbsp;์ง€์ •์ผ(๋‹ค์ค‘)" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_3" renderDiv="true" rightAlign="false" style="width:110px;min-height: 24px;"> </w2:inputCalendar> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" style="" type="button"> <xf:label><![CDATA[์˜ฌํ•ด์˜ 8์›” 14, 16์ผ ๋น„ํ™œ์„ฑํ™”]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ธฐ๋ณธ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" id="ica_exam_1" renderDiv="true" rightAlign="false" style="width:110px;min-height: 24px;" validateOnInput="true" validateOnInputMobile="true"> </w2:inputCalendar> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00158S01.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221104" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { tac_exam1.disableTab(1) }; /** * ๋ฒ„ํŠผ [๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { //TabControl [tac_exam1] ๋น„ํ™œ์„ฑํ™” ์„ค์ • tac_exam1.setDisabled(true); }; /** * ๋ฒ„ํŠผ [ํ™œ์„ฑํ™” ํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_1_onclick = function (e) { //TabControl [tac_exam1] ํ™œ์„ฑํ™” ์„ค์ • tac_exam1.setDisabled(false); }; /** * ๋ฒ„ํŠผ [ํ™”๋ฉด ์ดˆ๊ธฐํ™”] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_3_onclick = function (e) { $p.reinitialize(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style="padding: 6px;"> <w2:textbox id="" label="P00158S01.xml" style="color: dodgerblue;font-size: 1.4em;font-weight: bold;"></w2:textbox> <w2:textbox class="ws5_example_txt_normal mb10" escape="false" id="" label="TabControl์˜ ์†์„ฑ keepDisabledTab์ด false๋กœ ์ง€์ •๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;๋‘ ๋ฒˆ์งธ ํƒญ์ด ๋น„ํ™œ์„ฑํ™”๋œ ์ƒํƒœ์ž…๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="mb_def_box" id="" style="margin-bottom: 0px !important;"> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" style="" type="button"> <xf:label><![CDATA[๋น„ํ™œ์„ฑํ™” ํ•˜๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_ex1_1_onclick" id="btn_ex1_1" style="" type="button"> <xf:label><![CDATA[ํ™œ์„ฑํ™” ํ•˜๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" id="btn_ex1_3" style="" type="button" ev:onclick="scwin.btn_ex1_3_onclick"> <xf:label><![CDATA[ํ™”๋ฉด ์ดˆ๊ธฐํ™”]]></xf:label> </xf:trigger> </xf:group> <xf:group class="tbcbox" id="" style=""> <w2:tabControl alwaysDraw="false" class="" confirmFalseAction="new" confirmTrueAction="exist" id="tac_exam1" style="position: relative;height: 80px;" tabScroll="" useConfirmMessage="false" useMoveNextTabFocus="false" useTabKeyOnly="true" keepDisabledTab="false"> <w2:tabs disabled="false" style="width:60px;height:30px;" id="tabs1" label="TAB1"></w2:tabs> <w2:tabs disabled="false" style="width:110px;height:30px;" id="tabs2" label="TAB2 - ๋น„ํ™œ์„ฑํ™”"></w2:tabs> <w2:content alwaysDraw="false" style="" id="content1"> <w2:textbox id="" label="SUB TAB 1 Content ์˜์—ญ" style="font-size: 1.2em;padding: 10px;"></w2:textbox> </w2:content> <w2:content alwaysDraw="false" style="" id="content2"> <xf:group id="" style="padding: 10px;"> <xf:input adjustMaxLength="false" style="width: 100px;height: 24px;margin-right: 10px;" id=""></xf:input> <xf:trigger useDefaultLabel="true" localeRef="" style="min-width: 30px; height: 26px;" id="" type="" class="btn_com"> <xf:label><![CDATA[์ž„์‹œ ๋ฒ„ํŠผ]]></xf:label> </xf:trigger> </xf:group> </w2:content> </w2:tabControl> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00123P02.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="pop_contents" id="" style="padding: 10px;"> <w2:textbox id="" label="ํŒ์—…1-1 - P00123P02.xml" style="color: IndianRed;font-size: 1.5em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00146S01.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221021" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00146S01.xml" style="color: dodgerblue;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00251.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[AutoComplete] onchange์™€ onviewchange ๋น„๊ตํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230320" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_list" repeatNode="map" saveRemovedData="true" style=""> <w2:columnInfo> <w2:column dataType="text" id="City" name="Label"></w2:column> <w2:column dataType="text" id="Code" name="Code"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function() { txa_log.setValue(""); }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { txa_log.setValue(""); }; /** * ์˜์—ญ [Event: onchange]์˜ * Autocomplet [acb1]์˜ onviewchange */ scwin.acb1_onviewchange = function(info) { acb_onchange.setValue(info.newValue); }; /** * ์˜์—ญ [Event: onchange]์˜ * Autocomplet [acb_onchange]์˜ onchange */ scwin.acb_onchange_onchange = function(info) { //๋กœ๊ทธ ์ถœ๋ ฅ var strLog = "[Even: onchange] onchange ๋ฐœ์ƒ"; $c.frame.printExampleLog(strLog, txa_log, false); console.log(strLog); }; /** * ์˜์—ญ [Event: oncviewhange]์˜ * Autocomplet [acb2]์˜ onviewchange */ scwin.acb2_onviewchange = function(info) { acb_onviewchange.setValue(info.newValue); }; /** * ์˜์—ญ [Event: oncviewhange]์˜ * Autocomplet [acb_onviewchange]์˜ onviewchange */ scwin.acb_onviewchange_onviewchange = function(info) { //๋กœ๊ทธ ์ถœ๋ ฅ var strLog = "[Even: onvuewchange] onviewchange ๋ฐœ์ƒ"; $c.frame.printExampleLog(strLog, txa_log, false); console.log(strLog); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='AutoComplete์˜ ์ด๋ฒคํŠธ onchange์™€ ์ด๋ฒคํŠธ onviewchange์˜ ๋™์ž‘ ์ฐจ์ด๋ฅผ ํ™•์ธํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;onchange: script ์ƒ์œผ๋กœ ์กฐ์ž‘์ด๋‚˜ ์‚ฌ์šฉ์ž์˜ ํ™”๋ฉด ์กฐ์ž‘ ๋“ฑ ์ปดํฌ๋„ŒํŠธ์˜ ๊ฐ’์ด ๋ณ€๊ฒฝ๋˜๋Š” ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ&lt;br/&gt;onviewchange: ํ™”๋ฉด์—์„œ ์‚ฌ์šฉ์ž์˜ ์กฐ์ž‘์œผ๋กœ ์ธํ•ด ๊ฐ’์ด ๋ณ€๊ฒฝ๋˜๋Š” ๊ฒฝ์šฐ ๋ฐœ์ƒํ•˜๋Š” ์ด๋ฒคํŠธ' style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id="" style=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='Event: onchange' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='AoutoComplete 1๋ฒˆ ๊ฐ’์„ ๋ณ€๊ฒฝํ•˜๋ฉด ์ด๋ฒคํŠธ onviewchange๊ฐ€ ๋ฐœ์ƒํ•ด script ์ƒ์œผ๋กœ AutoComplete 2๋ฒˆ์˜ ๊ฐ’์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;1. AutoComplete 1๋ฒˆ์„ ์„ ํƒํ•ด ๊ฐ’์„ ์„ ํƒํ•˜๊ณ  "๋กœ๊ทธ ํ™•์ธ" ์˜์—ญ์—์„œ ๋กœ๊ทธ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;2. AutoComplete 2๋ฒˆ์„ ์„ ํƒํ•ด ๊ฐ’์„ ์„ ํƒํ•˜๊ณ  "๋กœ๊ทธ ํ™•์ธ" ์˜์—ญ์—์„œ ๋กœ๊ทธ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:group id="" style="margin-bottom: 15px;"> <w2:autoComplete allOption="" autoFocus="true" chooseOption="true" chooseOptionLabel="AutoComplete 1" class="" delimiter=" - " displayMode="label delim value" editType="select" id="acb1" ref="" search="start" style="width: 150px;" submenuSize="auto" useKeywordHighlight="false" useLocale="false" ev:onviewchange="scwin.acb1_onviewchange"> <w2:choices> <w2:itemset nodeset="data:dlt_list"> <w2:label ref="City"></w2:label> <w2:value ref="Code"></w2:value> </w2:itemset> </w2:choices> </w2:autoComplete> </xf:group><xf:group id="" style="margin-bottom: 15px;"> <w2:autoComplete submenuSize="auto" search="start" editType="select" useKeywordHighlight="false" style="width: 150px;" id="acb_onchange" useLocale="false" class="" allOption="" chooseOption="true" ref="" autoFocus="true" chooseOptionLabel="AutoComplete 2" displayMode="label delim value" delimiter=" - " ev:onchange="scwin.acb_onchange_onchange"> <w2:choices> <w2:itemset nodeset="data:dlt_list"> <w2:label ref="City"></w2:label> <w2:value ref="Code"></w2:value> </w2:itemset> </w2:choices> </w2:autoComplete> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='Event: onviewchange' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='AoutoComplete 3๋ฒˆ ๊ฐ’์„ ๋ณ€๊ฒฝํ•˜๋ฉด ์ด๋ฒคํŠธ onviewchange๊ฐ€ ๋ฐœ์ƒํ•ด script ์ƒ์œผ๋กœ AutoComplete 4๋ฒˆ์˜ ๊ฐ’์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;AoutoComplete 4๋ฒˆ์€ onviewchange ์ด๋ฒคํŠธ๊ฐ€ ์ ์šฉ๋˜์–ด AutoComplete3๋ฒˆ์˜ ์ด๋ฒคํŠธ๋กœ AutoComplete4๋ฒˆ์˜ ๊ฐ’์„ ๋ณ€๊ฒฝํ•ด๋„ ์ด๋ฒคํŠธ๋Š” ๋ฐœ์ƒํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.&lt;br/&gt;1. AutoComplete 3๋ฒˆ์„ ์„ ํƒํ•ด ๊ฐ’์„ ์„ ํƒํ•˜๊ณ  "๋กœ๊ทธ ํ™•์ธ" ์˜์—ญ์—์„œ ๋กœ๊ทธ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;2. AutoComplete 4๋ฒˆ์„ ์„ ํƒํ•ด ๊ฐ’์„ ์„ ํƒํ•˜๊ณ  "๋กœ๊ทธ ํ™•์ธ" ์˜์—ญ์—์„œ ๋กœ๊ทธ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:group id="" style="margin-bottom: 15px;"> <w2:autoComplete allOption="" autoFocus="true" chooseOption="true" chooseOptionLabel="AutoComplete 3" class="" delimiter=" - " displayMode="label delim value" editType="select" id="acb2" ref="" search="start" style="width: 150px;" submenuSize="auto" useKeywordHighlight="false" useLocale="false" ev:onviewchange="scwin.acb2_onviewchange"> <w2:choices> <w2:itemset nodeset="data:dlt_list"> <w2:label ref="City"></w2:label> <w2:value ref="Code"></w2:value> </w2:itemset> </w2:choices> </w2:autoComplete> </xf:group> <xf:group class="gvwbox" id="" style=""></xf:group> <xf:group id="" style="margin-bottom: 15px;"> <w2:autoComplete allOption="" autoFocus="true" chooseOption="true" chooseOptionLabel="AutoComplete 4" class="" delimiter=" - " displayMode="label delim value" editType="select" id="acb_onviewchange" ref="" search="start" style="width: 150px;" submenuSize="auto" useKeywordHighlight="false" useLocale="false" displayModeSync="true" searchTarget="both" ev:onviewchange="scwin.acb_onviewchange_onviewchange"> <w2:choices> <w2:itemset nodeset="data:dlt_list"> <w2:label ref="City"></w2:label> <w2:value ref="Code"></w2:value> </w2:itemset> </w2:choices> </w2:autoComplete> </xf:group> </xf:group> </xf:group><xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_th_style" id=""> <w2:span class="mr_def txt_blue" id="" label="๋กœ๊ทธ ํ™•์ธ" style=""></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00279.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[DataList] ์ปฌ๋Ÿผ ๋ฐ์ดํ„ฐ์— ๋‘ ๋ฒˆ์งธ ํ•„ํ„ฐ ์ ์šฉ ์‹œ ํ•ฉ์ง‘ํ•ฉ ๋˜๋Š” ๊ต์ง‘ํ•ฉ ์ ์šฉํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230627" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column id="price" name="์ •๊ฐ€" dataType="text"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column></w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { // DataList์— ์ดˆ๊ธฐ ๋ฐ์ดํ„ฐ ํ• ๋‹น scwin.initData(); }; /** * DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ */ scwin.initData = function () { // DataList 'dlt_books_1'์— ๋ฐ์ดํ„ฐ ํ• ๋‹นํ•˜๊ธฐ let data = [ { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "categoryLabel": "์ธ๋ฌธ", "price": "18000" }, { "label": "์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค", "categoryLabel": "์ž๊ธฐ๊ณ„๋ฐœ", "price": "17800" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "17600" }, { "label": "๋งŒ์ผ ๋‚ด๊ฐ€ ์ธ์ƒ์„ ๋‹ค์‹œ ์‚ฐ๋‹ค๋ฉด", "categoryLabel": "์ธ๋ฌธ", "price": "17200" }, { "label": "์ธ์ƒ ์ˆ˜์—…", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "18000" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "categoryLabel": "์ธ๋ฌธ", "price": "16000" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "17800" }, { "label": "๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)", "categoryLabel": "์—ญ์‚ฌ/๋ฌธํ™”", "price": "28900" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "categoryLabel": "์†Œ์„ค", "price": "14000" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "categoryLabel": "์ธ๋ฌธ", "price": "15800" }, { "label": "์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด", "price": "15000" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "categoryLabel": "์†Œ์„ค", "price": "14500" } ]; dlt_books_1.setJSON(data); // DataList 'dlt_books_1'์˜ ๋ชจ๋“  ํ•„ํ„ฐ ํ•ด์ œํ•˜๊ธฐ dlt_books_1.clearFilter(); }; /** * ๋ฒ„ํŠผ [DataList์˜ ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”] ํด๋ฆญ ์‹œ */ scwin.btn_initData_onclick = function (e) { scwin.initData(); }; /** * ๋ฒ„ํŠผ [1.1 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "row"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฌธ์ž์—ด๋กœ ๋ณ€๊ฒฝํ•œ ๋’ค ๋น„๊ต ์—ฐ์‚ฐ "===" ๋˜๋Š” ํ•จ์ˆ˜ "indexOf"๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "label"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = "์ธ์ƒ"; // ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด. jsnFilterOptions.exactMatch = false; // ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ์™€ ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด๊ณผ์˜ ์™„์ „ ์ผ์น˜ ์—ฌ๋ถ€. ํ•จ์ˆ˜ "indexOf"๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด. ์ตœ์ดˆ ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "and"๋กœ ํ• ๋‹น. // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# 1.1 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ | ํ•„ํ„ฐ ์กฐ๊ฑด "; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(jsnFilterOptions, null, "\t"), txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ๋ฒ„ํŠผ [1.2 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๋Š” ๊ฒฝ์šฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "row"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฌธ์ž์—ด๋กœ ๋ณ€๊ฒฝํ•œ ๋’ค ๋น„๊ต ์—ฐ์‚ฐ "===" ๋˜๋Š” ํ•จ์ˆ˜ "indexOf"๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "categoryLabel"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = "์ธ๋ฌธ"; // ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด. jsnFilterOptions.exactMatch = true; // ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ์™€ ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด๊ณผ์˜ ์™„์ „ ์ผ์น˜ ์—ฌ๋ถ€. ๋น„๊ต ์—ฐ์‚ฐ "==="๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด์œผ๋กœ ๊ต์ง‘ํ•ฉ ์ ์šฉ. ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ๋ฅผ ๋Œ€์ƒ์œผ๋กœ ๊ฒ€์ƒ‰ํ•ฉ๋‹ˆ๋‹ค. // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# 1.2 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๋Š” ๊ฒฝ์šฐ | ํ•„ํ„ฐ ์กฐ๊ฑด "; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(jsnFilterOptions, null, "\t"), txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ๋ฒ„ํŠผ [2.1 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam2_1_onclick = function (e) { // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ํ•ด์ œํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.clearFilter(); // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "row"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฌธ์ž์—ด๋กœ ๋ณ€๊ฒฝํ•œ ๋’ค ๋น„๊ต ์—ฐ์‚ฐ "===" ๋˜๋Š” ํ•จ์ˆ˜ "indexOf"๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "label"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = "์ธ์ƒ"; // ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด. jsnFilterOptions.exactMatch = false; // ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ์™€ ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด๊ณผ์˜ ์™„์ „ ์ผ์น˜ ์—ฌ๋ถ€. ํ•จ์ˆ˜ "indexOf"๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.condition = "and"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด. ์ตœ์ดˆ ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ๊ฒฝ์šฐ "and"๋กœ ํ• ๋‹น. // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# 2.1 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ | ํ•„ํ„ฐ ์กฐ๊ฑด "; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(jsnFilterOptions, null, "\t"), txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * ๋ฒ„ํŠผ [2.2 OR ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๋Š” ๊ฒฝ์šฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam2_2_onclick = function (e) { // ํ•„ํ„ฐ ์กฐ๊ฑด์ด ๋‹ด๊ธด JSON let jsnFilterOptions = {}; jsnFilterOptions.type = "row"; // ๊ฒ€์ƒ‰ ๋ฐฉ์‹. ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ๋ฅผ ๋ฌธ์ž์—ด๋กœ ๋ณ€๊ฒฝํ•œ ๋’ค ๋น„๊ต ์—ฐ์‚ฐ "===" ๋˜๋Š” ํ•จ์ˆ˜ "indexOf"๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.colIndex = "categoryLabel"; // DataList์˜ ์ปฌ๋Ÿผ ID ๋˜๋Š” ์ปฌ๋Ÿผ Index. ๊ฒ€์ƒ‰ ๋Œ€์ƒ. jsnFilterOptions.key = "์ธ๋ฌธ"; // ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด. jsnFilterOptions.exactMatch = true; // ๊ฒ€์ƒ‰ ๋Œ€์ƒ ๋ฐ์ดํ„ฐ์™€ ๊ฒ€์ƒ‰ ๋ฌธ์ž์—ด๊ณผ์˜ ์™„์ „ ์ผ์น˜ ์—ฌ๋ถ€. ๋น„๊ต ์—ฐ์‚ฐ "==="๋กœ ๊ฒ€์ƒ‰. jsnFilterOptions.condition = "or"; // ๊ธฐ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€์˜ ๋ณ‘ํ•ฉ ์กฐ๊ฑด์œผ๋กœ ํ•ฉ์ง‘ํ•ฉ ์ ์šฉ. ์ด๋ฏธ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€ ์›๋ณธ ๋ฐ์ดํ„ฐ๋ฅผ ๋Œ€์ƒ์œผ๋กœ ๊ฒ€์ƒ‰ํ•œ ๋ฐ์ดํ„ฐ๊ฐ€ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค. // DataList 'dlt_books_1'์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•ฉ๋‹ˆ๋‹ค. dlt_books_1.setColumnFilter(jsnFilterOptions); // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = "# 2.2 OR ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๋Š” ๊ฒฝ์šฐ | ํ•„ํ„ฐ ์กฐ๊ฑด "; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(jsnFilterOptions, null, "\t"), txa_log, false); console.log(strLog); console.log(jsnFilterOptions); }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { //textarea value๋ฅผ ๋นˆ๋ฌธ์ž์—ด๋กœ ํ• ๋‹น. txa_log.setValue(""); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="DataList์˜ ์ปฌ๋Ÿผ ๋ฐ์ดํ„ฐ์— ํ•„ํ„ฐ๋ฅผ ์ ์šฉํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ด ์˜ˆ์ œ๋Š” ํ•จ์ˆ˜ 'setColumnFilter'์˜ ์ฒซ ๋ฒˆ์งธ ์ธ์ž์˜ ์†์„ฑ 'condition' ์„ค์ • ๊ฐ’์— ๋”ฐ๋ฅธ ๊ฒฐ๊ณผ ๊ฐ’์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox escape="false" id="" label="์†์„ฑ 'condition' ์„ค์ • ๊ฐ’์— ๋”ฐ๋ฅธ ๋™์ž‘ ๋ฐฉ์‹์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- &quot;and&quot; : ๊ต์ง‘ํ•ฉ์œผ๋กœ, ์ด๋ฏธ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€ ๋ณ‘ํ•ฉํ•˜๋Š” ์กฐ๊ฑด์ž…๋‹ˆ๋‹ค.&lt;br/&gt;- &quot;or&quot; : ํ•ฉ์ง‘ํ•ฉ์œผ๋กœ, ์ด๋ฏธ ์ ์šฉ๋œ ํ•„ํ„ฐ ๋ฐ์ดํ„ฐ์™€ ๋ณ‘ํ•ฉํ•˜๋Š” ์กฐ๊ฑด์ž…๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" id="" label="ํ•จ์ˆ˜ ํ˜ธ์ถœ ๋‹จ์œ„๋กœ ๋ฒ„ํŠผ์„ ๊ตฌ์„ฑํ•˜์˜€์Šต๋‹ˆ๋‹ค.&lt;br/&gt;์ˆœ์„œ์— ๋งž๊ฒŒ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ GridView์˜ ์ถœ๋ ฅ ๊ฒฐ๊ณผ๋ฅผ ํ™•์ธํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๋˜ํ•œ '๋กœ๊ทธ ํ™•์ธ' ์˜์—ญ๊ณผ ๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž๋„๊ตฌ์˜ ์ฝ˜์†”์— ํ•„ํ„ฐ ์กฐ๊ฑด์ด ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค." style="" escape="false"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style no_padding" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" disabled="" escape="false" ev:onclick="scwin.btn_initData_onclick" id="btn_initData" style="" type="button"> <xf:label><![CDATA[DataList์˜ ๋ฐ์ดํ„ฐ ์ดˆ๊ธฐํ™”]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="AND ์กฐ๊ฑด + AND ์กฐ๊ฑด" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[1.1 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[1.2 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๋Š” ๊ฒฝ์šฐ]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="AND ์กฐ๊ฑด + OR ์กฐ๊ฑด" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam2_1_onclick" id="btn_exam2_1" style="" type="button"> <xf:label><![CDATA[2.1 AND ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋„์„œ๋ช…'์˜ ๊ฐ’์— '์ธ์ƒ'์ด ํฌํ•จ๋œ ๊ฒฝ์šฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam2_2_onclick" id="btn_exam2_2" style="" type="button"> <xf:label><![CDATA[2.2 OR ์กฐ๊ฑด - ์ปฌ๋Ÿผ '๋ถ„๋ฅ˜'์˜ ๊ฐ’์— '์ธ๋ฌธ'๊ณผ ์ผ์น˜ํ•˜๋Š” ๊ฒฝ์šฐ]]></xf:label> </xf:trigger> </xf:group> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="๊ฒฐ๊ณผ ํ™•์ธ์šฉ GridView" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="" initFixedHeightByRowNum="4" readOnly="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="4"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column4" inputType="text" value="์ •๊ฐ€" width="50"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="price" inputType="text" value="" width="50"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group id="" class="example_div_th_style"> <w2:span label="๋กœ๊ทธ ํ™•์ธ" style="" id="" class="mr_def txt_blue"></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00292.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[TabControl] ์„ ํƒ๋œ ํƒญ์˜ ID ๋˜๋Š” Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date=" 20230713" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[scwin.onpageload = function () { // TabControl 'tac_exam1'์˜ ๋‘๋ฒˆ์งธ ํƒญ์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. tac_exam1.setSelectedTabIndex(1); }; /** * ๋ฒ„ํŠผ [์„ ํƒ๋œ ํƒญ์˜ ID ๋ฐ˜ํ™˜๋ฐ›๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // TabControl 'tac_exam1'์˜ ์„ ํƒ๋œ ํƒญ์˜ ID๋ฅผ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = tac_exam1.getSelectedTabID(); // ๋ฐ˜ํ™˜ ๊ฐ’ ์˜ˆ์‹œ) 'tabs2' alert("getSelectedTabID: " + result); console.log("getSelectedTabID: ", result); }; /** * ๋ฒ„ํŠผ [์„ ํƒ๋œ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // TabControl 'tac_exam1'์˜ ์„ ํƒ๋œ ํƒญ์˜ Index๋ฅผ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = tac_exam1.getSelectedTabIndex(); // ๋ฐ˜ํ™˜ ๊ฐ’ ์˜ˆ์‹œ) 1 alert("getSelectedTabIndex: " + result); console.log("getSelectedTabIndex: ", result); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='TabControl์˜ ์„ ํƒ๋œ ํƒญ์˜ ID ๋˜๋Š” ํƒญ์˜ Index๋ฅผ ๋ฐ˜ํ™˜๋ฐ›๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ํ•จ์ˆ˜๋ฅผ ํ†ตํ•ด ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- getSelectedTabID: ์„ ํƒ๋œ ํƒญ์˜ ID๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;- getSelectedTabIndex: ์„ ํƒ๋œ ํƒญ์˜ Index๋ฅผ ๋ฐ˜ํ™˜ํ•ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group id="" style="" class=""></xf:group> <xf:group class="example_div_tb_style_wrap mw600" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[์„ ํƒ๋œ ํƒญ์˜ ID ๋ฐ˜ํ™˜๋ฐ›๊ธฐ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[์„ ํƒ๋œ ํƒญ์˜ Index ๋ฐ˜ํ™˜๋ฐ›๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class=""> <w2:tabControl confirmTrueAction="exist" confirmFalseAction="new" useTabKeyOnly="true" tabScroll="" useMoveNextTabFocus="false" useConfirmMessage="false" alwaysDraw="false" style="position: relative;height: 120px;" id="tac_exam1" class=""> <w2:tabs disabled="false" style="width:70px;height:30px;" id="tabs1" label="TAB1"></w2:tabs> <w2:tabs disabled="false" style="width:70px;height:30px;" id="tabs2" label="TAB2"></w2:tabs> <w2:tabs disabled="false" style="width:70px;height:30px" id="tabs3" label="TAB3"></w2:tabs> <w2:content alwaysDraw="false" style="min-height:30px;" id="content1"> <w2:textbox style="font-size: 1.2em;padding: 6px;color: steelblue;font-weight: bold;" id="" label="TAB1 CONTENT"></w2:textbox> </w2:content> <w2:content alwaysDraw="false" style="min-height:30px;" id="content2"> <w2:textbox style="font-size: 1.2em;padding: 6px;color: salmon;font-weight: bold;" id="" label="TAB2 CONTENT"></w2:textbox> </w2:content> <w2:content alwaysDraw="false" style="height:90px" id="content3"> <w2:textbox style="font-size: 1.2em;padding: 6px;color: forestgreen;font-weight: bold;" id="" label="TAB3 CONTENT"></w2:textbox> </w2:content> </w2:tabControl> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00286.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์—ฐ์†์œผ๋กœ ๋ฐ˜๋ณต๋˜๋Š” ์…€ ๋ฐ์ดํ„ฐ์˜ ๋ณ‘ํ•ฉ ๊ธฐ๋Šฅ ๋น„๊ตํ•˜๊ธฐ" meta_type="๋ฉ”์ธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230710" meta_user="InswaveSystems"></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute="" getMatchedFromAllData="false"> <w2:columnInfo> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <categoryLabel><![CDATA[์†Œ์„ค]]></categoryLabel> <label><![CDATA[์ฑ…๋“ค์˜ ๋ถ€์—Œ]]></label> </w2:row> <w2:row> <categoryLabel><![CDATA[์†Œ์„ค]]></categoryLabel> <label><![CDATA[๋ถˆํŽธํ•œ ํŽธ์˜์ ]]></label> </w2:row> <w2:row> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> <label><![CDATA[๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค]]></label> </w2:row> <w2:row> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> <label><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></label> </w2:row> <w2:row> <categoryLabel><![CDATA[์ธ๋ฌธ]]></categoryLabel> <label><![CDATA[๋ฌด์—‡์ด ์˜ณ์€๊ฐ€]]></label> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="GridView์˜ ์…€์˜ ๋ฐ์ดํ„ฐ๊ฐ€ ์—ฐ์†์œผ๋กœ ๋ฐ˜๋ณต๋˜๋Š” ๊ฒฝ์šฐ ๋ณ‘ํ•ฉํ•˜๋Š” ๊ธฐ๋Šฅ์„ ๋น„๊ตํ•œ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋ณ‘ํ•ฉ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜๋Š” ๋ฐฉ์‹์€ ๋‘ ๊ฐ€์ง€๋กœ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- [๋ฐ”๋”” ์ปฌ๋Ÿผ ์†์„ฑ] colMerge : ๋ฐ˜๋ณต๋˜๋Š” TD์˜ ๋ฐ์ดํ„ฐ๋ฅผ ๋นˆ ๋ฌธ์ž์—ด๋กœ ํ• ๋‹นํ•˜๊ณ  ์„ ์„ ์ œ๊ฑฐํ•˜์—ฌ ๋ณ‘ํ•ฉ ํ‘œ์‹œ. ์ปฌ๋Ÿผ ๋‚ด์—์„œ๋งŒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;- [GridView ์†์„ฑ] mergeCells : HTML TD์˜ ์†์„ฑ 'rowspan' ๋˜๋Š” 'colspan'์„ ์‚ฌ์šฉํ•˜์—ฌ ๋ณ‘ํ•ฉ ํ‘œ์‹œ." style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ณ‘ํ•ฉ ๊ธฐ๋Šฅ ๋ฏธ์„ค์ •" style=""> </w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="" initFixedHeightByRowNum="4" keepDefaultColumnWidth="true" readOnly="true" rowNumVisible="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="all"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="body column '๋ถ„๋ฅ˜'์˜ ์†์„ฑ 'colMerge'์„ 'true'๋กœ ์ง€์ •" style=""> </w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="grd_exam_1" initFixedHeightByRowNum="4" keepDefaultColumnWidth="true" readOnly="true" rowNumVisible="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="all"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70" colMerge="true"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="GridView์˜ ์†์„ฑ 'mergeCells'์„ 'bycol'๋กœ ์ง€์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="lastColumn" autoFitMinWidth="220" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="grd_exam_2" initFixedHeightByRowNum="4" keepDefaultColumnWidth="true" readOnly="true" rowNumVisible="true" rowNumWidth="26" style="height:60px;" tooltipDisplay="true" visibleRowNum="all" mergeCells="bycol" mergeCol="categoryLabel"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column5" inputType="text" value="๋ถ„๋ฅ˜" width="70"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00053.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="DataList์™€ GridView์˜ CUD API ์†๋„ ๋น„๊ต"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList id="dlt_Member" saveRemovedData="true" ev:ondataload="scwin.dlt_Member_ondataload" ev:oncelldatachange=""> <w2:columnInfo> <w2:column id="EMP_CD" name="์‚ฌ๋ฒˆ" dataType="number"></w2:column> <w2:column id="EMP_NM" name="์„ฑ๋ช…" dataType="text"></w2:column> <w2:column id="GENDER_CD" name="์„ฑ๋ณ„" dataType="text"></w2:column> <w2:column id="JOIN_DATE" name="์ž…์‚ฌ์ผ" dataType="text"></w2:column> <w2:column id="POSITION_CD" name="์ง์œ„" dataType="text"></w2:column> <w2:column id="DUTY_CD" name="์ง์ฑ…" dataType="text"></w2:column> <w2:column id="ROLE_CD" name="์—ญํ• " dataType="text"></w2:column> <w2:column id="ASSIGNED_TASK" name="์—…๋ฌด" dataType="text"></w2:column> <w2:column id="EMAIL" name="์ด๋ฉ”์ผ" dataType="text"></w2:column> <w2:column id="ZIP_CD" name="์šฐํŽธ๋ฒˆํ˜ธ" dataType="text"></w2:column> <w2:column id="ADDRESS1" name="์ฃผ์†Œ1" dataType="text"></w2:column> <w2:column id="ADDRESS2" name="์ฃผ์†Œ2" dataType="text"></w2:column> <w2:column id="IMAGE_PATH" name="์ด๋ฏธ์ง€ ๊ฒฝ๋กœ" dataType="text"></w2:column> <w2:column id="CREATED_DATE" name="์ž…๋ ฅ์ผ" dataType="text"></w2:column> <w2:column id="UPDATED_DATE" name="์ˆ˜์ •์ผ" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList id="dlt_CmCode01"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[01]]></CODE_CD> <CODE_NM><![CDATA[์ž„์›]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์›]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[01]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[ํ˜‘๋ ฅ]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode02"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[์ด์‚ฌ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[ํŒ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[08]]></CODE_CD> <CODE_NM><![CDATA[๋ถ€์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[์ฐจ์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[05]]></CODE_CD> <CODE_NM><![CDATA[๊ณผ์žฅ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[06]]></CODE_CD> <CODE_NM><![CDATA[๋Œ€๋ฆฌ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[02]]></GRP_CD> <CODE_CD><![CDATA[07]]></CODE_CD> <CODE_NM><![CDATA[์‚ฌ์›]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode19"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[01]]></CODE_CD> <CODE_NM><![CDATA[PM]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[02]]></CODE_CD> <CODE_NM><![CDATA[PL]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[03]]></CODE_CD> <CODE_NM><![CDATA[๋ถ„์„/์„ค๊ณ„]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[04]]></CODE_CD> <CODE_NM><![CDATA[๊ฐœ๋ฐœ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[05]]></CODE_CD> <CODE_NM><![CDATA[ํผ๋ธ”๋ฆฌ์…”]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[19]]></GRP_CD> <CODE_CD><![CDATA[06]]></CODE_CD> <CODE_NM><![CDATA[์ปจ์„คํŒ…]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_CmCode101"> <w2:columnInfo> <w2:column id="GRP_CD" name="GRP_CD" dataType="text"></w2:column> <w2:column id="CODE_CD" name="CODE_CD" dataType="text"></w2:column> <w2:column id="CODE_NM" name="CODE_NM" dataType="text"></w2:column> </w2:columnInfo> <w2:data xmlns="" use="true"> <w2:row> <GRP_CD><![CDATA[101]]></GRP_CD> <CODE_CD><![CDATA[M]]></CODE_CD> <CODE_NM><![CDATA[๋‚จ]]></CODE_NM> </w2:row> <w2:row> <GRP_CD><![CDATA[101]]></GRP_CD> <CODE_CD><![CDATA[F]]></CODE_CD> <CODE_NM><![CDATA[์—ฌ]]></CODE_NM> </w2:row> </w2:data> </w2:dataList> <w2:dataList id="dlt_execLog" baseNode="list" saveRemovedData="true" repeatNode="map"> <w2:columnInfo> <w2:column id="desc" name="์‹คํ–‰ํ•œ API" dataType="text"></w2:column> <w2:column id="timeTaken" name="์†Œ์š” ์‹œ๊ฐ„" dataType="text"></w2:column> <w2:column id="startTime" name="์‹œ์ž‘ ์‹œ๊ฐ" dataType="text"></w2:column> <w2:column id="type" name="ํƒ€์ž… ๊ณ ์œ ๊ฐ’" dataType="text"></w2:column> <w2:column id="typeNm" name="ํƒ€์ž…๋ช…" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> <xf:submission id="sbm_getUserData" ref="" target='data:array,{"id":"dlt_Member","key":"dlt_Member"}' action="/data/sampleData/largeData/dlt_Member_11X2000_array.json" method="post" mediatype="application/json" encoding="UTF-8" instance="" replace="" errorHandler="" customHandler="" mode="asynchronous" processMsg="" ev:submitdone="" ev:submit="" ev:submiterror="" abortTrigger=""> </xf:submission> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { $p.executeSubmission("sbm_getUserData"); }; /** * dlt_Member ondataload ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ */ scwin.dlt_Member_ondataload = function () { //์‚ฌ๋ฒˆ์ˆœ์œผ๋กœ ์˜ค๋ฆ„์ฐจ์ˆœ ์ •๋ ฌ this.sort("EMP_CD", 0); }; /** * ๋กœ๊ทธ ์ถœ๋ ฅ์šฉ ํ•จ์ˆ˜ */ scwin.fn_getLogDataObj = function (e) { var arrTmpDate = ($p.getCurrentServerDate("yyyyMMdd-HHmmss")).split("-"); return { "strCurDate": arrTmpDate[0], "strStartTime": arrTmpDate[1], "startDate": new Date(), "endDate": null }; }; /** * ๋ฐ˜๋ณตํ•  ํ–‰์˜ ์ˆ˜ ์ž…๋ ฅ ๊ฐ’ ๊ฒ€์ฆ */ scwin.fn_getTotCount = function () { var totCount = ui_rowCount.getValue(); if (!totCount) { alert("๋ฐ˜๋ณตํ•  ํ–‰์˜ ์ˆ˜๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”"); ui_rowCount.focus(); return 0; } return totCount; }; //insertRow ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_insertRow_onclick = function (e) { var idx, logDefData = scwin.fn_getLogDataObj(), totCount = scwin.fn_getTotCount(); if (!totCount) { return; } for (let i = 1; i <= totCount; i++) { idx = dlt_Member.insertRow(); dlt_Member.setCellData(idx, "EMP_NM", "inserRow" + i); dlt_Member.setCellData(idx, "GENDER_CD", "M"); dlt_Member.setCellData(idx, "ROLE_CD", "03"); dlt_Member.setCellData(idx, "JOIN_DATE", logDefData.strCurDate); } logDefData.endDate = new Date(); scwin.fn_printLog(1, logDefData, totCount); }; //insertJSON ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_insertJSON_onclick = function (e) { var idx, arrData = [], logDefData = scwin.fn_getLogDataObj(), totCount = scwin.fn_getTotCount(); if (!totCount) { return; } for (let i = 1; i <= totCount; i++) { arrData.push({ "EMP_NM": "insertJSON" + i, "GENDER_CD": "F", "ROLE_CD": "03", "JOIN_DATE": logDefData.strCurDate }); } idx = dlt_Member.getRowCount(); dlt_Member.insertJSON(idx, arrData); ui_grid.setFocusedCell(idx, 0, false); logDefData.endDate = new Date(); scwin.fn_printLog(2, logDefData, totCount); }; //insertRow(BroadCast) ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_insertRowBroadCast_onclick = function (e) { var idx, logDefData = scwin.fn_getLogDataObj(), totCount = scwin.fn_getTotCount(); if (!totCount) { return; } dlt_Member.setBroadcast(false); for (let i = 1; i <= totCount; i++) { idx = dlt_Member.insertRow(); dlt_Member.setCellData(idx, "EMP_NM", "inserRow" + i); dlt_Member.setCellData(idx, "GENDER_CD", "M"); dlt_Member.setCellData(idx, "ROLE_CD", "03"); dlt_Member.setCellData(idx, "JOIN_DATE", logDefData.strCurDate); } dlt_Member.setBroadcast(true); // data์ ์šฉ์ด ๋๋‚œํ›„ ํ™”๋ฉด์— ๊ฐฑ์‹ ํ•œ๋‹ค. logDefData.endDate = new Date(); scwin.fn_printLog(1, logDefData, totCount); }; //removeRow ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_removeRow_onclick = function (e) { var i, idxArr = [], idxArrLen, logDefData = scwin.fn_getLogDataObj(), totCount = scwin.fn_getTotCount(); if (!totCount) { return; } //์‚ญ์ œํ•  index๊ฐ€ ๋‹ด๊ธด array ์ƒ์„ฑ for (i = 0; i < totCount; i++) { idxArr[i] = i; } for (i = totCount; i >= 0; i--) { dlt_Member.removeRow(idxArr[i]); } logDefData.endDate = new Date(); scwin.fn_printLog(3, logDefData, totCount); }; //removeRows ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_removeRows_onclick = function (e) { var i, idxArr = [], logDefData = scwin.fn_getLogDataObj(), totCount = scwin.fn_getTotCount(); if (!totCount) { return; } //์‚ญ์ œํ•  index๊ฐ€ ๋‹ด๊ธด array ์ƒ์„ฑ for (i = 0; i < totCount; i++) { idxArr[i] = i; } dlt_Member.removeRows(idxArr); logDefData.endDate = new Date(); scwin.fn_printLog(4, logDefData, totCount); }; //setCellData ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_setCellData_onclick = function (e) { var idx = dlt_Member.getRowCount() - 1, logDefData = scwin.fn_getLogDataObj(), totCount = scwin.fn_getTotCount(); if (!totCount) { return; } for (let i = 0; i < totCount; i++) { dlt_Member.setCellData(i, "EMP_CD", 80000000 + i + 1); dlt_Member.setCellData(i, "EMP_NM", "setCellData"); dlt_Member.setCellData(i, "GENDER_CD", "M"); dlt_Member.setCellData(i, "JOIN_DATE", logDefData.strCurDate); dlt_Member.setCellData(i, "POSITION_CD", "02"); dlt_Member.setCellData(i, "DUTY_CD", "02"); dlt_Member.setCellData(i, "ROLE_CD", "02"); dlt_Member.setCellData(i, "EMAIL", "[email protected]"); dlt_Member.setCellData(i, "ASSIGNED_TASK", "๋ฐฐ์ • ํ•„์š”"); dlt_Member.setCellData(i, "CREATED_DATE", logDefData.strCurDate); dlt_Member.setCellData(i, "UPDATED_DATE", logDefData.strCurDate); } logDefData.endDate = new Date(); scwin.fn_printLog(5, logDefData, totCount); }; //setRowJSON ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ scwin.btn_setRowJSON_onclick = function (e) { var logDefData = scwin.fn_getLogDataObj(), totCount = scwin.fn_getTotCount(); if (!totCount) { return; } for (let i = 0; i < totCount; i++) { tmpData = { "EMP_CD": 700000000 + i + 1, "EMP_NM": "setRowJSON", "GENDER_CD": "F", "JOIN_DATE": logDefData.strCurDate, "POSITION_CD": "04", "DUTY_CD": "04", "ROLE_CD": "04", "EMAIL": "[email protected]", "ASSIGNED_TASK": "๋ฐฐ์ • ํ•„์š”", "CREATED_DATE": logDefData.strCurDate, "UPDATED_DATE": logDefData.strCurDate }; dlt_Member.setRowJSON(0, tmpData, true); } logDefData.endDate = new Date(); scwin.fn_printLog(6, logDefData, totCount); }; /** * [getCellData] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_getCellData_onclick = function (e) { var logDefData = scwin.fn_getLogDataObj(), tmpStr = "", totCount = scwin.fn_getTotCount(); if (!totCount) { return; } for (let i = 0; i < totCount; i++) { tmpStr += dlt_Member.getCellData(i, "EMP_NM"); tmpStr += dlt_Member.getCellData(i, "EMP_CD"); tmpStr += dlt_Member.getCellData(i, "EMAIL"); tmpStr += dlt_Member.getCellData(i, "GENDER_CD"); tmpStr += dlt_Member.getCellData(i, "JOIN_DATE"); tmpStr += dlt_Member.getCellData(i, "UPDATE_DATE"); } //console.log(tmpStr); logDefData.endDate = new Date(); scwin.fn_printLog(7, logDefData, totCount); }; /** * [getRowJSON] ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ */ scwin.btn_getRowJSON_onclick = function (e) { var logDefData = scwin.fn_getLogDataObj(), tmpData, tmpStr = "", totCount = scwin.fn_getTotCount(); if (!totCount) { return; } for (let i = 0; i < totCount; i++) { tmpData = dlt_Member.getRowJSON(i); tmpStr += tmpData.EMP_NM; tmpStr += tmpData.EMP_CD; tmpStr += tmpData.EMAIL; tmpStr += tmpData.GENDER_CD; tmpStr += tmpData.JOIN_DATE; tmpStr += tmpData.UPDATE_DATE; } //console.log(tmpStr); logDefData.endDate = new Date(); scwin.fn_printLog(8, logDefData, totCount); }; /** * API๋ณ„ ์‹คํ–‰ ๋กœ๊ทธ ์ถœ๋ ฅ */ scwin.fn_printLog = function (execType, defLogObj, rowCount) { var rowJSON = { "desc": "", "timeTaken": defLogObj.endDate - defLogObj.startDate, "startTime": defLogObj.strStartTime, "type": execType }, lastIdx = dlt_execLog.getRowCount(); switch (execType) { case 1: rowJSON.desc = "insertRow " + rowCount + "ํ–‰"; rowJSON.typeNm = "insertRow"; break; case 2: rowJSON.desc = "insertJSON " + rowCount + "ํ–‰"; rowJSON.typeNm = "insertJSON"; break; case 3: rowJSON.desc = "removeRow " + rowCount + "ํ–‰"; rowJSON.typeNm = "removeRow"; break; case 4: rowJSON.desc = "removeRows " + rowCount + "ํ–‰"; rowJSON.typeNm = "removeRows"; break; case 5: rowJSON.desc = "setCellData " + rowCount + "ํ–‰"; rowJSON.typeNm = "setCellData"; break; case 6: rowJSON.desc = "setRowJSON " + rowCount + "ํ–‰"; rowJSON.typeNm = "setRowJSON"; break; case 7: rowJSON.desc = "getCellData " + rowCount + "ํ–‰"; rowJSON.typeNm = "getCellData"; break; case 8: rowJSON.desc = "getRowJSON " + rowCount + "ํ–‰"; rowJSON.typeNm = "getRowJSON"; break; default: return; } dlt_execLog.insertJSON(lastIdx, [rowJSON]); grd_log.setFocusedCell(lastIdx, 0); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="DataList์—์„œ ์ œ๊ณตํ•˜๋Š” insert, remove์— ๊ด€๋ จ๋œ method์˜ ์†๋„๋ฅผ ์ธก์ •ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;๊ฐ ๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ ๋กœ์ง์ด ์ˆ˜ํ–‰๋˜๋Š” ์‹œ๊ฐ„์„ ํ•˜๋‹จ์˜ ๊ทธ๋ฆฌ๋“œ๋ทฐ์—์„œ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ์‹œ์—ฐ์šฉ ์˜ˆ์ œ๋กœ ์˜ˆ์ œ ๊ฐ€์ด๋“œ ๋ฌธ์„œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <w2:textbox class="mb_def" id="" label="DataList์˜ API๋ณ„ ์†๋„ ์ธก์ • ์˜ˆ์‹œ" style="" tagname="h3"></w2:textbox> <xf:group class="mb_def_box" id="" style=""> <w2:span class="mr_def" id="" label="๋ฐ˜๋ณตํ•  ํ–‰์˜ ์ˆ˜ :" style=""></w2:span> <xf:input adjustMaxLength="false" dataType="number" ev:onviewchange="" id="ui_rowCount" initValue="100" style="width: 60px;display: inline;" type="number"> </xf:input> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_insertRow_onclick" id="btn_insertRow" style="width:130px;" type="button"> <xf:label><![CDATA[insertRow]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_insertJSON_onclick" id="btn_insertJSON" style="width:130px;" type="button"> <xf:label><![CDATA[insertJSON]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_insertRowBroadCast_onclick" id="btn_insertRowBroadCast" style="width:160px;" type="button"> <xf:label><![CDATA[insertRow(BroadCast)]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_removeRow_onclick" id="btn_removeRow" style="width:130px;" type="button"> <xf:label><![CDATA[removeRow]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" style="" class="mb_def_box nobottom"> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_removeRows_onclick" id="btn_removeRows" style="width:130px;" type="button"> <xf:label><![CDATA[removeRows]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_setCellData_onclick" id="btn_setCellData" style="width:130px;" type="button"> <xf:label><![CDATA[setCellData]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_setRowJSON_onclick" id="btn_setRowJSON" style="width:130px;" type="button"> <xf:label><![CDATA[setRowJSON]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_getCellData_onclick" id="btn_getCellData" style="width:130px;" type="button"> <xf:label><![CDATA[getCellData]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_getRowJSON_onclick" id="btn_getRowJSON" style="width:130px;" type="button"> <xf:label><![CDATA[getRowJSON]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class="gvwbox"> <w2:gridView scrollByColumnAdaptive="false" rowNumVisible="true" summaryAuto="false" useShiftKey="true" readOnly="true" scrollByColumn="false" summaryOnlyAuto="false" defaultCellHeight="26" applyAllColumnStyle="false" senseReader="false" dataList="data:dlt_Member" ev:onviewchange="" ignoreCellClick="false" style="height: 280px;margin-top: 10px;" autoFit="allColumn" id="ui_grid" visibleRowNum="10" class="gvw" ignoreToggleOnDisabled="false" autoFitMinWidth="750"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="70" inputType="text" style="" id="column29" value="์‚ฌ๋ฒˆ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" style="" id="column27" value="์„ฑ๋ช…" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="105" inputType="text" style="" id="column25" value="์„ฑ๋ณ„" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="114" inputType="text" style="" id="column23" value="์ž…์‚ฌ์ผ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" style="" id="column21" value="์ง์œ„" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" style="" id="column19" value="์ง์ฑ…" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="70" inputType="text" style="" id="column17" value="์—ญํ• " blockSelect="false" displayMode="label"> </w2:column> <w2:column width="175" inputType="text" style="" id="column13" value="์ด๋ฉ”์ผ" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" inputType="text" style="" id="EMP_CD" value="" blockSelect="false" displayMode="label"></w2:column> <w2:column width="70" inputType="text" style="" id="EMP_NM" value="" blockSelect="false" displayMode="label"></w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" chooseOption="true" width="105" inputType="select" style="" allOption="" id="GENDER_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode101"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column dataType="date" width="114" displayFormat="yyyy.MM.dd" inputType="text" style="" id="JOIN_DATE" value="" blockSelect="false" displayMode="label"> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" chooseOption="true" width="70" inputType="select" style="" allOption="" id="POSITION_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode02"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" chooseOption="true" width="70" inputType="select" style="" allOption="" id="DUTY_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode19"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column chooseOptionLabel="๋ฏธ์„ ํƒ" ref="" chooseOption="true" width="70" inputType="select" style="" allOption="" id="ROLE_CD" value="" blockSelect="false" displayMode="label"> <w2:choices> <w2:itemset nodeset="data:dlt_CmCode01"> <w2:label ref="CODE_NM"></w2:label> <w2:value ref="CODE_CD"></w2:value> </w2:itemset> </w2:choices> </w2:column> <w2:column width="175" inputType="text" style="" id="EMAIL" value="" blockSelect="false" displayMode="label"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> <w2:textbox class="mb_def" id="" label="API๋ณ„ ์‹คํ–‰ ๋กœ๊ทธ" style="" tagname="h3"></w2:textbox> <xf:group id="" class="gvwbox"> <w2:gridView scrollByColumnAdaptive="false" rowNumVisible="true" selectedRowColor="orange" summaryAuto="false" useShiftKey="true" readOnly="true" scrollByColumn="false" sortable="true" summaryOnlyAuto="false" focusMode="row" rowMouseOver="false" fixedColumnWithHidden="true" dataList="data:dlt_execLog" ignoreCellClick="false" style="height: 150px;" autoFit="allColumn" id="grd_log" useFilterList="false" visibleRowNum="5" class="gvw" ignoreToggleOnDisabled="false" autoFitMinWidth="570" defaultCellHeight="26"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="116" inputType="text" style="" id="column13" value="์‹คํ–‰ ํƒ€์ž…" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="227" inputType="text" style="" id="column10" value="ํ˜ธ์ถœ API " blockSelect="false" displayMode="label"> </w2:column> <w2:column width="109" inputType="text" style="" id="column12" value="์‹คํ–‰ ์‹œ๊ฐ" blockSelect="false" displayMode="label"> </w2:column> <w2:column width="109" inputType="text" style="" id="column3" value="์†Œ์š” ์‹œ๊ฐ„(ms)" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column textAlign="left" width="116" inputType="text" style="" id="typeNm" value="" blockSelect="false" displayMode="label"> </w2:column> <w2:column textAlign="left" width="227" inputType="text" style="height:20px" id="desc" blockSelect="false" displayMode="label"> </w2:column> <w2:column dataType="time" width="109" displayFormat="HH:mm:ss" inputType="text" style="height:20px" id="startTime" blockSelect="false" displayMode="label"> </w2:column> <w2:column textAlign="right" dataType="number" width="109" displayFormat="#,##0 ms" inputType="text" style="height:20px" id="timeTaken" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:gBody> <w2:subTotal targetColumnID="typeNm" style="" id="subTotal1"> <w2:row style="" id="row3"> <w2:column rowSpan="" expression="targetColValue() + ' (์ด ' +count('row_total') + '๊ฑด)'" textAlign="right" colSpan="3" width="452" inputType="expression" style="height:29px;" id="column18" value="" blockSelect="false" displayMode="label"> </w2:column> <w2:column expression="avg('timeTaken')" hidden="false" textAlign="right" dataType="number" width="109" displayFormat="#,###.#[round] ms" inputType="expression" style="height:27px" id="column19" value="" blockSelect="false" displayMode="label"> </w2:column> </w2:row> </w2:subTotal> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00047.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="ScheduleCalendar์— GridView๋ฅผ ํ™œ์šฉํ•˜์—ฌ ์ผ์ • ์ถ”๊ฐ€ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220706" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_calendar" saveRemovedData="true"> <w2:columnInfo> <w2:column id="from" name="์‹œ์ž‘์ผ" dataType="text"></w2:column> <w2:column id="to" name="์ข…๋ฃŒ์ผ" dataType="text"></w2:column> <w2:column id="title" name="์ผ์ •๋ช…" dataType="text"></w2:column> <w2:column id="validYN" name="์œ ํšจ์—ฌ๋ถ€" dataType="text"></w2:column> <w2:column id="errorMessage" name="์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="false"></w2:data> </w2:dataList> <w2:linkedDataList bind="dlt_calendar" id="ldt_view_schedualCalendar"> <w2:condition type="filter"><![CDATA[validYN=='Y']]></w2:condition> <w2:condition type="sort"><![CDATA[]]> </w2:condition> </w2:linkedDataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //ํ™”๋ฉด ๋กœ๋”ฉ ์‹œ ๋ฐ์ดํ„ฐ ํ• ๋‹น. scwin.setInitData(); }; /** * ํ˜„์žฌ์ผ ๊ธฐ์ค€ ์Šค์ผ€์ค„ ๋“ฑ๋ก */ scwin.setInitData = function () { var strCurDate; strCurDate = $p.getCurrentServerDate("yyyyMMdd"); //์ดˆ๊ธฐ ์Šค์ผ€์ค„ ๋“ฑ๋ก dlt_calendar.setJSON([ { "from": strCurDate, "to": strCurDate, "title": "์˜ค๋Š˜์€ ์นผํ‡ด", "validYN": "Y", "errorMessage": "", }, { "from": $p.dateAdd(strCurDate, 4), "to": $p.dateAdd(strCurDate, 8), "title": "์—ฌํ–‰", "validYN": "Y", "errorMessage": "", }, ]); }; scwin.btn_add_onclick = function (e) { var numIdx; numIdx = dlt_calendar.insertRow(); grd_schedule.setFocusedCell(numIdx, "title", true); }; scwin.btn_del_onclick = function (e) { var _focusIdx = grd_schedule.getFocusedRowIndex(); dlt_calendar.removeRow(_focusIdx); }; /** * grd_schedule์˜ oncellclick ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ */ scwin.grd_schedule_oncellclick = function (row, col, colId) { switch (colId) { case "btn_del": //์‚ญ์ œ ๋ฒ„ํŠผ ํด๋ฆญ ์‹œ ๋ฐ์ดํ„ฐ๋ฅผ ์ œ๊ฑฐํ•ฉ๋‹ˆ๋‹ค. dlt_calendar.removeRow(row); break; case "validYN": //๋“ฑ๋ก ์—ฌ๋ถ€ let jsnRowData = dlt_calendar.getRowJSON(row); if (jsnRowData.validYN === "N") { alert((jsnRowData.errorMessage || "์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.").replace(new RegExp("<br/>", "g"), "\n")); } break; default: break; } }; /** * grd_schedule์˜ onafteredit ์ด๋ฒคํŠธ ํ•ธ๋“ค๋Ÿฌ * ์ž…๋ ฅ๊ฐ’์˜ ์œ ํšจ์„ฑ์„ ์ฒดํฌํ•ฉ๋‹ˆ๋‹ค. */ scwin.grd_schedule_onafteredit = function (row, col, value) { var jsnData; var strMsg; var strValidYN; //์ˆ˜์ •์ด ์ผ์–ด๋‚œ ํ–‰์˜ json ๋ฐ์ดํ„ฐ ์ถ”์ถœ jsnData = dlt_calendar.getRowJSON(row); //์œ ํšจ์„ฑ ์ฒดํฌ - ์ดˆ๊ธฐ๊ฐ’ Y strValidYN = "Y"; //์˜ค๋ฅ˜ ์‹œ ๋ฉ”์‹œ์ง€ ์ฒ˜๋ฆฌ strMsg = ""; //์ผ์ •๋ช… ํ™•์ธ if (!jsnData.title) { strMsg += "- ์ผ์ •๋ช…์ด ๋ˆ„๋ฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค." + "<br/>"; strValidYN = "N"; } //์‹œ์ž‘์ผ๊ณผ ์ข…๋ฃŒ์ผ ์œ ํšจ์„ฑ ์ฒดํฌ let arrColInfo = [ { col: "from", label: "์‹œ์ž‘์ผ" }, { col: "to", label: "์ข…๋ฃŒ์ผ" }, ]; let i_max = arrColInfo.length; let isDateError = false; for (let i = 0; i < i_max; i++) { let item = arrColInfo[i]; let strDate = (jsnData[item.col]).replaceAll("-", ""); if (!strDate) { strMsg += "- " + item.label + "์ด ๋ˆ„๋ฝ๋˜์—ˆ์Šต๋‹ˆ๋‹ค." + "<br/>"; strValidYN = "N"; isDateError = true; } else { if (strDate.length != 8) { strMsg += "- " + item.label + "์€ yyyyMMdd ํ˜•์‹์œผ๋กœ ์ž…๋ ฅ๋˜์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ex)19450815" + "<br/>"; strValidYN = "N"; isDateError = true; } } jsnData[item.col] = strDate; } if (!isDateError) { let numDateDiff = $p.dateDiff(jsnData.from, jsnData.to); if (numDateDiff < 0) { strMsg += "- ์ข…๋ฃŒ์ผ์ด ์‹œ์ž‘์ผ๋ณด๋‹ค ๋น ๋ฆ…๋‹ˆ๋‹ค." + "<br/>"; strValidYN = "N"; } } jsnData.validYN = strValidYN; jsnData.errorMessage = strMsg; delete jsnData.rowStatus; dlt_calendar.setRowJSON(row, jsnData, true); }; scwin.grd_schedule_validYN_displayFormatter = function (argValue) { var returnValue; switch (argValue) { case "Y": returnValue = '<span style="color:blue;">์ •์ƒ</span>'; break; case "N": returnValue = '<span style="color:red;">์˜ค๋ฅ˜(์›์ธ ๋ณด๊ธฐ)</span>'; break; default: returnValue = ""; break; } return returnValue; }; /** * grd_schedule์˜ tooltipFormatter ํ•ธ๋“ค๋Ÿฌ */ scwin.grd_schedule_tooltipFormatter = function (argRow, argCol, argValue) { var returnValue = ""; //๊ทธ๋ฆฌ๋“œ ์ปฌ๋Ÿผ id๊ฐ€ validYN(๋“ฑ๋ก์—ฌ๋ถ€) ์ธ ๊ฒฝ์šฐ๋งŒ ์ฒ˜๋ฆฌ if (grd_schedule.getColumnID(argCol) == "validYN") { returnValue = dlt_calendar.getCellData(argRow, "errorMessage"); } return returnValue; }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="GridView์™€ ScheduleCalendar ์ปดํฌ๋„ŒํŠธ๋ฅผ ํ™œ์šฉํ•˜์—ฌ ๊ตฌ์„ฑํ•œ ํ™”๋ฉด ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋ฒ„ํŠผ[์ผ์ •์ถ”๊ฐ€]๋ฅผ ํด๋ฆญํ•˜๋ฉด GridView์— ์ผ์ •์„ ์ž…๋ ฅํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;์ž…๋ ฅํ•œ ์ผ์ •์ด ์œ ํšจํ•˜๋ฉด ScheduleCalendar์— ์ผ์ •์ด ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ์‹œ์—ฐ์šฉ ์˜ˆ์ œ๋กœ ์˜ˆ์ œ ๊ฐ€์ด๋“œ ๋ฌธ์„œ๊ฐ€ ํฌํ•จ๋˜์–ด ์žˆ์ง€ ์•Š์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> </xf:group> <xf:group class="ofh mb_def" id="" style=""> <xf:trigger class="btn_cm" disabled="" ev:onclick="scwin.btn_add_onclick" id="btn_add" style="" type="button"> <xf:label><![CDATA[์ผ์ • ์ถ”๊ฐ€]]></xf:label> </xf:trigger> </xf:group> <xf:group id="" class="gvwbox"> <w2:gridView tooltipFormatter="scwin.grd_schedule_tooltipFormatter" ev:oncellclick="scwin.grd_schedule_oncellclick" editModeEvent="onclick" scrollByColumnAdaptive="false" rowNumVisible="true" keepDefaultColumnWidth="true" rowNumHeaderValue="NO" scrollByColumn="false" defaultCellHeight="26" tooltipShowAlwaysColumns="validYN" tooltipDisplay="true" rowNumWidth="40" dataList="data:dlt_calendar" keyMoveEditMode="true" style="height: 80px;max-width: 900px;" autoFit="allColumn" ev:onafteredit="scwin.grd_schedule_onafteredit" id="grd_schedule" tooltipDisplayColumn="validYN" visibleRowNum="3" class="gvw" autoFitMinWidth="540"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column removeBorderStyle="false" width="150" inputType="text" style="" id="column3" value="์ผ์ •๋ช…" blockSelect="false" displayMode="label"> </w2:column> <w2:column removeBorderStyle="false" width="112" inputType="text" style="" id="column1" value="์‹œ์ž‘์ผ" blockSelect="false" displayMode="label" fixColumnWidth="true"> </w2:column> <w2:column removeBorderStyle="false" width="112" inputType="text" style="" id="column5" value="์ข…๋ฃŒ์ผ" blockSelect="false" displayMode="label" fixColumnWidth="true"> </w2:column> <w2:column width="96" inputType="text" style="" id="column6" value="๋“ฑ๋ก์—ฌ๋ถ€" displayMode="label" fixColumnWidth="true"> </w2:column> <w2:column width="60" inputType="text" style="" id="column8" value="์‚ญ์ œ" displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column textAlign="left" removeBorderStyle="false" width="150" inputType="text" id="title" blockSelect="false" displayMode="label"> </w2:column> <w2:column textAlign="left" removeBorderStyle="false" viewType="icon" width="112" inputType="calendar" id="from" blockSelect="false" displayMode="label"> </w2:column> <w2:column textAlign="left" removeBorderStyle="false" viewType="icon" width="112" inputType="calendar" id="to" blockSelect="false" displayMode="label"> </w2:column> <w2:column displayFormatter="scwin.grd_schedule_validYN_displayFormatter" width="96" inputType="text" readOnly="true" id="validYN" escape="false" displayMode="label" fixColumnWidth="true"> </w2:column> <w2:column width="60" inputType="button" style="" id="btn_del" class="" value="์‚ญ์ œ" displayMode="label" fixColumnWidth="true"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> <xf:group id="" style="" class="mb_def"> <w2:scheduleCalendar endColumn="to" defaultDate="" editable="false" selectable="false" headerRightBtn="true" locale="" ioFormat="yyyyMMdd" themeColumn="" titleColumn="title" startColumn="from" dataList="data:ldt_view_schedualCalendar" style="min-height: 500px;max-width: 900px;" id="shc_ex01" lang="ko" headerLeftBtn="true" idColumn="" headerTitle="true" includeScheduleEnd="true"> </w2:scheduleCalendar> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00090.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ๋ธŒ๋ผ์šฐ์ €์— ํ‘œํ˜„ํ•˜๋Š” ๋ฐฉ์‹ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220907" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column id="published_date" name="์ถœ๊ฐ„์ผ" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList ํ• ๋‹น dlt_books.setJSON([ { "book_name": "1. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "1. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "1. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "2. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "2. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "2. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "3. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "3. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "3. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "4. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "4. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "4. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "5. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "5. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "5. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "6. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "6. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "6. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "7. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "7. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "7. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "8. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "8. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "8. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "9. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "9. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "9. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" }, { "book_name": "10. ์ •๊ธ€๋งŒ๋ฆฌ", "price": "16500", "published_date": "20130701" }, { "book_name": "10. ๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "price": "16000", "published_date": "20220418" }, { "book_name": "10. ์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ", "price": "28000", "published_date": "20190826" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView๋ฅผ ๋ธŒ๋ผ์šฐ์ €์— ํ‘œํ˜„(Rendering)ํ•˜๋Š” ๋ฐฉ์‹์˜ ์„ค์ • ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ ์„ค์ •] WebSquare ๋ฐฉ์‹(ํ™”๋ฉด์— ๋…ธ์ถœ๋˜๋Š” ์˜์—ญ๋งŒ table๋กœ ์ถœ๋ ฅ)" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" style="height:120px;" visibleRowNum="4" visibleRowNumFix="true" rowNumVisible="true" rowNumWidth="26"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Native ๋ฐฉ์‹ (๋ฐ์ดํ„ฐ๋ฅผ table๋กœ ๋ชจ๋‘ ์ถœ๋ ฅ)" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" rowNumVisible="true" style="height:120px;" drawType="native" rowNumWidth="26"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" value="๋„์„œ๋ช…" width="178"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" value="์ •๊ฐ€" width="63"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="์ถœ๊ฐ„์ผ" width="83"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" textAlign="left" width="178"></w2:column> <w2:column dataType="number" displayFormat="#,###" displayMode="label" id="price" inputType="text" textAlign="right" width="63"> </w2:column> <w2:column dataType="date" displayFormat="yyyy-MM-dd" displayMode="label" id="published_date" inputType="text" width="83"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00084.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[CheckCombobox] ํŠน์ • ํ•ญ๋ชฉ ํ‘œ์‹œํ•˜์ง€ ์•Š๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220824" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="label" dataType="text"></w2:column> <w2:column id="code" name="code" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //DataList dlt_exam_code์— ๋ฐ์ดํ„ฐ ํ• ๋‹น dlt_exam_code.setJSON([ { "label": "A01", "code": "01" }, { "label": "A02", "code": "02" }, { "label": "A03", "code": "03" }, { "label": "A04", "code": "04" }, { "label": "A05", "code": "05" }, { "label": "A06", "code": "06" }, { "label": "A07", "code": "07" }, { "label": "A08", "code": "08" }, { "label": "A09", "code": "09" }, { "label": "A10", "code": "10" }, { "label": "A11", "code": "11" }, { "label": "A12", "code": "12" }, { "label": "A13", "code": "13" }, { "label": "A14", "code": "14" }, { "label": "A15", "code": "15" }, { "label": "A16", "code": "16" }, { "label": "A17", "code": "17" }, { "label": "A18", "code": "18" }, { "label": "A19", "code": "19" }, { "label": "A20", "code": "20" } ]); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="์ปดํฌ๋„ŒํŠธ ๋ชฉ๋ก์˜ ํ–‰์˜ ๊ฐœ์ˆ˜์™€ ์ตœ๋Œ€ ์—ด์˜ ๊ฐœ์ˆ˜์— ๋”ฐ๋Š” ์ถœ๋ ฅ ๋น„๊ต ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox&lt;br/&gt;visibleColMax="10" visibleRowNum="5"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox appearance="minimal" direction="auto" disabled="false" displayMode="label" id="" style="width: 150px;min-height:24px;" submenuSize="auto" visibleColMax="10" visibleRowNum="5"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='CheckCombobox&lt;br/&gt;visibleColMax="10" visibleRowNum="8"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:checkcombobox appearance="minimal" direction="auto" disabled="false" displayMode="label" id="" style="width: 150px;min-height:24px;" submenuSize="auto" visibleColMax="10" visibleRowNum="8"> <xf:choices> <xf:itemset nodeset="data:dlt_exam_code"> <xf:label ref="label"></xf:label> <xf:value ref="code"></xf:value> </xf:itemset> </xf:choices> </xf:checkcombobox> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00089.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ๋ฐ์ดํ„ฐ ๋ณต์‚ฌ - ์ผ๋ถ€ ๋ฌธ์ž์—ด ๋ณต์‚ฌํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220907" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="author" name="์ง€์€์ด"></w2:column> </w2:columnInfo> <w2:data use="true" xmlns=""> <w2:row> <book_name><![CDATA[๊ธฐ๋ถ„์ด ํƒœ๋„๊ฐ€ ๋˜์ง€ ์•Š๊ฒŒ]]></book_name> <author><![CDATA[๋ ˆ๋ชฌ์‹ฌ๋ฆฌ]]></author> </w2:row> <w2:row> <book_name><![CDATA[์–ด๋–ป๊ฒŒ ์ธ์ƒ์„ ์‚ด ๊ฒƒ์ธ๊ฐ€]]></book_name> <author><![CDATA[์‘ค๋ฆฐ]]></author> </w2:row> <w2:row> <book_name><![CDATA[์ข‹์€ ์‚ฌ๋žŒ์—๊ฒŒ๋งŒ ์ข‹์€ ์‚ฌ๋žŒ์ด๋ฉด ๋ผ]]></book_name> <author><![CDATA[๊น€์žฌ์‹]]></author> </w2:row> </w2:data> </w2:dataList> <w2:dataList baseNode="list" id="dlt_exam1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column dataType="text" id="published_date" name="์ถœ๊ฐ„์ผ"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row></w2:row> <w2:row></w2:row> <w2:row></w2:row> </w2:data> </w2:dataList> <w2:dataList baseNode="list" id="dlt_exam2" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="book_name" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> <w2:column dataType="text" id="published_date" name="์ถœ๊ฐ„์ผ"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row></w2:row> <w2:row></w2:row> <w2:row></w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ Cell ๋ฐ์ดํ„ฐ ์ค‘ ์ผ๋ถ€ ๋ฌธ์ž์—ด๋งŒ ๋ณต์‚ฌ(Ctrl+C)๋ฅผ ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋ฌธ์ž์—ด ์„ ํƒ์€ ๋งˆ์šฐ์Šค ๋“œ๋ž˜๊ทธ(Drag)๋ฅผ ํ†ตํ•ด ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;๊ธฐ๋ณธ ์„ค์ •์€ ๋ฐ์ดํ„ฐ๊ฐ€ Cell๋‹จ์œ„๋กœ ๋ณต์‚ฌ๋˜๋ฉฐ, ์„ค์ •์„ ํ†ตํ•ด ๋ฌธ์ž ๋‹จ์œ„๋กœ ๋ณต์‚ฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ๋งˆ์šฐ์Šค ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•œ ํ™˜๊ฒฝ์—์„œ ์ •์ƒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="[๊ธฐ๋ณธ์„ค์ •] ๋ฐ์ดํ„ฐ ๋ณต์‚ฌ(Ctrl+C)๋ฅผ Cell ๋‹จ์œ„๋กœ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" class="gvw" dataList="data:dlt_books" id="" style="height: 100px;" visibleRowNum="3" visibleRowNumFix="true" autoFitMinWidth="240" defaultCellHeight="24" rowMouseOver="false" readOnly="true" selectedCellColor="transparent"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="305" inputType="text" style="" id="column3" value="๋„์„œ๋ช…" displayMode="label"></w2:column> <w2:column width="77" inputType="text" style="" id="column2" value="์ง€์€์ด" displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="305" inputType="text" style="" id="book_name" value="" displayMode="label" textAlign="left"> </w2:column> <w2:column width="77" inputType="text" style="" id="author" value="" displayMode="label" class="" textAlign="left"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="๋ฐ์ดํ„ฐ ๋ณต์‚ฌ(Ctrl+C)๋ฅผ ๋ฌธ์ž ๋‹จ์œ„๋กœ ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_books" defaultCellHeight="24" id="" rowMouseOver="false" style="height: 100px;" visibleRowNum="3" visibleRowNumFix="true" readOnly="true" copyType="native" selectedCellColor="transparent"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column3" inputType="text" style="" value="๋„์„œ๋ช…" width="305"></w2:column> <w2:column displayMode="label" id="column2" inputType="text" style="" value="์ง€์€์ด" width="77"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="book_name" inputType="text" style="" textAlign="left" value="" width="305"> </w2:column> <w2:column class="" displayMode="label" id="author" inputType="text" style="" textAlign="left" value="" width="77"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํ…Œ์ŠคํŠธ ๊ฒฐ๊ณผ ํ™•์ธ์„ ์œ„ํ•œ Textarea" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea id="txa_exam1" style="width: 100%;height: 60px;" placeholder="์ด๊ณณ์— ๋ฐ์ดํ„ฐ๋ฅผ ๋ถ™์—ฌ๋„ฃ์œผ์„ธ์š”."></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00062.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[Accordion] ํŒจ๋„์˜ ํ™•์žฅ/์ถ•์†Œ ์ดˆ๊ธฐ ์ƒํƒœ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220803" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="Accordion - ๊ธฐ๋ณธ(์ฒซ๋ฒˆ์งธ ํŒจ๋„๋งŒ ์—ด๋ฆผ)" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="acdbox" id=""> <w2:accordion class="acd" id="" style=""> <w2:panels class="" id="panels1" style=""> <w2:panelTitle class="" id="panelTitle1" label="ํŒจ๋„ 1" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent1" style=""> <w2:textbox id="" label="ํŒจ๋„1 ์ปจํ…์ธ  ์˜์—ญ์ž…๋‹ˆ๋‹ค." style="" tagname="span"></w2:textbox> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels2" style=""> <w2:panelTitle id="panelTitle2" label="ํŒจ๋„2" style=""></w2:panelTitle> <w2:panelContent id="panelContent2" style=""> <w2:textbox id="" label="ํŒจ๋„2 ์ปจํ…์ธ  ์˜์—ญ์ž…๋‹ˆ๋‹ค." style="" tagname="span"></w2:textbox> </w2:panelContent> </w2:panels> </w2:accordion> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='Accordion - ๋ชจ๋“  ํŒจ๋„ ๋‹ซํž˜&lt;br/&gt;collapseAll="true"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:accordion class="acd" id="" style="" collapseAll="true"> <w2:panels class="" id="panels1" style=""> <w2:panelTitle class="" id="panelTitle1" label="ํŒจ๋„ 1" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent1" style=""> <w2:textbox id="" label="ํŒจ๋„1 ์ปจํ…์ธ  ์˜์—ญ์ž…๋‹ˆ๋‹ค." style="" tagname="span"></w2:textbox> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels2" style=""> <w2:panelTitle id="panelTitle2" label="ํŒจ๋„2" style=""></w2:panelTitle> <w2:panelContent id="panelContent2" style=""> <w2:textbox id="" label="ํŒจ๋„2 ์ปจํ…์ธ  ์˜์—ญ์ž…๋‹ˆ๋‹ค." style="" tagname="span"></w2:textbox> </w2:panelContent> </w2:panels> </w2:accordion> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='Accordion - ๋ชจ๋“  ํŒจ๋„ ์—ด๋ฆผ&lt;br/&gt;unCollapseAll="true"' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:accordion class="acd" id="" style="" unCollapseAll="true"> <w2:panels class="" id="panels1" style=""> <w2:panelTitle class="" id="panelTitle1" label="ํŒจ๋„ 1" style=""></w2:panelTitle> <w2:panelContent class="" id="panelContent1" style=""> <w2:textbox id="" label="ํŒจ๋„1 ์ปจํ…์ธ  ์˜์—ญ์ž…๋‹ˆ๋‹ค." style="" tagname="span"></w2:textbox> </w2:panelContent> </w2:panels> <w2:panels class="" id="panels2" style=""> <w2:panelTitle id="panelTitle2" label="ํŒจ๋„2" style=""></w2:panelTitle> <w2:panelContent id="panelContent2" style=""> <w2:textbox id="" label="ํŒจ๋„2 ์ปจํ…์ธ  ์˜์—ญ์ž…๋‹ˆ๋‹ค." style="" tagname="span"></w2:textbox> </w2:panelContent> </w2:panels> </w2:accordion> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00076.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[Calendar] ํ‘œ์‹œํ•  ์ฃผ(Week)์˜ ์ˆ˜ ์ •์˜ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220817" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { //์˜ˆ์ œ์˜ ์„ค์ • ๋น„๊ต๋ฅผ ์œ„ํ•ด 10์›”๋กœ ์ด๋™. cal_exam1.gotoMonth("10"); cal_exam2.gotoMonth("10"); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="์˜ˆ์ œ๋ฅผ ๋น„๊ตํ•˜๊ธฐ ์œ„ํ•ด ์ดˆ๊ธฐ ์›”์ด 10์›”๋กœ ์ง€์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="calendar - ๊ธฐ๋ณธ (๋ณด์—ฌ์ง€๋Š” ์ฃผ๋ฅผ 6์œผ๋กœ ์„ค์ •)" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:calendar id="cal_exam1" style="min-width: 200px;min-height: 200px;"></w2:calendar> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label='calendar - ๋ณด์—ฌ์ง€๋Š” ์ฃผ๋ฅผ 4๋กœ ์„ค์ •' style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:calendar id="cal_exam2" style="min-width: 200px;min-height: 200px;" displayDayType="text" visibleWeekNum="4"></w2:calendar> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00108S01.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220916" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00108S01.xml" style="color: dodgerblue;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00223S02.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230306" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script type="text/javascript" lazy="false"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <w2:textbox id="" label="P00223S02.xml" style="color: firebrick;font-size: 2em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00260.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230418" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="City" name="name1" dataType="text"></w2:column> <w2:column id="Code" name="name2" dataType="text"></w2:column> <w2:column id="Type" name="name3" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> <Type><![CDATA[Asia]]></Type> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> <Type><![CDATA[Europe]]></Type> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> <Type><![CDATA[Europe]]></Type> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> <Type><![CDATA[Asia]]></Type> </w2:row> <w2:row> <City><![CDATA[Tokyo]]></City> <Code><![CDATA[TK]]></Code> <Type><![CDATA[Asia]]></Type> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [ ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { // Radio 'sbx_exam3'์™€ ์—ฐ๊ฒฐ๋˜์–ด ์žˆ๋Š” DataList 'dlt_dataList1'์˜ Type์ด Europe์ธ ๋ฐ์ดํ„ฐ๋Š” ์ œ์™ธํ•˜๊ณ  ํ‘œ์‹œํ•˜๊ธฐ sbx_exam3.setVisibleColumn("Type", "Europe"); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='Radio์ปดํฌ๋„ŒํŠธ์—์„œ DataList์™€ ์—ฐ๊ฒฐํ•˜์—ฌ ์„ ํƒ ํ•ญ๋ชฉ์„ ํ‘œ์‹œํ•  ๊ฒฝ์šฐ,&lt;br/&gt;์—ฐ๊ฒฐ๋œ DataList์˜ ํŠน์ • ์ปฌ๋Ÿผ ๊ฐ’์„ ๊ธฐ์ค€์œผ๋กœ ์ผ๋ถ€ ์„ ํƒ ํ•ญ๋ชฉ์„ ์ˆจ๊ธฐ๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ๊ณผ ํ•จ์ˆ˜๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- visibleColumn : (์†์„ฑ)์„ ํƒ ํ•ญ๋ชฉ ๋ชฉ๋ก์—์„œ ํŠน์ • ํ•ญ๋ชฉ์„ ๊ฐ์ถ”๋Š” ๊ธฐ๋Šฅ&lt;br/&gt;- visibleColumnFalseValue : (์†์„ฑ)visibleColumn ์‚ฌ์šฉ ์‹œ ๋ชฉ๋ก์—์„œ ํŠน์ • ํ•ญ๋ชฉ์„ ๊ฐ์ถ”๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด์— ํ•ด๋‹นํ•˜๋Š” ๊ฐ’&lt;br/&gt;- setVisibleColumn : (ํ•จ์ˆ˜)visibleColumn ์†์„ฑ์„ ๋™์ ์œผ๋กœ ์„ค์ •' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ - ์†์„ฑ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='SelectBox์ปดํฌ๋„ŒํŠธ์˜ visibleColumn ์†์„ฑ์— DataList์˜ id์ธ "Type", visibleColumnFalseValue ์†์„ฑ์— ์‹ค์žฌ id์˜ ๊ฐ’์ธ "Europe"๋ฅผ ์„ค์ •ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋”ฐ๋ผ์„œ Type์ด Europe์ธ ๋ฐ์ดํ„ฐ๋ฅผ ์ œ์™ธํ•œ ํ•ญ๋ชฉ๋งŒ์„ ํ‘œ์‹œํ•˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='[์†์„ฑ ์ ์šฉ ์ „]' style="" displayFormat=""> </w2:textbox> <xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="sbx_exam1" ref="" style="width: 148px;height: 21px;" submenuSize="auto"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='[์†์„ฑ ์ ์šฉ ํ›„]' style="" displayFormat=""> </w2:textbox> <xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="sbx_exam2" ref="" style="width: 148px;height: 21px;" submenuSize="auto" visibleColumn="Type" visibleColumnFalseValue="Europe"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ - ํ•จ์ˆ˜" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์•„๋ž˜ ๋ฒ„ํŠผ์„ ํด๋ฆญ ์‹œ setVisibleColumn ํ•จ์ˆ˜๋กœ ์ธํ•ด Type์ด Europe์ธ ํ•ญ๋ชฉ์„ ์ œ์™ธํ•˜๊ณ  ํ‘œ์‹œํ•˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style="" displayFormat=""> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px;height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[ํŠน์ • ํ•ญ๋ชฉ ๊ฐ์ถ”๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:select1 allOption="" appearance="minimal" chooseOption="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="sbx_exam3" ref="" style="width: 148px;height: 21px;" submenuSize="auto"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00274.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[DataList] ์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230621" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="price" name="์ •๊ฐ€"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <label><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></label> <price><![CDATA[18000]]></price> </w2:row> <w2:row> <label><![CDATA[๋ฌด์—‡์ด ์˜ณ์€๊ฐ€]]></label> <price><![CDATA[17800]]></price> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_1_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ JSON ํ˜•์‹์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getAllJSON(); // return ์˜ˆ์‹œ) [{"label":"๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ","price":"18000","rowStatus":"R"},{"label":"๋ฌด์—‡์ด ์˜ณ์€๊ฐ€","price":"17800","rowStatus":"R"}] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = '# ์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ | ํ•จ์ˆ˜ getAllJSON ํ˜ธ์ถœ ๊ฐ’'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log, false); console.log(strLog); console.log(result) }; /** * ๋ฒ„ํŠผ [์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ - rowStatus ์ œ์™ธ] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_5_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ 'rowStatus'๋ฅผ ์ œ์™ธํ•˜๊ณ  JSON ํ˜•์‹์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getAllJSON({ rowStatusData: false }); // return ์˜ˆ์‹œ) [{"label":"๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ","price":"18000"},{"label":"๋ฌด์—‡์ด ์˜ณ์€๊ฐ€","price":"17800"}] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = '# ์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ - rowStatus ์ œ์™ธ | ํ•จ์ˆ˜ getAllJSON({ rowStatusData: false }) ํ˜ธ์ถœ ๊ฐ’'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log, false); console.log(strLog); console.log(result) }; /** * ๋ฒ„ํŠผ [์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_2_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ '1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด'์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getAllArray(); // return ์˜ˆ์‹œ) {"columnInfo":["label","price"],"data":["๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ","18000","๋ฌด์—‡์ด ์˜ณ์€๊ฐ€","17800"]} // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = '# ์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด | ํ•จ์ˆ˜ getAllArray ํ˜ธ์ถœ ๊ฐ’'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log, false); console.log(strLog); console.log(result) }; /** * ๋ฒ„ํŠผ [์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_3_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ '1์ฐจ์› Array ํ˜•์‹'์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getAllData(); // return ์˜ˆ์‹œ) ["๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ","18000","๋ฌด์—‡์ด ์˜ณ์€๊ฐ€","17800"] // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = '# ์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ | ํ•จ์ˆ˜ getAllData ํ˜ธ์ถœ ๊ฐ’'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(JSON.stringify(result), txa_log, false); console.log(strLog); console.log(result) }; /** * ๋ฒ„ํŠผ [์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - XML ํ˜•์‹] ํด๋ฆญ ์‹œ */ scwin.btn_exam1_4_onclick = function (e) { // DataList 'dlt_books_1'์˜ ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ XML ํ˜•์‹์œผ๋กœ ๋ฐ˜ํ™˜๋ฐ›์Šต๋‹ˆ๋‹ค. let result = dlt_books_1.getAllXML(); // return ์˜ˆ์‹œ) <list id="dlt_books_1"><map index="0"><label>๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ</label><price>18000</price><rowStatus statusValue="0">R</rowStatus></map><map index="1"><label>๋ฌด์—‡์ด ์˜ณ์€๊ฐ€</label><price>17800</price><rowStatus statusValue="0">R</rowStatus></map></list> // ๋กœ๊ทธ ์ถœ๋ ฅ let strLog = '# ์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - XML ํ˜•์‹ | ํ•จ์ˆ˜ getAllXML ํ˜ธ์ถœ ๊ฐ’'; $c.frame.printExampleLog(strLog, txa_log, false); $c.frame.printExampleLog(WebSquare.xml.serialize(result), txa_log, false); console.log(strLog); console.log(result) }; /** * textarea์˜ ๋กœ๊ทธ ์‚ญ์ œ */ scwin.btn_clearLog_onclick = function (e) { //textarea value๋ฅผ ๋นˆ๋ฌธ์ž์—ด๋กœ ํ• ๋‹น. txa_log.setValue(""); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="DataList์˜ ์ „์ฒด ๋ฐ์ดํ„ฐ๋ฅผ ๋ฐ›๋Š” ํ•จ์ˆ˜ ์˜ˆ์‹œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;๋ฐ˜ํ™˜๋˜๋Š” ๋ฐ์ดํ„ฐ ์œ ํ˜•์€ 4๊ฐ€์ง€์ด๋ฉฐ, ๊ฐ ์œ ํ˜•์— ๋งž๋Š” ํ•จ์ˆ˜๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- JSON ํ˜•์‹ : getAllJSON&lt;br/&gt;- 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด : getAllArray&lt;br/&gt;- 1์ฐจ์› Array ํ˜•์‹ : getAllData&lt;br/&gt;- XML ํ˜•์‹ : getAllXML" style=""> </w2:textbox> <w2:textbox id="" label="๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜๋ฉด '๋กœ๊ทธ ํ™•์ธ' ์˜์—ญ๊ณผ ๋ธŒ๋ผ์šฐ์ € ๊ฐœ๋ฐœ์ž๋„๊ตฌ์˜ ์ฝ˜์†”์— ๋กœ๊ทธ๊ฐ€ ์ถœ๋ ฅ๋ฉ๋‹ˆ๋‹ค." style="" class="ws_example_txt_desc_info"></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group class="example_div_td_style no_padding" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_1_onclick" id="btn_exam1_1" style="" type="button"> <xf:label><![CDATA[์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" id="btn_exam1_5" style="" type="button" ev:onclick="scwin.btn_exam1_5_onclick"> <xf:label><![CDATA[์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - JSON ํ˜•์‹ - rowStatus ์ œ์™ธ]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_2_onclick" id="btn_exam1_2" style="" type="button"> <xf:label><![CDATA[์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹ + ์ปฌ๋Ÿผ ์ •๋ณด]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_3_onclick" id="btn_exam1_3" style="" type="button"> <xf:label><![CDATA[์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - 1์ฐจ์› Array ํ˜•์‹]]></xf:label> </xf:trigger> <xf:trigger class="btn_exam_exec btn_txt_of" escape="false" ev:onclick="scwin.btn_exam1_4_onclick" id="btn_exam1_4" style="" type="button"> <xf:label><![CDATA[์ „์ฒด ๋ฐ์ดํ„ฐ ๋ฐ›๊ธฐ - XML ํ˜•์‹]]></xf:label> </xf:trigger> </xf:group> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์•„๋ž˜์˜ GridView๋Š” DataList์˜ ๋ฐ์ดํ„ฐ ๊ตฌ์กฐ๋ฅผ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด ๊ตฌ์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="lastColumn" class="gvw" dataList="data:dlt_books_1" defaultCellHeight="24" id="" rowNumWidth="26" style="height:60px;" visibleRowNum="all"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column4" inputType="text" value="price" width="70"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" value="label" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="price" inputType="text" width="70"></w2:column> <w2:column displayMode="label" id="label" inputType="text" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <xf:group id="" class="example_div_th_style"> <w2:span label="๋กœ๊ทธ ํ™•์ธ" style="" id="" class="mr_def txt_blue"></w2:span> <xf:trigger class="com_example_btn_log_clear" ev:onclick="scwin.btn_clearLog_onclick" id="btn_clearLog" style="" title="๋กœ๊ทธ ์‚ญ์ œ" type="button"> <xf:label><![CDATA[๊ฒ€์ƒ‰ ์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="example_div_td_style" id="" style=""> <xf:textarea class="com_example_txa_log" id="txa_log" spellcheck="false" style="width: 100%;height: 140px;"></xf:textarea> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00248.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230316" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_dataList1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="City" name="name1" dataType="text"></w2:column> <w2:column id="Code" name="name2" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> </w2:row> <w2:row> <City><![CDATA[Tokyo]]></City> <Code><![CDATA[TK]]></Code> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='Radio์ปดํฌ๋„ŒํŠธ์˜ ํ‘œ์‹œ ํ•ญ๋ชฉ์˜ ์—ด๊ณผ ํ–‰์„ ๋ณ€๊ฒฝํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;&lt;br/&gt;์ด ๊ธฐ๋Šฅ์€ ์•„๋ž˜์˜ ์†์„ฑ์œผ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;- cols : ์„ ํƒ ํ•ญ๋ชฉ์„ ํ‘œ์‹œํ•  ์—ด์˜ ์ˆ˜&lt;br/&gt;- rows : ์„ ํƒ ํ•ญ๋ชฉ์„ ํ‘œ์‹œํ•  ํ–‰์˜ ์ˆ˜' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์—ด ๋ฐ”๊พธ๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='Radio์ปดํฌ๋„ŒํŠธ ์†์„ฑ cols์— ํ‘œ์‹œํ•  ์—ด์˜ ์ˆ˜ ๋งŒํผ ๊ฐ’์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label='โ€ป ์•„๋ž˜์˜ ๊ฒฝ์šฐ๋Š” cols = "3" ์„ ์„ค์ •ํ•ด๋‘์—ˆ์Šต๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> </xf:group> <xf:select1 id="rad_exam1" selectedIndex="-1" appearance="full" cols="3" style="width: 200px;height:125px;"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํ–‰ ๋ฐ”๊พธ๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='Radio์ปดํฌ๋„ŒํŠธ ์†์„ฑ rows์— ํ‘œ์‹œํ•  ํ–‰์˜ ์ˆ˜ ๋งŒํผ ๊ฐ’์„ ์„ค์ •ํ•ฉ๋‹ˆ๋‹ค.' style="" displayFormat=""> </w2:textbox> <w2:textbox class="txt_info_important" escape="false" id="" label='โ€ป ์•„๋ž˜์˜ ๊ฒฝ์šฐ๋Š” rows = "3" ์„ ์„ค์ •ํ•ด๋‘์—ˆ์Šต๋‹ˆ๋‹ค.' style="margin-bottom: 10px;"> </w2:textbox> <xf:group id="" style="margin: 10px 0px 10px 0px;"> </xf:group> <xf:select1 id="rad_exam2" selectedIndex="-1" appearance="full" rows="3" style="width: 200px;height:125px;"> <xf:choices> <xf:itemset nodeset="data:dlt_dataList1"> <xf:label ref="City"></xf:label> <xf:value ref="Code"></xf:value> </xf:itemset> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00116.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์…€์˜ inputType์„ ๋™์ ์œผ๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="type_name" name="type_name" dataType="text"></w2:column> <w2:column id="type" name="type" dataType="text"></w2:column> <w2:column id="type_value" name="name3" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <type_name><![CDATA[checkbox]]></type_name> <type><![CDATA[checkbox]]></type> <type_value><![CDATA[Y]]></type_value> </w2:row> <w2:row> <type_name><![CDATA[input]]></type_name> <type><![CDATA[input]]></type> <type_value><![CDATA[์‚ฌ๋žŒ์ผ๊นŒ ์ƒํ™ฉ์ผ๊นŒ]]></type_value> </w2:row> <w2:row> <type_name><![CDATA[calendar]]></type_name> <type><![CDATA[calendar]]></type> <type_value><![CDATA[20020415]]></type_value> </w2:row> <w2:row> <type_name><![CDATA[checkbox]]></type_name> <type><![CDATA[checkbox]]></type> <type_value><![CDATA[N]]></type_value> </w2:row> <w2:row> <type_name><![CDATA[select]]></type_name> <type><![CDATA[select]]></type> <type_value><![CDATA[02]]></type_value> </w2:row> <w2:row> <type_name><![CDATA[input]]></type_name> <type><![CDATA[input]]></type> <type_value><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></type_value> </w2:row> </w2:data> </w2:dataList> <w2:dataList baseNode="list" repeatNode="map" id="dlt_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="code" name="name1" dataType="text"></w2:column> <w2:column id="label" name="name2" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <code><![CDATA[01]]></code> <label><![CDATA[์„ ํƒ]]></label> </w2:row> <w2:row> <code><![CDATA[02]]></code> <label><![CDATA[๋ฏธ์„ ํƒ]]></label> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * grd_exam1์˜ ์ปฌ๋Ÿผ [inputType="custom"]์˜ inputType ๋ฐ˜ํ™˜ * ์†์„ฑ [typeGetter]์— ํ•จ์ˆ˜๋ช…์ด ์ •์˜๋˜์–ด์žˆ์Šต๋‹ˆ๋‹ค. */ scwin.grd_exam1_type_value_typeGetter = function (argInfo) { var rowIndex = argInfo.rowIndex; var colIndex = argInfo.colIndex; var jsnRow; var returnInfo; //inputType ์ •๋ณด๊ฐ€ ๋‹ด๊ธด JSON๊ฐ์ฒด var inputType; var strID; jsnRow = dlt_exam1.getRowJSON(rowIndex); //ํ˜„ ํ–‰์˜ JSON ๋ฐ์ดํ„ฐ ๋ฐ˜ํ™˜๋ฐ›๊ธฐ inputType = jsnRow.type || "notype"; //์ค‘๋ณต๋˜์ง€ ์•Š๋Š” ID ์ƒ์„ฑ strID = "dynamic_" + inputType + "_" + rowIndex + "_" + colIndex; switch (inputType) { case "checkbox": returnInfo = { id: strID, inputType: "checkbox", options: { valueType: "other", trueValue: "Y", falseValue: "N", checkboxLabel: "์„ ํƒ" } }; break; case "calendar": returnInfo = { id: strID, inputType: "calendar", options: { viewType: "icon", dataType: "date", displayFormat: "yyyy-MM-dd" } }; break; case "select": //itemSet ์†์„ฑ์€ select์— ์ถœ๋ ฅํ•  ์ฝค๋ณด ๋ฆฌ์ŠคํŠธ์— ์—ฐ๊ฒฐํ•  DataList์˜ ์ •๋ณด์ž…๋‹ˆ๋‹ค. returnInfo = { id: strID, inputType: "select", options: { viewType: "icon" }, itemSet: { nodeset: "data:dlt_code", label: "label", value: "code" } }; break; case "input": default: returnInfo = { id: strID, inputType: "text", options: {} }; break; } return returnInfo; };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ ์ปฌ๋Ÿผ์˜ inputType์„ ์กฐ๊ฑด์— ๋”ฐ๋ผ ์„ค์ •ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์ปฌ๋Ÿผ [์œ ํ˜•]์˜ ๊ฐ’์„ ์กฐ๊ฑด์œผ๋กœ ์ปฌ๋Ÿผ [inputType="custom"]์˜ inputType์ด ์„ค์ •๋˜์—ˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id="" style=""> <w2:gridView autoFit="allColumn" class="gvw" dataList="data:dlt_exam1" defaultCellHeight="24" id="grd_exam1" rowNumVisible="true" rowNumWidth="26" style="height:100px;width: 250px;" visibleRowNum="all"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="80" inputType="text" id="column3" value="์œ ํ˜•" displayMode="label"></w2:column> <w2:column width="140" inputType="text" id="column1" value='inputType="custom"' displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="80" inputType="text" id="type_name" displayMode="label" readOnly="true"></w2:column> <w2:column width="140" inputType="custom" id="type_value" displayMode="label" value="" typeGetter="scwin.grd_exam1_type_value_typeGetter" textAlign="left"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00102.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ๋งˆ์šฐ์Šค DragDrop ๊ธฐ๋Šฅ์„ ํ†ตํ•œ GridView ๋‚ด ํ–‰์˜ ์ด๋™ ๊ธˆ์ง€ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220916" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList baseNode="list" id="dlt_books_2" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.setDataList(); }; /** * DataList์— ๋ฐ์ดํ„ฐ ํ• ๋‹น */ scwin.setDataList = function () { var arrData = [ { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋„ˆ๋ฌด ์ž˜ํ•˜๋ ค๊ณ  ์• ์“ฐ์ง€ ๋งˆ๋ผ", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋ชจ๋“  ์‚ฌ๋žŒ์—๊ฒŒ ์ข‹์€ ์‚ฌ๋žŒ์ผ ํ•„์š”๋Š” ์—†์–ด", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)", "categoryLabel": "์—ญ์‚ฌ/๋ฌธํ™”" }, { "label": "๋ฏธ์›€๋ฐ›์„ ์šฉ๊ธฐ", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "categoryLabel": "์†Œ์„ค" }, { "label": "์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค", "categoryLabel": "์ž๊ธฐ๊ณ„๋ฐœ" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "categoryLabel": "์ธ๋ฌธ" }, { "label": "์ž‘๋ณ„์ธ์‚ฌ", "categoryLabel": "์†Œ์„ค" }, { "label": "์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "์ €๋งŒ์น˜ ํ˜ผ์ž์„œ", "categoryLabel": "์†Œ์„ค" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "categoryLabel": "์†Œ์„ค" } ]; dlt_books_1.setJSON(arrData); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ Drag&amp;Drop ๊ธฐ๋Šฅ์˜ ์˜ต์…˜ ์ค‘ ํ•˜๋‚˜์ธ "dataDragDropOther" ์†์„ฑ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์†์„ฑ "dataDragDropOther"์€ GridView ๋‚ด๋ถ€์—์„œ์˜ ํ–‰ ์ด๋™์„ ๊ธˆ์ง€ํ•˜๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;' style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ๋งˆ์šฐ์Šค ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•œ ํ™˜๊ฒฝ์—์„œ ์ •์ƒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="DragDrop ์„ค์ • + GridVIew ๋‚ด ํ–‰ ์ด๋™ ๊ธˆ์ง€" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="Drag&amp;Drop์œผ๋กœ GridView๋‚ด ํ–‰์˜ ์ด๋™์ด ๋ถˆ๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;ํ–‰์„ Dragํ•˜์—ฌ ๋‹ค๋ฅธ GridView์— Dropํ•˜๋ฉด ํ–‰์ด ์ด๋™๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;" style=""> </w2:textbox> <w2:gridView autoFit="lastColumn" autoFitMinWidth="240" class="gvw" dataDragDrop="true" dataList="data:dlt_books_1" defaultCellHeight="24" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="5" visibleRowNumFix="true" dataDragDropOther="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column2" inputType="text" value="๋ถ„๋ฅ˜" width="100"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" sortable="true" value="๋„์„œ๋ช…" width="178"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" value="" width="100"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="178"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="ํ–‰ ์ด๋™ ํ…Œ์ŠคํŠธ์šฉ GridView" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="์ด๊ณณ์— ํ–‰์„ Drop ํ•˜์„ธ์š”." style=""> </w2:textbox> <w2:gridView autoFit="lastColumn" autoFitMinWidth="240" class="gvw" dataDragDrop="true" dataList="data:dlt_books_2" defaultCellHeight="24" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="4" visibleRowNumFix="true" noResultMessageVisibleAlways="true" noResultMessage="์ด๊ณณ์— ํ–‰์„ Drop ํ•˜์„ธ์š”."> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column2" inputType="text" value="๋ถ„๋ฅ˜" width="100"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" sortable="true" value="๋„์„œ๋ช…" width="178"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" value="" width="100"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="178"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00157P02.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20221104" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="pop_contents" id="" style="padding: 10px;"> <w2:textbox id="" label="ํŒ์—…1-1 - P00157P02.xml" style="color: IndianRed;font-size: 1.5em;font-weight: bold;"></w2:textbox> </xf:group> </body> </html>
WRE/WebContent/page/P00103.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ๋งˆ์šฐ์Šค DragDrop ๊ธฐ๋Šฅ์„ ํ†ตํ•ด GridView ๋‚ด ์ด๋™๋œ ํ–‰์˜ rowStatus(์ƒํƒœ)๊ฐ’ ์œ ์ง€ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220916" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_books_1" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> </w2:columnInfo> </w2:dataList> <w2:dataList baseNode="list" id="dlt_books_2" repeatNode="map" style="" valueAttribute=""> <w2:columnInfo> <w2:column dataType="text" id="label" name="๋„์„œ๋ช…"></w2:column> <w2:column dataType="text" id="categoryLabel" name="๋ถ„๋ฅ˜"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { scwin.setDataList(); }; /** * DataList์— ๋ฐ์ดํ„ฐ ํ• ๋‹น */ scwin.setDataList = function () { var arrData = [ { "label": "๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๊ธฐ๋ถ„์„ ๊ด€๋ฆฌํ•˜๋ฉด ์ธ์ƒ์ด ๊ด€๋ฆฌ๋œ๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋‚ด๊ฐ€ ํ‹€๋ฆด ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋„ˆ๋ฌด ์ž˜ํ•˜๋ ค๊ณ  ์• ์“ฐ์ง€ ๋งˆ๋ผ", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋ชจ๋“  ์‚ฌ๋žŒ์—๊ฒŒ ์ข‹์€ ์‚ฌ๋žŒ์ผ ํ•„์š”๋Š” ์—†์–ด", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "๋ฌด์—‡์ด ์˜ณ์€๊ฐ€", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋ฌธ๋ช…์˜ ๋ถ•๊ดด(Collapse)", "categoryLabel": "์—ญ์‚ฌ/๋ฌธํ™”" }, { "label": "๋ฏธ์›€๋ฐ›์„ ์šฉ๊ธฐ", "categoryLabel": "์ธ๋ฌธ" }, { "label": "๋ถˆํŽธํ•œ ํŽธ์˜์ ", "categoryLabel": "์†Œ์„ค" }, { "label": "์„ ์„ ๋„˜์ง€ ์•Š๋Š” ์‚ฌ๋žŒ์ด ์„ฑ๊ณตํ•œ๋‹ค", "categoryLabel": "์ž๊ธฐ๊ณ„๋ฐœ" }, { "label": "์šฐ๋ฆฌ๋Š” ์—ฌ์ „ํžˆ ์‚ถ์„ ์‚ฌ๋ž‘ํ•˜๋Š”๊ฐ€", "categoryLabel": "์ธ๋ฌธ" }, { "label": "์ž‘๋ณ„์ธ์‚ฌ", "categoryLabel": "์†Œ์„ค" }, { "label": "์ž˜ํ–ˆ๊ณ  ์ž˜ํ•˜๊ณ  ์žˆ๊ณ  ์ž˜ ๋  ๊ฒƒ์ด๋‹ค", "categoryLabel": "์‹œ/์—์„ธ์ด" }, { "label": "์ €๋งŒ์น˜ ํ˜ผ์ž์„œ", "categoryLabel": "์†Œ์„ค" }, { "label": "์ฑ…๋“ค์˜ ๋ถ€์—Œ", "categoryLabel": "์†Œ์„ค" } ]; dlt_books_1.setJSON(arrData); dlt_books_2.setJSON(arrData); };]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='GridView์˜ Drag&amp;Drop ๊ธฐ๋Šฅ์˜ ์˜ต์…˜ ์ค‘ ํ•˜๋‚˜์ธ "dataDragDropStatus" ์†์„ฑ ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์†์„ฑ "dataDragDropStatus"์€ Drag&amp;Drop์„ ํ†ตํ•ด GridView ๋‚ด๋ถ€์—์„œ ํ–‰์ด ์ด๋™๋œ ๊ฒฝ์šฐ rowStatus(ํ–‰ ์ƒํƒœ)๋ฅผ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š๋Š” ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;ํƒ€ GridView์˜ ํ–‰์ด Drop๋œ ๊ฒฝ์šฐ๋Š” "dataDragDropStatus" ์„ค์ •๊ณผ ๋ฌด๊ด€ํ•˜๊ฒŒ "C"์ƒํƒœ๋กœ ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> <w2:textbox class="ws_example_txt_desc_info" escape="false" id="" label="์ด ์˜ˆ์ œ๋Š” ๋งˆ์šฐ์Šค ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•œ ํ™˜๊ฒฝ์—์„œ ์ •์ƒ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="DragDrop ์„ค์ •" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="GridView ๋‚ด์—์„œ Drag&amp;Drop์œผ๋กœ ์ด๋™๋œ ํ–‰์˜ rowStatus(์ƒํƒœ)๊ฐ€ C(์‹ ๊ทœ)๋กœ ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <w2:gridView autoFit="lastColumn" autoFitMinWidth="240" class="gvw" dataDragDrop="true" dataList="data:dlt_books_1" defaultCellHeight="24" id="" rowNumVisible="true" rowNumWidth="26" rowStatusVisible="true" style="height:100px;" visibleRowNum="5" visibleRowNumFix="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column2" inputType="text" value="๋ถ„๋ฅ˜" width="100"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" sortable="true" value="๋„์„œ๋ช…" width="178"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" value="" width="100"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="178"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="DragDrop ์„ค์ • + ํ–‰ ์ƒํƒœ(rowStatus) ์œ ์ง€" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label="GridView ๋‚ด์—์„œ Drag&amp;Drop์œผ๋กœ ์ด๋™๋œ ํ–‰์˜ rowStatus(์ƒํƒœ)๋ฅผ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.&lt;br/&gt;" style=""> </w2:textbox> <w2:gridView autoFit="lastColumn" autoFitMinWidth="240" class="gvw" dataDragDrop="true" dataList="data:dlt_books_2" defaultCellHeight="24" id="" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="5" visibleRowNumFix="true" rowStatusVisible="true" dataDragDropStatus="true"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column displayMode="label" id="column2" inputType="text" value="๋ถ„๋ฅ˜" width="100"></w2:column> <w2:column displayMode="label" id="column3" inputType="text" sortable="true" value="๋„์„œ๋ช…" width="178"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column displayMode="label" id="categoryLabel" inputType="text" value="" width="100"></w2:column> <w2:column displayMode="label" id="label" inputType="text" textAlign="left" width="178"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00117.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[GridView] ์…€์˜ inputType์„ ๋™์ ์œผ๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ - ์Šคํฌ๋ฆฝํŠธ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20220930" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_exam1" saveRemovedData="true"> <w2:columnInfo> <w2:column id="type" name="type" dataType="text"></w2:column> <w2:column id="type_value" name="type_value" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <type><![CDATA[checkbox]]></type> <type_value><![CDATA[Y]]></type_value> </w2:row> <w2:row> <type><![CDATA[select]]></type> <type_value><![CDATA[02]]></type_value> </w2:row> <w2:row> <type><![CDATA[calendar]]></type> <type_value><![CDATA[20020415]]></type_value> </w2:row> <w2:row> <type><![CDATA[input]]></type> <type_value><![CDATA[๊ณต์ •ํ•˜๋‹ค๋Š” ์ฐฉ๊ฐ]]></type_value> </w2:row> </w2:data> </w2:dataList> <w2:dataList baseNode="list" repeatNode="map" id="dlt_code" saveRemovedData="true"> <w2:columnInfo> <w2:column id="code" name="name1" dataType="text"></w2:column> <w2:column id="label" name="name2" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <code><![CDATA[01]]></code> <label><![CDATA[์„ ํƒ]]></label> </w2:row> <w2:row> <code><![CDATA[02]]></code> <label><![CDATA[๋ฏธ์„ ํƒ]]></label> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function () { }; /** * ๋ฒ„ํŠผ [1๋ฒˆ์งธ ํ–‰์˜ inputType์„ "checkbox"๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex1_onclick = function (e) { var jsnCellInfo; var numRowIndex; var strColID; strRowIndex = 0; //๋ณ€๊ฒฝํ•  ํ–‰์˜ index strColID = "type_value" //๋ณ€๊ฒฝํ•  ์—ด์˜ ID strID = "dynamic_select_" + strRowIndex + "_" + strColID; //์ค‘๋ณต๋˜์ง€ ์•Š๋Š” GridVIew์˜ ์…€ ID ์ƒ์„ฑ //inputType ์ •๋ณด jsnCellInfo = { id: strID, inputType: "checkbox", options: { valueType: "other", trueValue: "Y", falseValue: "N", checkboxLabel: "์„ ํƒ" } }; //GridView "grd_exam1"์˜ ์…€ inputType์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. grd_exam1.setCellInputType(strRowIndex, strColID, jsnCellInfo); }; /** * ๋ฒ„ํŠผ [2๋ฒˆ์งธ ํ–‰์˜ inputType์„ "select"๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex2_onclick = function (e) { var jsnCellInfo; var numRowIndex; var strColID; strRowIndex = 1; //๋ณ€๊ฒฝํ•  ํ–‰์˜ index strColID = "type_value" //๋ณ€๊ฒฝํ•  ์—ด์˜ ID strID = "dynamic_select_" + strRowIndex + "_" + strColID; //์ค‘๋ณต๋˜์ง€ ์•Š๋Š” GridVIew์˜ ์…€ ID ์ƒ์„ฑ //inputType ์ •๋ณด jsnCellInfo = { id: strID, inputType: "select", options: { viewType: "icon" }, itemSet: { nodeset: "data:dlt_code", label: "label", value: "code" } }; //GridView "grd_exam1"์˜ ์…€ inputType์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. grd_exam1.setCellInputType(strRowIndex, strColID, jsnCellInfo); }; /** * ๋ฒ„ํŠผ [3๋ฒˆ์งธ ํ–‰์˜ inputType์„ "calenar"๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ] ํด๋ฆญ ์‹œ */ scwin.btn_ex3_onclick = function (e) { var jsnCellInfo; var numRowIndex; var strColID; strRowIndex = 2; //๋ณ€๊ฒฝํ•  ํ–‰์˜ index strColID = "type_value" //๋ณ€๊ฒฝํ•  ์—ด์˜ ID strID = "dynamic_select_" + strRowIndex + "_" + strColID; //์ค‘๋ณต๋˜์ง€ ์•Š๋Š” GridVIew์˜ ์…€ ID ์ƒ์„ฑ //inputType ์ •๋ณด jsnCellInfo = { id: strID, inputType: "calendar", options: { viewType: "icon", dataType: "date", displayFormat: "yyyy-MM-dd" } }; //GridView "grd_exam1"์˜ ์…€ inputType์„ ๋ณ€๊ฒฝํ•ฉ๋‹ˆ๋‹ค. grd_exam1.setCellInputType(strRowIndex, strColID, jsnCellInfo); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label='์›ํ•˜๋Š” ์‹œ์ ์— GridView ์…€์˜ inputType์„ ๋ณ€๊ฒฝํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.' style=""></w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap" id=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="์ปฌ๋Ÿผ [๋™์  inputType]์˜ inputType ๋ณ€๊ฒฝํ•˜๊ธฐ" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex1_onclick" id="btn_ex1" localeRef="" style="min-width: 30px; height: 26px; display: block;" type="" useDefaultLabel="true"> <xf:label><![CDATA[1๋ฒˆ์งธ ํ–‰์˜ inputType์„ "checkbox"๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex2_onclick" id="btn_ex2" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[2๋ฒˆ์งธ ํ–‰์˜ inputType์„ "select"๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="mb_def_box nobottom" id="" style=""> <xf:trigger class="btn_exam_exec btn_txt_of" ev:onclick="scwin.btn_ex3_onclick" id="btn_ex3" localeRef="" style="min-width: 30px; height: 26px;" type="" useDefaultLabel="true"> <xf:label><![CDATA[3๋ฒˆ์งธ ํ–‰์˜ inputType์„ "calenar"๋กœ ๋ณ€๊ฒฝํ•˜๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <w2:gridView autoFit="allColumn" class="gvw" dataList="data:dlt_exam1" defaultCellHeight="24" id="grd_exam1" rowNumVisible="true" rowNumWidth="26" setCellInputTypeCustom="true" style="height:100px;width: 210px;" visibleRowNum="all"> <w2:caption id="caption1" style="" value="this is a grid caption."></w2:caption> <w2:header id="header1" style=""> <w2:row id="row1" style=""> <w2:column width="70" inputType="text" style="" id="column2" value="์œ ํ˜•" displayMode="label"></w2:column> <w2:column displayMode="label" id="column1" inputType="text" value="๋™์  inputType" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody1" style=""> <w2:row id="row2" style=""> <w2:column width="70" inputType="text" style="" id="type" value="" displayMode="label"></w2:column> <w2:column displayMode="label" id="type_value" inputType="custom" textAlign="left" value="" width="100"> </w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/page/P00249.xml
<?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:w2="http://www.inswave.com/websquare" xmlns:xf="http://www.w3.org/2002/xforms"> <head meta_screenName="[AutoComplete] DataList์™€ ๋ฐ”์ธ๋”ฉํ•˜์—ฌ ์„ ํƒ ํ•ญ๋ชฉ์„ ์„ค์ •ํ•˜๊ธฐ"> <w2:historyInfo> <w2:history meta_no="01" meta_desc="์ตœ์ดˆ์ž‘์„ฑ" meta_date="20230315" meta_user="InswaveSystems" ></w2:history> </w2:historyInfo> <w2:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" id="dlt_list" repeatNode="map" saveRemovedData="true" style=""> <w2:columnInfo> <w2:column dataType="text" id="City" name="Label"></w2:column> <w2:column dataType="text" id="Code" name="Code"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <City><![CDATA[Seoul]]></City> <Code><![CDATA[SE]]></Code> </w2:row> <w2:row> <City><![CDATA[Paris]]></City> <Code><![CDATA[PA]]></Code> </w2:row> <w2:row> <City><![CDATA[London]]></City> <Code><![CDATA[LN]]></Code> </w2:row> <w2:row> <City><![CDATA[Beijing]]></City> <Code><![CDATA[BJ]]></Code> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script lazy="false" type="text/javascript"><![CDATA[ scwin.onpageload = function() { }; /** * ์˜์—ญ [AutoComplete]์˜ * ์ž…๋ ฅ [acb1]์˜ onchange ์ด๋ฒคํŠธ */ scwin.acb1_onchange = function(info) { let value = info.newValue; spn_value.setValue(value); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="sub_contents" id="" style=""> <xf:group class="ws_example_grp_desc" id="" style=""> <w2:textbox escape="false" id="" label="AutoComplete์˜ ์„ ํƒ ๋ชฉ๋ก์„ DataList์™€ ์—ฐ๋™ํ•˜๋Š” ์˜ˆ์ œ์ž…๋‹ˆ๋‹ค.&lt;br/&gt;์„ ํƒ ํ•ญ๋ชฉ์— ํ‘œ์‹œํ•  Label๋กœ ์‚ฌ์šฉํ•  coulmn๊ณผ ์„ ํƒ ํ–ˆ์„ ๋•Œ ๊ฐ’์œผ๋กœ ์‚ฌ์šฉํ•  column์„ ๊ฐ€์ง„ DataList๋ฅผ ์„ค์ •ํ•˜๋ฉด ์„ ํƒ ๋ชฉ๋ก์— ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค." style="margin-bottom: 10px;"> </w2:textbox> </xf:group> <xf:group class="example_div_tb_style_wrap mb_def" id="" style=""> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="AutoComplete" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='AutoComplete์—์„œ ๊ฐ’์„ ์„ ํƒํ•˜๋ฉด ์šฐ์ธก์— Code ๊ฐ’์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.&lt;br/&gt;DataList ์˜์—ญ์—์„œ Label์ด๋‚˜ ์ฝ”๋“œ๋ฅผ ์ˆ˜์ •ํ•˜๊ฒŒ ๋˜๋ฉด ์—ฐ๋™๋œ DataCollection์˜ ๊ฐ’์ด ๋ณ€๊ฒฝ๋˜์–ด AutoComplete์˜ ์„ ํƒ ๋ชฉ๋ก์ด ๊ฐฑ์‹ ๋˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:group id="" style="margin-bottom: 15px;"> <w2:autoComplete submenuSize="auto" search="start" editType="select" useKeywordHighlight="false" style="width: 150px;" id="acb1" useLocale="false" class="" allOption="" chooseOption="true" ref="" autoFocus="true" chooseOptionLabel="- ์„ ํƒ -" ev:onchange="scwin.acb1_onchange"> <w2:choices> <w2:itemset nodeset="data:dlt_list"> <w2:label ref="City"></w2:label> <w2:value ref="Code"></w2:value> </w2:itemset> </w2:choices> </w2:autoComplete> <w2:span label="" style="color: red;font-weight: bold;margin-left: 15px" id="spn_value"></w2:span> </xf:group> </xf:group> </xf:group> <xf:group class="example_div_tr_style" id="" style=""> <w2:textbox class="example_div_th_style" escape="false" id="" label="DataList" style=""></w2:textbox> <xf:group class="example_div_td_style" id="" style=""> <w2:textbox class="ws5_example_txt_normal" escape="false" id="" label='AutoComplete์— ์—ฐ๋™๋˜์–ด ์žˆ๋Š” DataCollection์„ ๋ณด์—ฌ์ฃผ๋Š” GridView์ž…๋‹ˆ๋‹ค.&lt;br/&gt;Cell์„ ๋”๋ธ”ํด๋ฆญํ•ด์„œ ์ˆ˜์ •ํ•˜๋ฉด AutoComplete์˜ ๊ฐ’๋„ ๋ณ€๊ฒฝ๋ฉ๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:group class="gvwbox" id="" style=""> <w2:gridView autoFit="allColumn" autoFitMinWidth="240" class="gvw" dataList="data:dlt_list" defaultCellHeight="24" id="grd_exam1" readOnly="false" rowNumVisible="true" rowNumWidth="26" style="height:100px;" visibleRowNum="3" visibleRowNumFix="true" editModeEvent="onclick"> <w2:caption style="" id="caption1" value="this is a grid caption."></w2:caption> <w2:header style="" id="header1"> <w2:row style="" id="row1"> <w2:column width="70" inputType="text" style="" id="column2" value="Label" displayMode="label"></w2:column> <w2:column width="70" inputType="text" style="" id="column1" value="Value" displayMode="label"></w2:column> </w2:row> </w2:header> <w2:gBody style="" id="gBody1"> <w2:row style="" id="row2"> <w2:column width="70" inputType="text" style="" id="City" value="" displayMode="label" editModeEvent="ondblclick"></w2:column> <w2:column width="70" inputType="text" style="" id="Code" value="" displayMode="label"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>