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์ ํจ์๊ฐ ์ธ ๊ฐ์ง ์ฌ์ฉ๋์์ผ๋ฉฐ, ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- ๋จ๊ฑด ์ปฌ๋ผ ์ ๋ ฌ : sort<br/>- ๋ค๊ฑด ์ปฌ๋ผ ์ ๋ ฌ : multisort<br/>- ์ ๋ ฌ ์ทจ์ : 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๋ฅผ ์๊ฐํ๊ณ ์์ฐํ๋ ์์ ์
๋๋ค.<br/>๋ฒํผ์ ๋ง์ฐ์ค๋ฅผ ์ฌ๋ฆฌ๋ฉด ์คํ๋ ๊ธฐ๋ฅ์ ์ค๋ช
์ด ํดํ์ผ๋ก ํํ๋ฉ๋๋ค.<br/>์คํฌ๋ฆฝํธ๋ ๋ฒํผ์ 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="์ํ๋ณ ๋ฐ์ดํฐ๋ ์ผ๋ฐ์ ์ผ๋ก ์๋ฒ๋ก ๋ณด๋ผ ๋ ๋ง์ด ์ฌ์ฉ๋ฉ๋๋ค.<br/>๊ทธ๋์ Submission์ reference์์ฑ์ ๊ฐ ์ํ๋ณ ๋ฐ์ดํฐ๋ง ๋ณด๋ผ์ ์๋ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค." style="">
</w2:textbox>
<w2:textbox class="dp" id=""
label="&lt;xf:submission id="sub_save01" action="/save01.do" <br/>&nbsp;&nbsp;&nbsp;ref='data:json,[{"id":"dc_gridViewData","action":"modified","key":"modifiedParam"}]'&gt;<br/>&lt;/xf:submission&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]๋ฒํผ์ ํด๋ฆญํ์ฌ ์ํ๋ฅผ ๋ณ๊ฒฝํฉ๋๋ค.<br/>GridView์ ์ฐ๊ฒฐ๋ dc_gridViewData๊ฐ์ฒด์ ๋ฐ์ดํฐ๋ฅผ ์ํ๋ณ๋ก ์๋ฒ๋ก ์ ์กํ๋ ์์๋ก sub_save01 submission์ Reference ์ค์ ์ ํ์ธํฉ๋๋ค.<br/>๋ฒํผ์ ํด๋ฆญํ๋ฉด ์๋ฒ๋ก ์ ์ก๋ 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]๋ฒํผ์ ํด๋ฆญํ์ฌ ์ํ๋ฅผ ๋ณ๊ฒฝํฉ๋๋ค.<br/>GridView์ ์ฐ๊ฒฐ๋ dc_gridViewData๊ฐ์ฒด์ ๋ฐ์ดํฐ์ค ๋ณ๊ฒฝ๋ ๋ชจ๋ ๋ฐ์ดํฐ๋ฅผ ํ๋ฒ์ ์๋ฒ๋ก ์ ์กํ๋ ์์๋ก sub_save02 submission์ Reference ์ค์ ์ ํ์ธํฉ๋๋ค.<br/>๋ฒํผ์ ํด๋ฆญํ๋ฉด ์๋ฒ๋ก ์ ์ก๋ 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๊ฐ ํด๋น๋ฉ๋๋ค.<br/>๋ํ์ ์ผ๋ก JSON์ ๊บผ๋ด์ค๋ ์ฃผ์ method๋ ๋ค์๊ณผ ๊ฐ๋ค.<br/>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 = {<br/> &nbsp;id : "dc_gridViewData"<br/> &nbsp;, action : "updated"<br/>};<br/>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) ํ์
์ธ ๊ฒฝ์ฐ,<br/>๋ชฉ๋ก์ ํน์ ํญ๋ชฉ์ ์จ๊ธฐ๋ ์์ ์
๋๋ค.<br/>์ ์ฉ ๊ฐ๋ฅํ 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="์ปดํฌ๋ํธ์ ํญ๋ชฉ์ ๋ง์ฐ์ค๋ฅผ ์ด์ฉํ์ฌ ๋๋๊น
ํ์ฌ ์ ํํ๋ ์์ ์
๋๋ค.<br/>๋ชฉ๋ก์์ ๋ง์ฐ์ค๋ฅผ ๋๋๊น
ํ์ฌ ํญ๋ชฉ์ ์ ํ ์ฌ๋ถ๋ฅผ ๋น๊ตํฉ๋๋ค."
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<br/>ํญ๋ชฉ ์ ํ ์ ๋ง์ฐ์ค ๋๋๊น
ํ์ฉ' 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์ ๋ฒ์ ์ ํ์ ์คํฌ๋ฆฝํธ๋ก ์ง์ ํ๋ ์์ ์
๋๋ค.<br/>๊ฐ ๋ฒํผ์ ํด๋ฆญํ์ฌ ๊ฐ ๊ทธ๋ฆฌ๋์ ๋ฒ์ ์ ํ์ ๋น๊ตํฉ๋๋ค.'
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<br/>๋ชฉ๋ก์ ์ด์ 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 ๊ธฐ๋ฅ ์ฌ์ฉ ์์์
๋๋ค.<br/>๊ทธ๋ฆฌ๋๋ทฐ์ ์ธ๋ก ์คํฌ๋กค์ด (๋ง์ง๋ง ํ ๊ฑด์ - 10๊ฑด)์ ๋์ด์ ์์นํ๋ฉด 100๊ฑด์ฉ ๋ฐ์ดํฐ๊ฐ ์ถ๊ฐ๋ฉ๋๋ค.<br/>์ต๋ 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 ์ปดํฌ๋ํธ๋ฅผ ํ์ฉํ์ฌ ๊ตฌ์ฑํ ํ๋ฉด ์
๋๋ค.<br/>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="<span class='txtGreen'>์ข
์ด์ ์ฝ</span>์ <span class='txtGreen'>ํ๊ฒฝ๋ณดํธ์ ์์์ ์ฝ</span> ์ค์ฒ์ ํ ๋ฐฉ๋ฒ์
๋๋ค."
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 > ๋ฐฐ์ก์ง๊ด๋ฆฌ ๋ฉ๋ด์์ ๋ณ๊ฒฝ ๊ฐ๋ฅํฉ๋๋ค." 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="์ด ํ ์ธ๊ธ์ก<br/>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="ํฌ์ธํธ ์ฌ์ฉ๊ธ์ก<br/>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' ์์์
๋๋ค.<br/>๊ฐ ํญ์ ์ง์ ๋ ID๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- ํญ 'TAB1'์ ID : tabs1<br/>- ํญ '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์์ ์ง์ ํ ์ปฌ๋ผ์ ๋ฐ์ดํฐ์ ์ฃผ์ด์ง ๋ฌธ์์ด์ด ์ผ์นํ๋ ํ ๋ฐ์ดํฐ๋ฅผ ๋ฐํ๋ฐ๋ ์์์
๋๋ค.<br/>๋ฐํ ๋ฐ์ดํฐ์ ์ ํ์ ๋ฐ๋ผ ํจ์๊ฐ ๋ถ๋ฆฌ๋์ด ์์ต๋๋ค. ํจ์์ ์ธ์๋ ๋์ผํฉ๋๋ค.<br/>๋ฐํ ๋ฐ์ดํฐ์ ์ ํ์ 5๊ฐ์ง์ด๋ฉฐ, ์ ํ๋ณ ํจ์๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- JSON ํ์ : getMatchedJSON<br/>- 1์ฐจ์ Array ํ์ + ์ปฌ๋ผ ์ ๋ณด : getMatchedArray<br/>- 2์ฐจ์ Array ํ์ : getMatchedData<br/>- XML ํ์ : getMatchedXML<br/>- 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="๋ฒํผ์ ํด๋ฆญํ๋ฉด '๋ก๊ทธ ํ์ธ' ์์ญ๊ณผ ๋ธ๋ผ์ฐ์ ๊ฐ๋ฐ์๋๊ตฌ์ ์ฝ์์ ๋ก๊ทธ๊ฐ ์ถ๋ ฅ๋ฉ๋๋ค.<br/>๋ก๊ทธ๋ฅผ ํตํด ๋ฐํ๋๋ ๋ฐ์ดํฐ๋ฅผ ํ์ธํ ์ ์์ต๋๋ค." 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 ์์ฑ์ ์ฌ์ฉํ์ฌ ์ ํ ๋ชฉ๋ก์ ํน์ ํญ๋ชฉ์ ๋นํ์ฑํํ๋ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ์ผ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- enableColumn : ์ ํ ํญ๋ชฉ ๋ชฉ๋ก์์ ํน์ ํญ๋ชฉ์ disable ์ฒ๋ฆฌํ๋ ๊ธฐ๋ฅ.<br/>- 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๋ฅผ ์ฐ๊ฒฐํ์ฌ ์ ํ ํญ๋ชฉ์ ์ค์ ํ๋ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ๊ณผ ํจ์๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- appearance : (์์ฑ)์ ํํญ๋ชฉ ํํ๋ฐฉ์<br/>- setNodeSet : (ํจ์)Radio์ปดํฌ๋ํธ์ DataList ๋ฐ์ธ๋ฉ<br/>- 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์ด ๋ชฉ๋ก(์ฝค๋ณด)ํ์ธ ๊ฒฝ์ฐ ์ ๋ ฌํ ๋ฐ์ดํฐ์ ์ถ์ฒ๋ฅผ ์ค์ ํ๋ ์์ ์
๋๋ค.<br/>์ ๋ ฌํ ๋ฐ์ดํฐ์ ์ถ์ฒ์ ๊ธฐ๋ณธ ์ค์ ๊ฐ์ value์
๋๋ค. ์ค์ ์ ํตํด label๋ก ์ง์ ํ ์ ์์ต๋๋ค.<br/>์ ์ฉ ๊ฐ๋ฅํ 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='์บ๋ฆฐ๋์ ์์ผ ์์ญ์ ๋ธ๋ผ์ฐ์ ์ ํํํ๋ ๋ฐฉ๋ฒ์ ์ค์ ์์ ์
๋๋ค. <br/>์ค์ ์ ํตํด ์ด๋ฏธ์ง ๋๋ ๋ฌธ์์ด๋ก ํํํ ์ ์์ต๋๋ค.'
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" ์ค์ ์ ์์ ์
๋๋ค.<br/>์์ฑ "windowMoveType"์ ๋ง์ฐ์ค Drag&Drop์ ํตํด ์ด๋๋ ์๋์ฐ์ ์ขํ๊ฐ WindowContainer์ ์์ญ์ ๋ฐ์ธ ๊ฒฝ์ฐ ๋์ํฉ๋๋ค.<br/>์ค์ ์ ๋ฐ๋ผ ์๋์ฐ์ ์์น๋ฅผ ์์ญ ์์ชฝ์ผ๋ก ์์น ์ํค๊ฑฐ๋ ๋ง์ฐ์ค ํฌ์ธํฐ์ ์ขํ์ ๋ฐ๋ผ ์๋์ฐ๋ฅผ ์์น ์ํฌ์ง๋ฅผ ๊ฒฐ์ ํ ์ ์์ต๋๋ค.'
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" ์ค์ ์ ์์ ์
๋๋ค.<br/>์ต์
"trim"์ ์
๋ก๋ํ ์์
ํ์ผ์ ์
๋ฐ์ดํฐ์ trim(์๋ค ๊ณต๋ฐฑ ์ ๊ฑฐ)์ ์ ์ฉํ๋ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค.<br/>[์์
์
๋ก๋ ํ์ผ ๋ค์ด๋ก๋] ๋ฒํผ์ ํด๋ฆญํ์ฌ ๋ฏธ๋ฆฌ ์์ฑ๋ ์์
์์์ผ๋ก ์
๋ก๋ ํ
์คํธ๋ฅผ ์งํํ๋ ๊ฒ์ ๊ถ์ฅํฉ๋๋ค.'
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๋ก ํ ๋น๋ ๊ฐ์ด ํํ๋ ๊ฒ์ ๋น๊ตํฉ๋๋ค.<br/>์
๋ ฅ ์์์ ์์ฑ 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 ์์ ์
๋๋ค.<br/>์ด๋ฒคํธ ๋ฐ์ ์กฐ๊ฑด์ ์๋์ ๊ฐ์ต๋๋ค.<br/>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 ์์ญ์ผ๋ก ๋ง์ฐ์ค๋ฅผ ์ด๋ํ๋ค๊ฐ ์์ญ ๋ฐ์ผ๋ก ๋ง์ฐ์ค๋ฅผ ์ด๋ํฉ๋๋ค.<br/>์ด๋ฒคํธ ๋ก๊ทธ๊ฐ [๋ก๊ทธ ํ์ธ] ์์ญ๊ณผ ๊ฐ๋ฐ์ ๋๊ตฌ ์ฝ์์ ์ถ๋ ฅ๋ฉ๋๋ค." 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') ์ต์
์ค ๊ณตํต์ผ๋ก ์คํ์ผ์ ์ ์ฉํ ์ ์๋ ์ต์
์ค์ ์ ์์ ์
๋๋ค.<br/>์คํ์ผ์ ์ง์ ํ ์ ์๋ ์ต์
์ ์๋์ ๊ฐ์ต๋๋ค."
style="">
</w2:textbox>
<w2:textbox class="" escape="false" id=""
label="- rowHeight : [default: ์์] Excel ํ์ผ๋ก ๋ค์ด๋ก๋ ํ ๋ ์์
์ ์
๋์ด. (๋จ์: pixel)<br/>- 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 ์ปดํฌ๋ํธ์ ์ ํ ๋ชฉ๋ก ์์์ ๋ง์ฐ์ค ์คํฌ๋กค๋ง ์ ์ ํ ๋ชฉ๋ก ์ด ์คํฌ๋กค๋๋ ๊ฒ์ ๋ฐฉ์งํ๋ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ์ผ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- tooltipDisplay : ์ฌ์ฉ์๊ฐ ์ ํํ ๊ฐ์ ๋ํ ํดํ ํ์ ์ฌ๋ถ.<br/>- 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์ ์ปฌ๋ผ์ ์ ์ฉ๋ ํํฐ๋ฅผ ํด์ ํ๋ ์์ ์
๋๋ค.<br/>"
style="">
</w2:textbox>
<w2:textbox escape="false" id=""
label="ํํฐ๋ฅผ ํด์ ํ๋ ํจ์๋ 2๊ฐ์ง๊ฐ ์์ผ๋ฉฐ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- removeColumnFilter : ์ปฌ๋ผ ๋จ์๋ก ํํฐ๋ฅผ ํด์ ํฉ๋๋ค.<br/>- 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' ์์์
๋๋ค.<br/>๊ฐ ํญ์ ์ ๋ณด๋ฅผ JSON์ผ๋ก ๊ตฌ์ฑํ์ฌ Array๋ก ๋ฐํํฉ๋๋ค." style=""></w2:textbox>
<w2:textbox class="ws_example_txt_desc_info" escape="false" id=""
label="๋ฒํผ์ ํด๋ฆญํ๋ฉด '๋ก๊ทธ ํ์ธ' ์์ญ๊ณผ ๋ธ๋ผ์ฐ์ ๊ฐ๋ฐ์๋๊ตฌ์ ์ฝ์์ ๋ก๊ทธ๊ฐ ์ถ๋ ฅ๋ฉ๋๋ค.<br/>๋ก๊ทธ๋ฅผ ํตํด ๋ฐํ๋๋ ๋ฐ์ดํฐ๋ฅผ ํ์ธํ ์ ์์ต๋๋ค." 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"๋ฅผ ์
๋ ฅ ํ ๋ชฉ๋ก์์ ํญ๋ชฉ์ ํด๋ฆญํ๊ฑฐ๋ ๋ฐฉํฅํค๋ฅผ ์ด์ฉํ์ฌ ํญ๋ชฉ์ ์ ํํฉ๋๋ค.<br/>๋ก๊ทธ ํ์ธ ์์ญ์ ๋ก๊ทธ๊ฐ ์ถ๋ ฅ๋ฉ๋๋ค.'
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<br/>ํค ์
๋ ฅ ํ์ฉ' 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) ์ ํ ์ ์ ํ ๋ฒ์๋ฅผ ๋น๊ตํ๋ ์์ ์
๋๋ค.<br/>๊ธฐ๋ณธ ์ค์ ์ ์
(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๊ฐ ์๋ ๊ฒฝ์ฐ ๋ฉ์์ง ์ถ๋ ฅ ์์ ์
๋๋ค.<br/>noResultMessage ์ถ๋ ฅ์ ๊ธฐ๋ณธ ๋์์ ์ฐ๊ฒฐ๋ DataList์ ๋ฐ์ดํฐ๊ฐ ์์ด ์ต์ด ๋ก๋ฉ๋ ๊ฒฝ์ฐ์๋ noResultMessage๊ฐ ์ถ๋ ฅ๋์ง ์๋ ๊ฒ์
๋๋ค.<br/>์ค์ ์ ํตํด 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<br/>[๊ธฐ๋ณธ ์ค์ ] ์ ํ๋ ํญ๋ชฉ์ ๊ตฌ๋ถ์๋ฅผ ์ค์ ํ์ง ์์"
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<br/>์ ํ๋ ํญ๋ชฉ์ ๊ตฌ๋ถ์๋ฅผ ,๋ก ์ค์ ' 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์ ์ปดํฌ๋ํธ์ ํญ๋ชฉ์ ์ฐ๋ํ๋ ์์์
๋๋ค.<br/>ํ๋ฉด์์๋ ํ๋ฉด์ด ๋ก๋ฉ๋๋ฉด ๊ณตํต Function์ ํธ์ถํ๋ฉฐ ์ฝ๋์ ์ปดํฌ๋ํธ์ ์ ๋ณด๋ฅผ ๋๊ฒจ์ฃผ๋๋ก ๋์ด์์ต๋๋ค.<br/>(์คํฌ๋ฆฝํธ์ scwin.onpageload function ์ฐธ์กฐ)<br/><br/>๊ณตํต Function์์์ ์ฃผ์ ๊ธฐ๋ฅ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.( /js/eduCommon.js์ com.setCommonCode ์ฐธ๊ณ )<br/>- DataCollection ๋์ ์์ฑ<br/>- ์ปดํฌ๋ํธ์ ItemSet ๋์ ์ค์ <br/>- 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">ํด๋ํฐ&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">๋ด๋น&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">
๋ด๋น&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์ ์
์ ๋ฐ์ดํฐ๋ฅผ ๋ฐํ๋ฐ๋ ์์ ์
๋๋ค.<br/>์ด ์์ ๋ GridView์ ํจ์ 'getCellDisplayData'์ DataList์ ํจ์ 'getCellData'๋ฅผ ์ฌ์ฉํ์์ต๋๋ค.<br/>๊ฐ ํจ์์ ๊ธฐ๋ฅ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- [GridView] getCellDisplayData: GridView์ ์ถ๋ ฅ๋ ๋ฐ์ดํฐ๋ฅผ ๋ฐํํฉ๋๋ค.<br/>- [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์ ์์ฑ์ ์คํฌ๋ฆฝํธ๋ก ์ ์ฉํ๋ ์์ ์
๋๋ค.<br/>์ด ์์ ๋ FusionChart์ ํจ์ 'setChartAttribute'๋ฅผ ์ฌ์ฉํ๋ ๊ธฐ๋ณธ ๊ตฌ๋ฌธ์ ์๋ดํ๊ณ ์ ์์ฑ๋์ด ์์ต๋๋ค.<br/>์ฃผ๋ก ์ฌ์ฉ๋๋ ์์ญ๋ณ(ํดํ, ํธ๋ ๋๋ผ์ธ ๋ฑ) ์์ฑ ์ ์ฉ ๋ฐฉ๋ฒ์ ๋ณ๋์ ์์ ๋ก ์ ๊ณต๋ฉ๋๋ค."
style=""></w2:textbox>
<w2:textbox escape="false" id="" label='FusionChart์ ๋ชจ๋ ์์ฑ : <a href="https://www.fusioncharts.com/dev/chart-attributes/" target="_blank">https://www.fusioncharts.com/dev/chart-attributes/</a>' 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์ปดํฌ๋ํธ๋ฅผ ๊ณ์ธต ๊ตฌ์กฐ์ ๋ฐ์ดํฐ๋ฅผ ์ ํ ํญ๋ชฉ์ผ๋ก ํ์ํ๋ ๋ฐฉ๋ฒ์ ๊ดํ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ์ผ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- depthColumn : ๋ชฉ๋ก์ ๊ณ์ธต ๊ตฌ์กฐ๋ก ๋ณด์ฌ์ค ๋ ์ฌ์ฉํ๋ ์์ฑ.<br/>- depthColumnHeight : depthColumn ๊ธฐ๋ฅ ์ฌ์ฉ ์ ๋ชฉ๋ก์ ๋์ด ๊ฐ.<br/>- 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์ ์ฐ๊ฒฐํ์ฌ ์ ํ ํญ๋ชฉ์ ํ์ํ ๊ฒฝ์ฐ,<br/>์ฐ๊ฒฐ๋ DataList์ ํน์ ์ปฌ๋ผ ๊ฐ์ ๊ธฐ์ค์ผ๋ก ์ผ๋ถ ์ ํ ํญ๋ชฉ์ ์จ๊ธฐ๋ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ๊ณผ ํจ์๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- visibleColumn : (์์ฑ)์ ํ ํญ๋ชฉ ๋ชฉ๋ก์์ ํน์ ํญ๋ชฉ์ ๊ฐ์ถ๋ ๊ธฐ๋ฅ<br/>- visibleColumnFalseValue : (์์ฑ)visibleColumn ์ฌ์ฉ ์ ๋ชฉ๋ก์์ ํน์ ํญ๋ชฉ์ ๊ฐ์ถ๊ธฐ ์ํ ์กฐ๊ฑด์ ํด๋นํ๋ ๊ฐ<br/>- 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์ ์ค์ ๊ฐ ๋น๊ต ์์ ์
๋๋ค.<br/>Input์ ์์ฑ์ ์๋์ ๊ฐ์ด ์ค์ ํ๋ฉด ์ฌ์ฉ์๊ฐ ์
๋ ฅํ ์ซ์ํ ๋ฐ์ดํฐ๊ฐ 3์๋ฆฌ ๋ง๋ค ,๊ฐ ํฌํจ๋ฉ๋๋ค.<br/>- dataType : number ๋๋ bigDecimal<br/>- displayFormat : #,###<br/>"
style="margin-bottom: 10px;">
</w2:textbox>
<w2:textbox escape="false" id="" label="์์ฑ applyFormat์ ์ง์ ํ ๊ฐ์ ๋ฐ๋ผ ํฌ๋งท ์ ์ฉ์ ์์ ์ด ๋ฌ๋ผ์ง๋๋ค.<br/>" 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" ์ค์ ์ ์์ ์
๋๋ค.<br/>์์ฑ "nameLayerRearrange"๋ ์๋์ฐ ์ ์ด ์์ด์ฝ์ ์์น๋ฅผ ์ง์ ํ๋ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค.<br/>์์ญ๋ณ ์๋์ฐ ์ ์ด ์์ด์ฝ์ ์์น๋ฅผ ๋น๊ตํฉ๋๋ค.'
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์ ๊ธฐ๋ณธ ์ฐฝ์ ํฌ๊ธฐ๋ฅผ ์ง์ ํ๋ ์์ ์
๋๋ค.<br/>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๋ก ์ง์ ๋์ด์์ต๋๋ค.<br/>๋ ๋ฒ์งธ ํญ์ด ๋นํ์ฑํ๋ ์ํ์
๋๋ค." 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์ปดํฌ๋ํธ์์ ์ ํํ ๋ฐ์ดํฐ๋ฅผ ๊ฒ์ฆํ๋ ๊ฒ์ ๊ดํ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ๊ณผ ํจ์๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- mandatory : (์์ฑ)mandatory="true"์ธ ๊ฒฝ์ฐ, validate(); ํจ์๋ ๊ฒ์ฆ์ ์ํํ์ฌ ๊ฒฐ๊ณผ๋ฅผ true/false๋ก ๋ฐํ<br/>- displaymessage : (์์ฑ)๊ฒ์ฆ ์คํจ ์ Engine ๋ด๋ถ์ ์ ์๋ ๋ฉ์์ง ํ์<br/>- invalidMessage : (์์ฑ)๊ฒ์ฆ ๊ฒฐ๊ณผ๊ฐ ์คํจ์ผ ๊ฒฝ์ฐ, ์์ฑ์ ์ง์ ํ ๊ฐ์ ๋ฉ์์ง ํ์<br/>- invalidMessageFunc : (์์ฑ)๊ฒ์ฆ ๊ฒฐ๊ณผ๊ฐ ์คํจ์ผ ๊ฒฝ์ฐ, ์ฌ์ฉ์ ์ง์ ํจ์ ๋ฐํ<br/>- 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๋ฅผ ์ฐ๊ฒฐํ์ฌ ์ ํ ํญ๋ชฉ์ ์ค์ ํ๋ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ๊ณผ ํจ์๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- appearance : (์์ฑ)์ ํํญ๋ชฉ ํํ๋ฐฉ์<br/>- setNodeSet : (ํจ์)SelectBox์ปดํฌ๋ํธ์ DataList ๋ฐ์ธ๋ฉ<br/>- 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์ ํธ๋ ๋๋ผ์ธ์ ์คํฌ๋ฆฝํธ๋ก ์ถ๊ฐํ๋ ์์ ์
๋๋ค.<br/>FusionChart์ ํจ์ 'addTrendLine'์ผ๋ก ๊ตฌํํ ์ ์์ผ๋ฉฐ, ํธ๋ ๋๋ผ์ธ์ ์ฃผ์ ์์ฑ์ ์ค์ฌ์ผ๋ก ์์ฑ๋์์ต๋๋ค."
style="">
</w2:textbox>
<w2:textbox escape="false" id=""
label='FusionChart์ ๋ชจ๋ ์์ฑ : <a href="https://www.fusioncharts.com/dev/chart-attributes/" target="_blank">https://www.fusioncharts.com/dev/chart-attributes/</a>'
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์
๋๋ค.<br/>์ปดํฌ๋ํธ์ 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<br/>์ฐ์๋ ์ ํ ํญ๋ชฉ ํ์ ์ค์ ' 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 ํค ์
๋ ฅ ์<br/>Cell์ด ์ถ๋ ฅ๋ชจ๋์ธ ๊ฒฝ์ฐ๋ ์์ ๋ชจ๋๋ก ๋ณ๊ฒฝ<br/>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 ํค ์
๋ ฅ ์<br/>Cell์ด ์ถ๋ ฅ๋ชจ๋์ธ ๊ฒฝ์ฐ๋ ์์ ๋ชจ๋๋ก ๋ณ๊ฒฝ<br/>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'์ ์ค์ ๊ฐ ๋น๊ต ์์ ์
๋๋ค.<br/>GridView์ ๋์ผํ DataList๋ฅผ ์ฐ๊ฒฐํ์์ต๋๋ค.<br/>์ค์ ๊ฐ์ ๋ฐ๋ผ 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: ์๋ ๋ณํฉ์ ์ฌ์ฉํ์ง ์์.<br/>- bycol: column ๋ด์์ ์ฐ์์ ์ผ๋ก ๋ฐ์ดํฐ๊ฐ ๊ฐ์ cell๋ค์ ๋ณํฉ.<br/>- byrow: row ๋ด์์ ์ฐ์์ ์ผ๋ก ๋ฐ์ดํฐ๊ฐ ๊ฐ์ cell๋ค์ ๋ณํฉ.<br/>- bycolrec: 'bycol' ์กฐ๊ฑด์ ์ ์ฉํ๊ณ , ๋ณํฉ๋์ง ์์ cell๋ค์ ๋์์ผ๋ก 'byrow' ์กฐ๊ฑด์ ์ ์ฉ.<br/>- byrowrec: 'byrow' ์กฐ๊ฑด์ ์ ์ฉํ๊ณ , ๋ณํฉ๋์ง ์์ cell๋ค์ ๋์์ผ๋ก 'bycol์' ์กฐ๊ฑด์ ์ ์ฉ.<br/>- byrestriccol: column ๋ด์์ ์ฐ์์ ์ผ๋ก ๋ฐ์ดํฐ๊ฐ ๊ฐ์ cell์ ๋ณํฉ. ๋ ๋ฒ์งธ ์ปฌ๋ผ๋ถํฐ ์ผ์ชฝ์ ์ปฌ๋ผ์ด ๋ณํฉ๋ ๊ฒฝ์ฐ๋ง ์ ์ฉ.<br/>- 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' ์์์
๋๋ค.<br/>์ด ํจ์๋ ๋น๋๊ธฐ๋ก ์คํ๋๊ธฐ ๋๋ฌธ์ ํญ ์ ํ์ด ์๋ฃ๋ ํ ๋ก์ง์ ๊ตฌ์ฑํด์ผ ํ๋ค๋ฉด ํค์๋ 'await'์ 'async'๋ฅผ ์ฌ์ฉํด์ผ ํฉ๋๋ค.<br/>์คํฌ๋ฆฝํธ์์ ์์ฑ ์์๋ฅผ ํ์ธํ ์ ์์ต๋๋ค."
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์ ์ปฌ๋ผ ๋ฐ์ดํฐ์ ํํฐ๋ฅผ ์ ์ฉํ๋ ์์ ์
๋๋ค.<br/>์ด ์์ ๋ ํจ์ 'setColumnFilter'์ ์ฒซ ๋ฒ์งธ ์ธ์์ ์์ฑ 'type' ์ค์ ๊ฐ์ 'func'๋ก ์ง์ ํ ์์์
๋๋ค.<br/>์์ฑ 'type'์ ์ค์ ๊ฐ์ด 'func'๋ก ์ง์ ๋๋ฉด ์ฌ์ฉ์๊ฐ ์ ์ํ ํจ์๋ก ๊ฒ์ํฉ๋๋ค.<br/>ํจ์๋ ์์ฑ '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๋ก ๋ค์ด๋ก๋ ์ ๋ค์ด๋ก๋ํ ๋ฐ์ดํฐ๋ฅผ ์ง์ ํ๋ ์์ ์
๋๋ค.<br/>GridView์ ํจ์ 'saveCSV'์ ์ต์
'type'์ผ๋ก ๋ค์ด๋ก๋ํ ๋ฐ์ดํฐ๋ฅผ ์ง์ ํฉ๋๋ค." style="">
</w2:textbox>
<w2:textbox class="" escape="false" id=""
label="์ต์
์ ์ค๋ช
์ ์๋์ ๊ฐ์ต๋๋ค.<br/>- 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="๋ค์ด๋ก๋ํ ๋ฐ์ดํฐ๋ฅผ ํ๋ฉด์ ์ถ๋ ฅ๊ฐ์ผ๋ก ์ง์ ํ๊ณ ๊ตฌ๋ถ์๋ฅผ ','(์ผํ)๋ก ์ค์ ํ๊ณ ์ ํ ๋, ์ถ๋ ฅ๊ฐ์ ','(์ผํ)๋ฅผ ์ ๊ฑฐํ๋ ์ต์
์ ์ง์ ํ ์ ์์ต๋๋ค.<br/>๊ด๋ จ ์ต์
์ ์๋์ ๊ฐ์ต๋๋ค.<br/>- delim : [default: ';'] CSV ํ์ผ์์ ๋ฐ์ดํฐ๋ฅผ ๊ตฌ๋ถํ ๊ตฌ๋ถ์<br/>- 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" ํ์์ผ๋ก ํ์ํ๋ ์์ ์
๋๋ค.<br/>displayModeSync๋ ํธ์ง ๋ชจ๋์์ displayMode์์ ์ค์ ํ ํ์์ผ๋ก ํํํ๊ธฐ ์ํ ์ค์ ๊ฐ ์
๋๋ค.<br/>๋จ, 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์์ ์ ํ ๋ชฉ๋ก์ ์ค ํ๋๋ฅผ ์ ํํฉ๋๋ค.<br/>์ด ํ ๋ค์ ์ ํํด ํธ์ง ๋ชจ๋์ ๋ค์ด ๊ฐ์ ๋ "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์
๋๋ค.<br/>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์ ์บ๋ฆฐ๋์ ์ถ๋ ฅ๋ ๋ ์ง๋ฅผ ๋นํ์ฑํํ๋ ์์ ์
๋๋ค.<br/>์ง์ ํ ๋ ์ง์ ์ดํ ๋๋ ์ด์ ๋ ์ง๋ฅผ ๋นํ์ฑํ ํ ์ ์์ต๋๋ค.<br/>๋นํ์ฑํ ๋ ๋ ์ง๋ ์ฌ์ฉ์๊ฐ ์ ํํ ์ ์์ต๋๋ค.<br/>์ด ๊ธฐ๋ฅ์ ์ฌ์ฉ์๊ฐ ์
๋ ฅํ๋ ๋ ์ง, ๊ธฐ ์
๋ ฅ(ํ ๋น)๋ ๋ ์ง์ ๋ํด์๋ ์ ์ดํ์ง ์์ต๋๋ค.'
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="์บ๋ฆฐ๋์ ๋ ์ง ๋นํ์ฑํํ๊ธฐ - &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="์บ๋ฆฐ๋์ ๋ ์ง ๋นํ์ฑํํ๊ธฐ - &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์ ์
๋ ฅํ ๋ฐ์ดํฐ์ ์ข์ฐ ๊ณต๋ฐฑ ์ ๊ฑฐ ์์ ์
๋๋ค.<br/>์์ฑ trim, ltrim, rtrim ์ค์ ์ผ๋ก ๊ธฐ๋ฅ์ ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>์ด ๊ธฐ๋ฅ์ ์ปดํฌ๋ํธ์์ ์
๋ ฅ ์ปค์๊ฐ ๋ฒ์ด๋ ๋ ์ ์ฉ๋ฉ๋๋ค.<br/>'
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์ ์
๋ ฅ๊ฐ์ ๊ธธ์ด๋ฅผ ์ ํํ๋ ์์ ์
๋๋ค.<br/>์์ฑ maxLength, maxByteLength๋ฅผ ๋น๊ตํ ์ ์์ต๋๋ค.<br/>maxLength : ๊ธ์ ์๋ฅผ ๊ธฐ์ค์ผ๋ก ์ ํํฉ๋๋ค.<br/>maxByteLength : ์
๋ ฅ๊ฐ์ byte๋ก ๊ณ์ฐํ์ฌ ์ ํํฉ๋๋ค.<br/>maxByteLength๋ client ์ค์ ํ์ผ์ ์ ์ฉ๋ byteCheckEncoding์ ์ค์ ๊ฐ์ ๊ธฐ์ค์ผ๋ก ์๋์ ๊ฐ์ด ์ ์ฉ๋ฉ๋๋ค.'
style="">
</w2:textbox>
<w2:textbox escape="false" id="" label="- utf-8 : ํ๊ธ 1๊ธ์๊ฐ 3byte<br/>- euc-kr : ํ๊ธ 1๊ธ์๊ฐ 2byte<br/>"
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๊ธ์๋ฅผ ์
๋ ฅํ ์ ์์ต๋๋ค.<br/>ํ๊ธ์ ๊ฒฝ์ฐ ์
๋ ฅ ์ปค์๊ฐ ๋ฒ์ด๋ ๋ ์ ์ฉ๋ฉ๋๋ค." 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"์
๋๋ค.<br/>์ซ์, ์๋ฌธ์ ์ต๋ 4๊ธ์๋ฅผ ์
๋ ฅํ ์ ์์ต๋๋ค.<br/>ํ๊ธ์ ์ต๋ 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="์บ๋ฆฐ๋์ ๋ ์ง ๋นํ์ฑํํ๊ธฐ - &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="์บ๋ฆฐ๋์ ๋ ์ง ๋นํ์ฑํํ๊ธฐ - &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๋ก ์ง์ ๋์ด์์ต๋๋ค.<br/>๋ ๋ฒ์งธ ํญ์ด ๋นํ์ฑํ๋ ์ํ์
๋๋ค." 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์ ๋์ ์ฐจ์ด๋ฅผ ํ์ธํ๋ ์์ ์
๋๋ค.<br/>onchange: script ์์ผ๋ก ์กฐ์์ด๋ ์ฌ์ฉ์์ ํ๋ฉด ์กฐ์ ๋ฑ ์ปดํฌ๋ํธ์ ๊ฐ์ด ๋ณ๊ฒฝ๋๋ ๊ฒฝ์ฐ ๋ฐ์ํ๋ ์ด๋ฒคํธ<br/>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๋ฒ์ ๊ฐ์ ๋ณ๊ฒฝํฉ๋๋ค.<br/>1. AutoComplete 1๋ฒ์ ์ ํํด ๊ฐ์ ์ ํํ๊ณ "๋ก๊ทธ ํ์ธ" ์์ญ์์ ๋ก๊ทธ๋ฅผ ํ์ธํฉ๋๋ค.<br/>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๋ฒ์ ๊ฐ์ ๋ณ๊ฒฝํฉ๋๋ค.<br/>AoutoComplete 4๋ฒ์ onviewchange ์ด๋ฒคํธ๊ฐ ์ ์ฉ๋์ด AutoComplete3๋ฒ์ ์ด๋ฒคํธ๋ก AutoComplete4๋ฒ์ ๊ฐ์ ๋ณ๊ฒฝํด๋ ์ด๋ฒคํธ๋ ๋ฐ์ํ์ง ์์ต๋๋ค.<br/>1. AutoComplete 3๋ฒ์ ์ ํํด ๊ฐ์ ์ ํํ๊ณ "๋ก๊ทธ ํ์ธ" ์์ญ์์ ๋ก๊ทธ๋ฅผ ํ์ธํฉ๋๋ค.<br/>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์ ์ปฌ๋ผ ๋ฐ์ดํฐ์ ํํฐ๋ฅผ ์ ์ฉํ๋ ์์ ์
๋๋ค.<br/>์ด ์์ ๋ ํจ์ 'setColumnFilter'์ ์ฒซ ๋ฒ์งธ ์ธ์์ ์์ฑ 'condition' ์ค์ ๊ฐ์ ๋ฐ๋ฅธ ๊ฒฐ๊ณผ ๊ฐ์ ํ์ธํ ์ ์์ต๋๋ค."
style="">
</w2:textbox>
<w2:textbox escape="false" id=""
label="์์ฑ 'condition' ์ค์ ๊ฐ์ ๋ฐ๋ฅธ ๋์ ๋ฐฉ์์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- "and" : ๊ต์งํฉ์ผ๋ก, ์ด๋ฏธ ์ ์ฉ๋ ํํฐ ๋ฐ์ดํฐ์ ๋ณํฉํ๋ ์กฐ๊ฑด์
๋๋ค.<br/>- "or" : ํฉ์งํฉ์ผ๋ก, ์ด๋ฏธ ์ ์ฉ๋ ํํฐ ๋ฐ์ดํฐ์ ๋ณํฉํ๋ ์กฐ๊ฑด์
๋๋ค."
style="">
</w2:textbox>
<w2:textbox class="ws_example_txt_desc_info" id=""
label="ํจ์ ํธ์ถ ๋จ์๋ก ๋ฒํผ์ ๊ตฌ์ฑํ์์ต๋๋ค.<br/>์์์ ๋ง๊ฒ ๋ฒํผ์ ํด๋ฆญํ์ฌ GridView์ ์ถ๋ ฅ ๊ฒฐ๊ณผ๋ฅผ ํ์ธํฉ๋๋ค.<br/>๋ํ '๋ก๊ทธ ํ์ธ' ์์ญ๊ณผ ๋ธ๋ผ์ฐ์ ๊ฐ๋ฐ์๋๊ตฌ์ ์ฝ์์ ํํฐ ์กฐ๊ฑด์ด ์ถ๋ ฅ๋ฉ๋๋ค." 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๋ฅผ ๋ฐํ๋ฐ๋ ์์ ์
๋๋ค.<br/>์ด ๊ธฐ๋ฅ์ ์๋์ ํจ์๋ฅผ ํตํด ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- getSelectedTabID: ์ ํ๋ ํญ์ ID๋ฅผ ๋ฐํํฉ๋๋ค.<br/>- 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์ ์
์ ๋ฐ์ดํฐ๊ฐ ์ฐ์์ผ๋ก ๋ฐ๋ณต๋๋ ๊ฒฝ์ฐ ๋ณํฉํ๋ ๊ธฐ๋ฅ์ ๋น๊ตํ ์์์
๋๋ค.<br/>๋ณํฉ ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ ๋ฐฉ์์ ๋ ๊ฐ์ง๋ก ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- [๋ฐ๋ ์ปฌ๋ผ ์์ฑ] colMerge : ๋ฐ๋ณต๋๋ TD์ ๋ฐ์ดํฐ๋ฅผ ๋น ๋ฌธ์์ด๋ก ํ ๋นํ๊ณ ์ ์ ์ ๊ฑฐํ์ฌ ๋ณํฉ ํ์. ์ปฌ๋ผ ๋ด์์๋ง ๋์ํฉ๋๋ค.<br/>- [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์ ์๋๋ฅผ ์ธก์ ํ ์ ์์ต๋๋ค.<br/>๊ฐ ๋ฒํผ์ ํด๋ฆญํ์ฌ ๋ก์ง์ด ์ํ๋๋ ์๊ฐ์ ํ๋จ์ ๊ทธ๋ฆฌ๋๋ทฐ์์ ํ์ธํ ์ ์์ต๋๋ค." 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 ์ปดํฌ๋ํธ๋ฅผ ํ์ฉํ์ฌ ๊ตฌ์ฑํ ํ๋ฉด ์
๋๋ค.<br/>๋ฒํผ[์ผ์ ์ถ๊ฐ]๋ฅผ ํด๋ฆญํ๋ฉด GridView์ ์ผ์ ์ ์
๋ ฅํฉ๋๋ค.<br/>์
๋ ฅํ ์ผ์ ์ด ์ ํจํ๋ฉด 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<br/>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<br/>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)๋ฅผ ํ๋ ์์ ์
๋๋ค.<br/>๋ฌธ์์ด ์ ํ์ ๋ง์ฐ์ค ๋๋๊ทธ(Drag)๋ฅผ ํตํด ์ฌ์ฉํฉ๋๋ค.<br/>๊ธฐ๋ณธ ์ค์ ์ ๋ฐ์ดํฐ๊ฐ 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 - ๋ชจ๋ ํจ๋ ๋ซํ<br/>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 - ๋ชจ๋ ํจ๋ ์ด๋ฆผ<br/>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์ ์ฐ๊ฒฐํ์ฌ ์ ํ ํญ๋ชฉ์ ํ์ํ ๊ฒฝ์ฐ,<br/>์ฐ๊ฒฐ๋ DataList์ ํน์ ์ปฌ๋ผ ๊ฐ์ ๊ธฐ์ค์ผ๋ก ์ผ๋ถ ์ ํ ํญ๋ชฉ์ ์จ๊ธฐ๋ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ๊ณผ ํจ์๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- visibleColumn : (์์ฑ)์ ํ ํญ๋ชฉ ๋ชฉ๋ก์์ ํน์ ํญ๋ชฉ์ ๊ฐ์ถ๋ ๊ธฐ๋ฅ<br/>- visibleColumnFalseValue : (์์ฑ)visibleColumn ์ฌ์ฉ ์ ๋ชฉ๋ก์์ ํน์ ํญ๋ชฉ์ ๊ฐ์ถ๊ธฐ ์ํ ์กฐ๊ฑด์ ํด๋นํ๋ ๊ฐ<br/>- 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์ ์ ์ฒด ๋ฐ์ดํฐ๋ฅผ ๋ฐ๋ ํจ์ ์์์
๋๋ค.<br/>๋ฐํ๋๋ ๋ฐ์ดํฐ ์ ํ์ 4๊ฐ์ง์ด๋ฉฐ, ๊ฐ ์ ํ์ ๋ง๋ ํจ์๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.<br/>- JSON ํ์ : getAllJSON<br/>- 1์ฐจ์ Array ํ์ + ์ปฌ๋ผ ์ ๋ณด : getAllArray<br/>- 1์ฐจ์ Array ํ์ : getAllData<br/>- 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์ปดํฌ๋ํธ์ ํ์ ํญ๋ชฉ์ ์ด๊ณผ ํ์ ๋ณ๊ฒฝํ๋ ์์ ์
๋๋ค.<br/><br/>์ด ๊ธฐ๋ฅ์ ์๋์ ์์ฑ์ผ๋ก ์ฌ์ฉํ ์ ์์ต๋๋ค.<br/>- cols : ์ ํ ํญ๋ชฉ์ ํ์ํ ์ด์ ์<br/>- 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์ ์กฐ๊ฑด์ ๋ฐ๋ผ ์ค์ ํ๋ ์์ ์
๋๋ค.<br/>์ปฌ๋ผ [์ ํ]์ ๊ฐ์ ์กฐ๊ฑด์ผ๋ก ์ปฌ๋ผ [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&Drop ๊ธฐ๋ฅ์ ์ต์
์ค ํ๋์ธ "dataDragDropOther" ์์ฑ ์์ ์
๋๋ค.<br/>์์ฑ "dataDragDropOther"์ GridView ๋ด๋ถ์์์ ํ ์ด๋์ ๊ธ์งํ๋ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค.<br/>'
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&Drop์ผ๋ก GridView๋ด ํ์ ์ด๋์ด ๋ถ๊ฐํฉ๋๋ค.<br/>ํ์ Dragํ์ฌ ๋ค๋ฅธ GridView์ Dropํ๋ฉด ํ์ด ์ด๋๋ฉ๋๋ค.<br/>" 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&Drop ๊ธฐ๋ฅ์ ์ต์
์ค ํ๋์ธ "dataDragDropStatus" ์์ฑ ์์ ์
๋๋ค.<br/>์์ฑ "dataDragDropStatus"์ Drag&Drop์ ํตํด GridView ๋ด๋ถ์์ ํ์ด ์ด๋๋ ๊ฒฝ์ฐ rowStatus(ํ ์ํ)๋ฅผ ๋ณ๊ฒฝํ์ง ์๋ ๊ธฐ๋ฅ์ ์ ๊ณตํฉ๋๋ค.<br/>ํ 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&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&Drop์ผ๋ก ์ด๋๋ ํ์ rowStatus(์ํ)๋ฅผ ๋ณ๊ฒฝํ์ง ์์ต๋๋ค.<br/>" 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์ ์ฐ๋ํ๋ ์์ ์
๋๋ค.<br/>์ ํ ํญ๋ชฉ์ ํ์ํ 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 ๊ฐ์ด ํ์๋ฉ๋๋ค.<br/>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์
๋๋ค.<br/>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> |