path
stringlengths
25
150
xml
stringlengths
502
72.2k
WRE/WebContent/cm/template/design_system/xml/input.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:type>COMPONENT</w2:type> <w2:buildDate/> <w2:MSA/> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dataList3" saveRemovedData="true"> <w2:columnInfo> <w2:column id="col1" name="name1" dataType="text"></w2:column> <w2:column id="col2" name="name2" dataType="text"></w2:column> <w2:column id="col3" name="name3" dataType="text"></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="dk_top_box" id="" style="" tagname=""> <w2:textbox class="con_tit" id="" label="Forms" style=""></w2:textbox> <w2:textbox class="con_txt" escape="false" id="" label="์‚ฌ์šฉ์ž๊ฐ€ ๋ฐ์ดํ„ฐ๋ฅผ ์ง์ ‘ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ๋Š” ์ž…๋ ฅํผ๋“ค์ž…๋‹ˆ๋‹ค. " style=""> </w2:textbox> <xf:group class="" id="primary" style=""></xf:group> <xf:group class="tab_anchor" id="" style="" tagname="ul"> <xf:group class="on" id="" tagname="li"> <w2:anchor class="" id="" outerDiv="false" style=""> <xf:label><![CDATA[Examples]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Snippet]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Dark Theme]]></xf:label> </w2:anchor> </xf:group> </xf:group> </xf:group> <xf:group class="dk_contbox" id="" style=""> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="Basic Form" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="๋ชจ๋“  ์ž…๋ ฅ์ฐฝ์— ๊ณตํ†ต์ ์œผ๋กœ ์ ์šฉ๋˜๋Š” ๊ธฐ๋ณธ์ ์ธ ์Šคํƒ€์ผ์ž…๋‹ˆ๋‹ค. ์ƒํƒœ์— ๋งž๊ฒŒ ์ ์ ˆํ•œ ์Šคํƒ€์ผ์„ ์ ์šฉํ•ด, ์‚ฌ์šฉ์ž๊ฐ€ ํ˜„์žฌ ์ƒํƒœ๋ฅผ ํŒŒ์•…ํ•˜๊ธฐ ์‰ฝ๋„๋ก ํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="lybox col4" id="" style=""> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Normal form" style="" tagname="h3"></w2:textbox> <xf:group class="rt" id="" style=""></xf:group> </xf:group> <xf:input class="" id="" style="width:148px;" initValue="value"></xf:input> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Focused form" style="" tagname="h3"></w2:textbox> <xf:group class="rt" id="" style=""></xf:group> </xf:group> <xf:input class="w2input_focus" id="" style="width:148px;" initValue="value"></xf:input> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Disabled form" style="" tagname="h3"></w2:textbox> <xf:group class="rt" id="" style=""></xf:group> </xf:group> <xf:input class="" id="" style="width:148px;" disabled="true" initValue="value"></xf:input> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Readonly form" style="" tagname="h3"></w2:textbox> <xf:group class="rt" id="" style=""></xf:group> </xf:group> <xf:input class="" id="" initValue="value" style='width:148px;' readOnly="true"></xf:input> </xf:group> </xf:group> <xf:group class="line_gray" id="second" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="ํ•„์ˆ˜์ž…๋ ฅ" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label='ํ•„์ˆ˜๋กœ ์ž…๋ ฅํ•ด์•ผ ํ•˜๋Š” ์ž…๋ ฅํผ์˜ ๊ฒฝ์šฐ , ๋ ˆ์ด๋ธ”์˜ ์ขŒ์ธก์— &lt;span class="req"&gt;&lt;/span&gt;๋ฅผ &amp;nbsp;์ถ”๊ฐ€ํ•˜๊ณ , ํผ์š”์†Œ์—๋Š” &amp;nbsp;Background color ๋ฅผ ์ ์šฉํ•ด ์ค๋‹ˆ๋‹ค.' style=""> </w2:textbox> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="ํ•„์ˆ˜์ž…๋ ฅ" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <xf:input class="req" id="" initValue="value" style="width:148px;"></xf:input> <xf:select1 allOption="true" appearance="minimal" chooseOption="" class="req" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="" ref="" renderType="" style="width: 148px;" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="req" id="" label="ํ•„์ˆ˜์ž…๋ ฅ" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> <w2:inputCalendar calendarValueType="yearMonthDate" class="req" focusOnDateSelect="false" footerDiv="true" id="" renderDiv="true" renderType="" rightAlign="false" style="width: 120px;"> </w2:inputCalendar> <w2:span id="" label="~" style=""></w2:span> <w2:inputCalendar calendarValueType="yearMonthDate" class="req" focusOnDateSelect="false" footerDiv="true" id="" renderDiv="true" renderType="" rightAlign="false" style="width: 120px;"> </w2:inputCalendar> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="subtitbox" id="" style="" tagname=""></xf:group> <xf:group adaptiveThreshold="" class="gvwbox" id="" style=""></xf:group> <xf:group class="line_gray" id="group7" style="" tagname="hr"></xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Invalid Form" style="" tagname="h3"></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="์ž…๋ ฅํผ์— ์œ ํšจ์„ฑ๊ฒ€์‚ฌ๋ฅผ ์ œ๊ณตํ•˜์—ฌ , ์ž˜๋ชป ์ž…๋ ฅ ์‹œ ์˜ค๋ฅ˜๋ฉ”์‹œ์ง€๋ฅผ ์ถœ๋ ฅํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <xf:group class="lybox col3" id="" style=""> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Invalid form" style="" tagname="h3"></w2:textbox> </xf:group> <xf:input class="w2input_error" fireEventOnInvalid="true" id="" initValue="Invalid value" style="width:148px;"></xf:input> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Invalid form with description" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group id=""> <xf:input class="w2input_error" id="" initValue="Invalid value" style="width:148px;"></xf:input> </xf:group> <w2:textbox class="w2input_errormessage" dataType="" id="" label="์ผํšŒ์šฉ ๋กœ๊ทธ์ธ ๋ฒˆํ˜ธ๋ฅผ ์ž…๋ ฅํ•˜์„ธ์š”." style=""></w2:textbox> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <xf:group class="rt" id="" style=""></xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="line_gray" id="group4" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="๊ธฐ๋ณธ ์ž…๋ ฅํผ" style=""></w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <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="width:20%;"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th tac" style="" tagname="th"> <w2:textbox class="" id="" label="์œ ํ˜•" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group tagname="th" class="w2tb_th tac" style=""> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ˜•ํƒœ" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group tagname="th" class="w2tb_th tac" style=""> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="์„ค๋ช…" ref="" style="" userData2=""></w2:textbox> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group class="w2tb_td tac" tagname="td" style=""> Inputbox <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%"></xf:input> </xf:group> <xf:group tagname="td" class="w2tb_td"> -&amp;nbsp;ํ•œ&amp;nbsp;์ค„&amp;nbsp;ํ…์ŠคํŠธ๋ฅผ&amp;nbsp;์ž…๋ ฅํ•˜๋Š”&amp;nbsp;๊ฒฝ์šฐ์—&amp;nbsp;์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.&amp;nbsp; <br></br> -&amp;nbsp;ํ…Œ์ด๋ธ”&amp;nbsp;์ปฌ๋Ÿผ&amp;nbsp;์•ˆ์˜&amp;nbsp;Inputbox์˜&amp;nbsp;width๊ฐ’์€&amp;nbsp;100%๋กœ&amp;nbsp;์ž‘์„ฑํ•˜๋‚˜,&amp;nbsp;ํ•„์š”ํ•œ&amp;nbsp;๊ฒฝ์šฐ&amp;nbsp;์ผ์ •์‚ฌ์ด์ฆˆ๋กœ&amp;nbsp;๊ณ ์ •์‹œํ‚ต๋‹ˆ๋‹ค.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; <br></br> <w2:attributes> <w2:scope>row</w2:scope> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> Textarea <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:textarea class="" id="" placeholder="" style="width:100%"></xf:textarea> </xf:group> <xf:group tagname="td" class="w2tb_td"> -&amp;nbsp;์—ฌ๋Ÿฌ&amp;nbsp;์ค„&amp;nbsp;ํ…์ŠคํŠธ๋ฅผ&amp;nbsp;์ž…๋ ฅํ•˜๋Š”&amp;nbsp;๊ฒฝ์šฐ&amp;nbsp;์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; <br></br> -&amp;nbsp;ํ•„์ˆ˜&amp;nbsp;์ž…๋ ฅํผ์€&amp;nbsp;๋ฐฐ๊ฒฝ์ปฌ๋Ÿฌ๋กœ&amp;nbsp;๊ตฌ๋ถ„์‹œํ‚ต๋‹ˆ๋‹ค.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; <br></br> -&amp;nbsp;์ž…๋ ฅ&amp;nbsp;๋ถˆ๊ฐ€ํผ(๋น„ํ™œ์„ฑ)์€&amp;nbsp;๋ฐฐ๊ฒฝ์ปฌ๋Ÿฌ๋กœ&amp;nbsp;๊ตฌ๋ถ„์‹œํ‚ต๋‹ˆ๋‹ค. <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> Radio <w2:attributes></w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td tac"> <w2:attributes></w2:attributes> <xf:select1 appearance="full" cols="" disabled="" id="" ref="" renderType="radiogroup" rows="" selectedIndex="0" style=""> <xf:choices> <xf:item> <xf:label><![CDATA[Atype]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[Btype]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> <xf:group tagname="td" class="w2tb_td"> -&amp;nbsp;์—ฌ๋Ÿฌ&amp;nbsp;๊ฐœ์˜&amp;nbsp;ํ•ญ๋ชฉ&amp;nbsp;์ค‘&amp;nbsp;ํ•œ&amp;nbsp;ํ•ญ๋ชฉ๋งŒ&amp;nbsp;์„ ํƒํ•ด์•ผ&amp;nbsp;ํ•˜๋Š”&amp;nbsp;๊ฒฝ์šฐ&amp;nbsp;์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. <br></br> -&amp;nbsp;์ƒํ™ฉ์—&amp;nbsp;๋งž๊ฒŒ&amp;nbsp;์„ธ๋กœ&amp;nbsp;์ •๋ ฌ๊ณผ&amp;nbsp;๊ฐ€๋กœ&amp;nbsp;์ •๋ ฌ์„&amp;nbsp;ํ˜ผ์šฉํ•ด&amp;nbsp;์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค.&amp;nbsp;&amp;nbsp;&amp;nbsp; <br></br> -&amp;nbsp;๋””ํดํŠธ&amp;nbsp;ํ•ญ๋ชฉ์€&amp;nbsp;๊ฐ€์žฅ&amp;nbsp;์ค‘์š”ํ•œ&amp;nbsp;ํ•ญ๋ชฉ์œผ๋กœ&amp;nbsp;์ง€์ •ํ•ฉ๋‹ˆ๋‹ค.&amp;nbsp; <w2:attributes></w2:attributes> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> Checkbox <w2:attributes></w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td tac"> <w2:attributes></w2:attributes> <xf:select appearance="full" cols="" disabled="" id="" ref="" renderType="checkboxgroup" rows="" selectedindex="1" style=""> <xf:choices> <xf:item> <xf:label><![CDATA[Atype]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[Btype]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> </xf:choices> </xf:select> </xf:group> <xf:group tagname="td" class="w2tb_td"> -&amp;nbsp;๋‹ค์ค‘์œผ๋กœ&amp;nbsp;์„ ํƒํ•˜๋Š”&amp;nbsp;๊ฒฝ์šฐ&amp;nbsp;์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. <br></br> -&amp;nbsp;์ƒํ™ฉ์—&amp;nbsp;๋งž๊ฒŒ&amp;nbsp;์„ธ๋กœ&amp;nbsp;์ •๋ ฌ๊ณผ&amp;nbsp;๊ฐ€๋กœ&amp;nbsp;์ •๋ ฌ์„&amp;nbsp;ํ˜ผ์šฉํ•ด&amp;nbsp;์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. <w2:attributes></w2:attributes> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> Selectbox <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:select1 allOption="true" appearance="minimal" chooseOption="" class="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="" ref="" renderType="" style="width:100%" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[A TYPE]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[B TYPE]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[C TYPE]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[D TYPE]]></xf:label> <xf:value><![CDATA[]]></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> <xf:group tagname="td" class="w2tb_td"> -&amp;nbsp;์„ ํƒ&amp;nbsp;์˜ต์…˜์ด&amp;nbsp;4๊ฐœ&amp;nbsp;์ด์ƒ์ธ&amp;nbsp;๊ฒฝ์šฐ&amp;nbsp;์‚ฌ์šฉ์„&amp;nbsp;๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค.&amp;nbsp;&amp;nbsp;&amp;nbsp; <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> AutoComplete <w2:attributes></w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <w2:autoComplete allOption="" chooseOption="" editType="select" id="" ref="" search="start" style="width: 100%" submenuSize="auto" useKeywordHighlight="false"> <w2:choices> <w2:item> <w2:label><![CDATA[A]]></w2:label> <w2:value></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[AB]]></w2:label> <w2:value></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[ABC]]></w2:label> <w2:value></w2:value> </w2:item> <w2:item> <w2:label><![CDATA[ABCD]]></w2:label> <w2:value></w2:value> </w2:item> </w2:choices> </w2:autoComplete> </xf:group> <xf:group tagname="td" class="w2tb_td"> -&amp;nbsp;Select&amp;nbsp;Box์˜&amp;nbsp;ํ™•์žฅ&amp;nbsp;์ปดํฌ๋„ŒํŠธ๋กœ&amp;nbsp;ํŠน์ •&amp;nbsp;๋ฌธ์ž์—ด์—&amp;nbsp;๋Œ€ํ•œ&amp;nbsp;์ž๋™์™„์„ฑ&amp;nbsp;๋ฐ&amp;nbsp;๊ฒ€์ƒ‰๊ธฐ๋Šฅ์ด&amp;nbsp;์žˆ์Šต๋‹ˆ๋‹ค. <w2:attributes></w2:attributes> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="line_gray" id="group6" style="" tagname="hr"></xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Group of Form" style="" tagname="h3"></w2:textbox> <w2:textbox class="con_txt" escape="false" id="" label="๊ฒฝ์šฐ์— ๋”ฐ๋ผ ํผ์€ input, select, Trigger(๋ฒ„ํŠผ) ๋“ฑ๊ณผ ํ•จ๊ป˜ &amp;nbsp;๊ทธ๋ฃน์œผ๋กœ ๋ฌถ์—ฌ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค. " style=""> </w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:120px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th tac" style="" tagname="th"> <w2:textbox class="" id="" label="์œ ํ˜•" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_th tac" style="" tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="์ž…๋ ฅํ˜•์‹" ref="" style="" userData2=""></w2:textbox> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> ์กฐํšŒ <w2:attributes></w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:group id=""> <xf:input style="width:148px;" id="" placeholder="" class=""></xf:input> <xf:trigger style="" id="" type="button" class="btn_cm btn_search "> <xf:label><![CDATA[Search]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> ๊ธฐ๊ฐ„ <w2:attributes></w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:group id=""> <w2:inputCalendar footerDiv="true" rightAlign="false" focusOnDateSelect="false" style="width: 120px;" id="" renderType="" renderDiv="true" calendarValueType="yearMonthDate"> </w2:inputCalendar> <w2:span style="" id="" label="~"></w2:span> <w2:inputCalendar footerDiv="true" rightAlign="false" focusOnDateSelect="false" style="width: 120px;" id="" renderType="" renderDiv="true" calendarValueType="yearMonthDate"> </w2:inputCalendar> </xf:group> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> ๊ธˆ์•ก <w2:attributes></w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:group id=""> <xf:input dataType="number" editType="" style="width:148px;" id="" placeholder="" type="" class="tar"></xf:input> <w2:span style="" id="" label="์›"></w2:span> </xf:group> </xf:group> </xf:group> <xf:group tagname="tr" style=""> <xf:group tagname="td" class="w2tb_td tac"> ์ด๋ฉ”์ผ <w2:attributes></w2:attributes> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:group id=""> <xf:input style="width:148px;" id="" placeholder="" class=""></xf:input> <w2:span style="" id="" label="@"></w2:span> <xf:input style="width:148px;" id="" placeholder="" class=""></xf:input> <xf:select1 ref="" submenuSize="auto" appearance="minimal" disabledClass="w2selectbox_disabled" chooseOption="" disabled="false" style="width: 148px;" allOption="true" id="" renderType="" class="" direction="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[์ง์ ‘์ž…๋ ฅ]]></xf:label> <xf:value></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="ยท Data์˜ ์ •๋ ฌ๊ธฐ์ค€์— ๋”ฐ๋ฆ…๋‹ˆ๋‹ค. &lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;- ์šฐ์ธก์ •๋ ฌ : ๊ธˆ์•ก, ์ˆซ์ž ๋“ฑ ์ž๋ฆฟ์ˆ˜ ๊ตฌ๋ถ„๋˜๋Š” Data&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;- ์ขŒ์ธก์ •๋ ฌ : ์ฃผ์†Œ, ์ „ํ™”๋ฒˆํ˜ธ ๋“ฑ ๊ธ€์ž์ˆ˜๊ฐ€ ์ผ์ •์น˜ ์•Š์€ Data&lt;br/&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;- ์ค‘์•™์ •๋ ฌ : ๋‚ ์งœ ๋“ฑ Data ๊ธ€์ž์ˆ˜๊ฐ€ ์ผ์ •ํ•œ ๊ฒฝ์šฐ" style=""> </w2:textbox> </xf:group> </body> </html>
WRE/WebContent/cm/template/design_system/xml/table.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:type>COMPONENT</w2:type> <w2:buildDate/> <w2:MSA/> <xf:model> <w2:dataCollection baseNode="map"/> <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="dk_top_box" id="" style="" tagname=""> <w2:textbox class="con_tit" id="" label="Table" style=""></w2:textbox> <w2:textbox class="con_txt" escape="false" id="" label="html์˜ ํ…Œ์ด๋ธ”์„ ์˜๋ฏธํ•˜๋Š” ์ปดํฌ๋„ŒํŠธ์ด๋ฉฐ, ์—ฌ๋Ÿฌ๊ฐ€์ง€ ์œ ํ˜•์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="" id="primary" style=""></xf:group> <xf:group class="tab_anchor" id="" style="" tagname="ul"> <xf:group class="on" id="" tagname="li"> <w2:anchor class="" id="" outerDiv="false" style=""> <xf:label><![CDATA[Examples]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Snippet]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Dark Theme]]></xf:label> </w2:anchor> </xf:group> </xf:group> </xf:group> <xf:group class="dk_contbox" id="" style=""> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="์ž…์ถœ๋ ฅํ…Œ์ด๋ธ”" style=""></w2:textbox> </xf:group> <xf:group class="titbox" id="" style="" tagname=""> <w2:textbox class="subtxt" escape="false" id="" label="ยท ๊ฒ€์ƒ‰ ๊ฒฐ๊ณผ์˜ ์ถœ๋ ฅ๊ณผ ์‹ ๊ทœ Data ์ž…๋ ฅ ๋ฐ ์ˆ˜์ •์„ ์œ„ํ•œ ํ™”๋ฉด์— ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. &lt;br/&gt;ยท ์ž…๋ ฅ ๋ถˆ๊ฐ€ ํ•„๋“œ๋Š” Disabled ์ฒ˜๋ฆฌํ•˜๋ฉฐ , Background Color๋กœ ๊ตฌ๋ถ„์‹œํ‚ต๋‹ˆ๋‹ค. &lt;br/&gt;" style=""> </w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="ํ•„์ˆ˜ํ•ญ๋ชฉ" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <xf:input class="req" id="" placeholder="" style="width:148px;"></xf:input> <xf:trigger class="btn_cm btn_search " id="" style="" type="button"> <xf:label><![CDATA[Search]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="๊ธฐ๊ฐ„์กฐํšŒ" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" footerDiv="true" id="" renderDiv="true" renderType="" rightAlign="false" style="width: 120px;"> </w2:inputCalendar> <w2:span id="" label="~" style=""></w2:span> <w2:inputCalendar calendarValueType="yearMonthDate" focusOnDateSelect="false" footerDiv="true" id="" renderDiv="true" renderType="" rightAlign="false" style="width: 120px;"> </w2:inputCalendar> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group tagname="th" class="w2tb_th "> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="์ถœ๋ ฅํ•ญ๋ชฉ" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;" disabled="true"></xf:input> </xf:group></xf:group></xf:group> </xf:group> <xf:group class="line_gray" id="second" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="ํ…Œ์ด๋ธ” ์ปฌ๋Ÿผ ๋ถ„ํ• " style=""></w2:textbox> </xf:group> <xf:group class="titbox" id="" style="" tagname=""> <w2:textbox class="subtxt" escape="false" id="" label="ยท ์ž…์ถœ๋ ฅ ํ…Œ์ด๋ธ”์ด ์ƒํ•˜๋กœ ์—ฌ๋Ÿฌ ๊ฐœ ์œ„์น˜ํ•œ ๊ฒฝ์šฐ, ํ…Œ์ด๋ธ” ๋ณ„๋กœ ์—ด์˜ ๊ฐœ์ˆ˜๋‚˜ ๋น„์œจ์„ ๋‹ค๋ฅด๊ฒŒ ํ•˜๋Š” ๊ฒƒ์€ ์ง€์–‘ํ•˜๋ฉฐ, ๊ฐ€๋Šฅํ•œ ๊ทธ๋ฆฌ๋“œ๋ฅผ ๋งž์ถ”์–ด ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;ยท ์ž…๋ ฅํ•ญ๋ชฉ์ด ๋งŽ์„ ๊ฒฝ์šฐ ๊ทธ๋ฃนํ•‘์„ ํ•˜์—ฌ ์ž…์ถœ๋ ฅ ํ…Œ์ด๋ธ”์„ ๋‚˜๋ˆ„๋Š” ๊ฒƒ์„ ๊ถŒ์žฅํ•ฉ๋‹ˆ๋‹ค. " style=""> </w2:textbox> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="์„œ๋ธŒํƒ€์ดํ‹€" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"></xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="์„œ๋ธŒํƒ€์ดํ‹€" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"></xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes></w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes></w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="์„œ๋ธŒํƒ€์ดํ‹€" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <w2:attributes> <w2:colspan>3</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes></w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="guide_arrow type3" id="" style=""> <xf:group class="arrow" id="" style="width:150px;"> <xf:group id=""></xf:group> </xf:group> <xf:group class="arrow opy" id="" style="width:auto;"> <xf:group id=""></xf:group> </xf:group> <xf:group class="arrow" id="" style="width:150px;"> <xf:group id=""></xf:group> </xf:group> <xf:group class="arrow opy" id="" style="width:auto;"> <xf:group id=""></xf:group> </xf:group> </xf:group> <xf:group class="line_gray" id="group1" style="" tagname="hr"></xf:group> <xf:group id="" class="titbox"> <w2:textbox style="" id="" label="๊ฐ ํ…Œ์ด๋ธ”์˜ ๋น„์œจ์€ ๊ฐ€์ด๋“œ์— ๋”ฐ๋ผ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค. " class="subtxt" escape="false"></w2:textbox> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="1๋‹จํ…Œ์ด๋ธ”" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="guide_arrow type2" id="" style=""> <xf:group class="arrow" id="" style="width:150px;"> <xf:group id=""> <w2:span id="" label="1/4" style=""></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:auto;"> <xf:group id=""> <w2:span id="" label="3/4" style=""></w2:span> </xf:group> </xf:group> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="2๋‹จํ…Œ์ด๋ธ”" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> <xf:group style="width:150px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="" id="" label="ํ•„์ˆ˜ํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes></w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>3</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>3</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="guide_arrow type2" id="" style=""> <xf:group class="arrow" id="" style="width:150px;"> <xf:group id=""> <w2:span id="" label="1/6" style=""></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:auto;"> <xf:group id=""> <w2:span id="" label="2/6" style=""></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:150px;"> <xf:group id=""> <w2:span id="" label="1/6" style=""></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:auto;"> <xf:group id=""> <w2:span id="" label="2/6" style=""></w2:span> </xf:group> </xf:group> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="4๋‹จํ…Œ์ด๋ธ”" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:100px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> <xf:group style="width:100px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> <xf:group style="width:100px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> <xf:group style="width:100px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="ํ•„์ˆ˜ํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes></w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th" tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th" tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ•ญ๋ชฉํƒ€์ดํ‹€" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:100%;"></xf:input> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="guide_arrow type2" id="" style=""> <xf:group class="arrow" id="" style="width:25%;"> <xf:group id=""> <w2:span id="" label="1/4" style=""></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:25%;"> <xf:group id=""> <w2:span id="" label="1/4" style=""></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:25%;"> <xf:group id=""> <w2:span id="" label="1/4" style=""></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:25%;"> <xf:group id=""> <w2:span id="" label="1/4" style=""></w2:span> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/cm/template/design_system/xml/message.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:type>COMPONENT</w2:type> <w2:buildDate/> <w2:MSA/> <xf:model> <w2:dataCollection baseNode="map"/> <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" style=""> <xf:group class="dk_top_box" id="" style="" tagname=""> <w2:textbox class="con_tit" id="" label="Message" style=""></w2:textbox> <w2:textbox class="con_txt" escape="false" id="" label="์‚ฌ์šฉ์ž์˜ ํ–‰๋™์— ํ”ผ๋“œ๋ฐฑ์ด ํ•„์š”ํ•˜๊ฑฐ๋‚˜, ์•Œ๋ฆผ, ์ •๋ณด, ์˜ค๋ฅ˜๋“ฑ์„ ์ „๋‹ฌํ•  ๋•Œ ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="" id="primary" style=""></xf:group> <xf:group class="tab_anchor" id="" style="" tagname="ul"> <xf:group class="on" id="" tagname="li"> <w2:anchor class="" id="" outerDiv="false" style=""> <xf:label><![CDATA[Examples]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Snippet]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Dark Theme]]></xf:label> </w2:anchor> </xf:group> </xf:group> </xf:group> <xf:group class="dk_contbox" id="" style=""> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="Alerts Popup" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="ยท ๋‹จ์ˆœ ์•Œ๋ฆผ ์ฐฝ์€ ํ™•์ธ ๋ฒ„ํŠผ์„ ๋ฐฐ์น˜ํ•˜๊ณ , ์ง„ํ–‰ ์—ฌ๋ถ€๋ฅผ ํ™•์ธํ•˜๋Š” ์•Œ๋ฆผ ์ฐฝ์€ ํ™•์ธ, ์ทจ์†Œ ๋ฒ„ํŠผ์„ ๋ฐฐ์น˜ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;" style=""> </w2:textbox> <xf:group class="lybox temp" id="" style=""> <xf:group adaptiveThreshold="" class="ly_column col_6" id="" style=""> <xf:group class="ly_popup temp" id="" style=""> <xf:group class="ly_head" id="" style=""></xf:group> <xf:group class="ly_cont" id="" style=""> <w2:textbox class="txt1" id="" label="์ฒ˜๋ฆฌ์ค‘ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค. " style="" tagname="p"></w2:textbox> <w2:textbox class="txt2" escape="false" id="" label="์ฒ˜๋ฆฌ์ค‘ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค.&lt;br/&gt;์žฅ์• ๋ฌธ์˜ : [email protected]" style="" tagname="p"> </w2:textbox> <xf:group class="btnbox" id="" style=""> <xf:trigger class="btn_cm pt btn_pop" id="trigger1" style="" type="button"> <xf:label><![CDATA[ํ™•์ธ]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="ly_column col_4" id="" style=""> <xf:group class="ly_popup temp" id="" style="position: relative; left: 0; top: 0; margin: 0;"> <xf:group class="ly_head" id="" style=""></xf:group> <xf:group class="ly_cont" id="" style=""> <w2:textbox class="txt1" id="" label="์ €์žฅํ•˜์‹œ๊ฒ ์Šต๋‹ˆ๊นŒ? " style="" tagname="p"></w2:textbox> <xf:group class="btnbox" id="" style=""> <xf:trigger class="btn_cm pt btn_pop" id="trigger2" style="" type="button"> <xf:label><![CDATA[ํ™•์ธ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" id="" style="" type="button"> <xf:label><![CDATA[์ทจ์†Œ]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="line_gray" id="group6" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="Alerts Message" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="ยท ์ƒํ™ฉ์— ๋”ฐ๋ผ Info, Success, Warning, Error ์˜ ๋„ค๊ฐ€์ง€ ์ข…๋ฅ˜๋ฅผ ์ ์ ˆํžˆ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="subtitbox" id="" style="" tagname=""> </xf:group> <xf:group class="tblbox" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="600" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:80px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <xf:input class="" id="" placeholder="" style="width:148px;"></xf:input> <w2:textbox class="txt_error" dataType="" id="" label="Error Message" style=""></w2:textbox> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group class="w2tb_th " tagname="th"> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" tagname="td"> <w2:attributes> <w2:colspan>1</w2:colspan> <w2:rowspan>1</w2:rowspan> </w2:attributes> <xf:input class="" id="" placeholder="" style="width:148px;"></xf:input> <w2:textbox class="txt_success" dataType="" id="" label="Success Message" style=""></w2:textbox> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group tagname="th" class="w2tb_th "> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:148px;"></xf:input> <w2:textbox class="txt_info" dataType="" id="" label="Info Message" style=""></w2:textbox> </xf:group> </xf:group> <xf:group tagname="tr"> <xf:group tagname="th" class="w2tb_th "> <w2:attributes> <w2:scope>row</w2:scope> </w2:attributes> <w2:textbox class="" id="" label="ํ…Œ์ด๋ธ”ํ—ค๋”" ref="" style="" userData2=""></w2:textbox> </xf:group> <xf:group tagname="td" class="w2tb_td"> <w2:attributes></w2:attributes> <xf:input class="" id="" placeholder="" style="width:148px;"></xf:input> <w2:textbox class="txt_warning" dataType="" id="" label="Warning Message" style=""></w2:textbox> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="msgbox success" id="" style=""> <w2:textbox class="txt_success" for="" id="" label="Success Message" style="" tagname=""></w2:textbox> </xf:group> <xf:group class="msgbox error" id="" style=""> <w2:textbox class="txt_error" for="" id="" label="Error Message" style="" tagname=""></w2:textbox> </xf:group> <xf:group class="msgbox info" id="" style=""> <w2:textbox class="txt_info" for="" id="" label="Info Message" style="" tagname=""></w2:textbox> </xf:group> <xf:group class="msgbox warning" id="" style=""> <w2:textbox class="txt_warning" for="" id="" label="Warning Message" style="" tagname=""></w2:textbox> </xf:group> <xf:group class="line_gray" id="group7" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="Toasts" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="ยท ํ† ์ŠคํŠธ๋Š” ์šฐ์ธกํ•˜๋‹จ์— ๊ณ ์ •๋˜์–ด ๋‚˜ํƒ€๋‚˜๋ฉฐ ์ผ์ • ์‹œ๊ฐ„์ด ์ง€๋‚˜๋ฉด ์‚ฌ๋ผ์ง‘๋‹ˆ๋‹ค." style=""></w2:textbox> <xf:group class="msgbox toast" id="" style="margin-bottom:100px"> <w2:textbox class="" for="" id="" label="Toast Message" style="" tagname="span"></w2:textbox> </xf:group> </xf:group> </body> </html>
WRE/WebContent/cm/template/design_system/xml/button.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:type>COMPONENT</w2:type> <w2:buildDate/> <w2:MSA/> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dataList3" saveRemovedData="true"> <w2:columnInfo> <w2:column id="col1" name="name1" dataType="text"></w2:column> <w2:column id="col2" name="name2" dataType="text"></w2:column> <w2:column id="col3" name="name3" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row></w2:row> <w2:row></w2:row> <w2:row></w2:row> <w2:row></w2:row> <w2:row></w2:row> </w2:data> </w2:dataList> <w2:dataList baseNode="list" id="dataList1" repeatNode="map" saveRemovedData="true" style=""> <w2:columnInfo> <w2:column dataType="text" encYN="true" id="col1" name="ํƒ€์ดํ‹€"></w2:column> <w2:column dataType="text" id="col2" name="์ด๋ฆ„"></w2:column> <w2:column dataType="text" id="col3" name="์ฃผ์†Œ"></w2:column> <w2:column dataType="text" id="col4" name="๋‚ ์งœ"></w2:column> <w2:column dataType="text" id="col5" name="๊ธˆ์•ก"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <col1><![CDATA[๊ธˆ์ผ ์ผ์ • ์•ˆ๋‚ด์ž…๋‹ˆ๋‹ค.]]></col1> <col2><![CDATA[ํ™๊ธธ๋™]]></col2> <col3><![CDATA[์„œ์šธ์‹œ ๊ณตํ•ญ๋Œ€๋กœ]]></col3> <col4><![CDATA[2022-12-10]]></col4> <col5><![CDATA[100,000]]></col5> </w2:row> <w2:row> <col1><![CDATA[๊ธˆ์ผ ์ผ์ • ์•ˆ๋‚ด์ž…๋‹ˆ๋‹ค.]]></col1> <col2><![CDATA[ํ™๊ธธ๋™]]></col2> <col3><![CDATA[์„œ์šธ์‹œ ๊ณตํ•ญ๋Œ€๋กœ]]></col3> <col4><![CDATA[2022-12-11]]></col4> <col5><![CDATA[120,000]]></col5> </w2:row> <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="dk_top_box" id="" style="" tagname=""> <w2:textbox class="con_tit" id="" label="Button" style=""></w2:textbox> <w2:textbox class="con_txt" escape="false" id="" label="WDS์—์„œ ์‚ฌ์šฉ๋˜๋Š” ๋ฒ„ํŠผ ์Šคํƒ€์ผ์ž…๋‹ˆ๋‹ค. " style=""> </w2:textbox> <xf:group class="" id="primary" style=""></xf:group> <xf:group class="tab_anchor" id="" style="" tagname="ul"> <xf:group class="on" id="" tagname="li"> <w2:anchor class="" id="" outerDiv="false" style=""> <xf:label><![CDATA[Examples]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Snippet]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" tagname="li"> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[Dark Theme]]></xf:label> </w2:anchor> </xf:group> </xf:group> </xf:group> <xf:group class="dk_contbox" id="" style=""> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="Button Default" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="๊ฐ€์žฅ ๊ธฐ๋ณธ์ด ๋˜๋Š” ๋ฒ„ํŠผ์ž…๋‹ˆ๋‹ค. ์ผ๋ฐ˜์ ์ธ ์ƒํ™ฉ์— ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค." style=""></w2:textbox> <xf:group class="lybox col4" id="" style=""> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Normal" style="" tagname="h3"></w2:textbox> </xf:group> <xf:trigger class="btn_cm" id="" style="" type="button"> <xf:label><![CDATA[Button default]]></xf:label> </xf:trigger> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Hover" style="" tagname="h3"></w2:textbox> </xf:group> <xf:trigger class="btn_cm btn_cm_focus" id="" style="" type="button"> <xf:label><![CDATA[Button default]]></xf:label> </xf:trigger> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Active" style="" tagname="h3"></w2:textbox> </xf:group> <xf:trigger class="btn_cm btn_cm_active" id="" style="" type="button"> <xf:label><![CDATA[Button default]]></xf:label> </xf:trigger> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Disabled" style="" tagname="h3"></w2:textbox> </xf:group> <xf:trigger class="btn_cm" id="" style="" type="button" disabled="true"> <xf:label><![CDATA[Button default]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="line_gray" id="group4" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="Primary" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="ํ•ด๋‹น ํŽ˜์ด์ง€์˜ ํ‚ค์•ก์…˜ ๋“ฑ์— ์‚ฌ์šฉํ•˜๋Š” ๋ฒ„ํŠผ์ž…๋‹ˆ๋‹ค. ํ•œ ํŽ˜์ด์ง€์— ํ•œ ๋ฒˆ๋งŒ ์“ฐ์ž…๋‹ˆ๋‹ค." style=""></w2:textbox> <xf:group class="lybox col4" id="" style=""> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Normal" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group id="" class="btnbox"> <xf:trigger style="" id="" type="button" class="btn_cm pt"> <xf:label><![CDATA[Button primary]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Hover" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="btnbox" id="" style=""> <xf:trigger class="btn_cm pt pt_hover" id="" style="" type="button"> <xf:label><![CDATA[Button primary]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Active" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="btnbox" id="" style=""> <xf:trigger class="btn_cm pt pt_active" id="" style="" type="button"> <xf:label><![CDATA[Button primary]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Disabled" style="" tagname="h3"></w2:textbox> </xf:group> <xf:group class="btnbox" id="" style=""> <xf:trigger class="btn_cm pt" id="" style="" type="button" disabled="true"> <xf:label><![CDATA[Button primary]]></xf:label> </xf:trigger> </xf:group> </xf:group> </xf:group> <xf:group class="line_gray" id="group5" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="Pattern" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="์•„์ด์ฝ˜์˜ ์œ ๋ฌด์— ๋”ฐ๋ผ Icon + Text, Text Only, Icon Only 3๊ฐ€์ง€ ํŒจํ„ด์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค." style=""> </w2:textbox> <xf:group class="lybox col4" id="" style=""> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Icon + Text" style="" tagname="h3"></w2:textbox> </xf:group> <xf:trigger class="btn_cm upload" id="" style="" type="button"> <xf:label><![CDATA[์—…๋กœ๋“œ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm download" id="" style="" type="button"> <xf:label><![CDATA[๋‹ค์šด๋กœ๋“œ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Text Only" style="" tagname="h3"></w2:textbox> </xf:group> <xf:trigger class="btn_cm" id="" style="" type="button"> <xf:label><![CDATA[Button default]]></xf:label> </xf:trigger> </xf:group> <xf:group class="ly_column" id="" style=""> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="Icon Only" style="" tagname="h3"></w2:textbox> </xf:group> <xf:trigger anchorWithGroupClass="" class="btn_cm btn_search" id="" style="" type="button"> <xf:label><![CDATA[Search]]></xf:label> </xf:trigger> <xf:trigger anchorWithGroupClass="" class="btn_cm btn_delete" id="" style="" type="button"> <xf:label><![CDATA[Delete]]></xf:label> </xf:trigger> </xf:group> <xf:group class="ly_column" id="" style=""></xf:group> </xf:group> <xf:group class="line_gray" id="group6" style="" tagname="hr"></xf:group> <xf:group class="subtitbox" id="" style="" tagname=""> <w2:textbox class="subtit" id="" label="๋ฐฐ์น˜" style=""></w2:textbox> </xf:group> <w2:textbox class="subtxt" escape="false" id="" label="ยท ๋ฒ„ํŠผ์€ ์—…๋ฌด์ฒ˜๋ฆฌ์˜ ํ๋ฆ„์— ๋”ฐ๋ผ ๋ฐฐ์น˜ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;ยท ํ™”๋ฉด ์ „์ฒด๋ฅผ ์ œ์–ดํ•˜๋Š” ๋ฒ„ํŠผ์€ ํ™”๋ฉด์˜ ํ•˜๋‹จ ์šฐ์ธก์— ๋ฐฐ์น˜ํ•ฉ๋‹ˆ๋‹ค.&lt;br/&gt;" style=""> </w2:textbox> <xf:group class="subtitbox" id="" style="" tagname=""></xf:group> <xf:group class="pgtbox" id="" style=""> <xf:trigger class="btn_fav" id="" style="" type="button"> <xf:label></xf:label> </xf:trigger> <w2:textbox class="pgt_tit" id="" label="ํ™”๋ฉดํƒ€์ดํ‹€" style="" tagname=""></w2:textbox> </xf:group> <xf:group class="schbox" id="" style=""> <xf:group class="schbox_inner" id="" style=""> <xf:group adaptive="layout" adaptiveThreshold="768" class="w2tb tbl" id="" style="" tagname="table"> <w2:attributes> <w2:summary></w2:summary> </w2:attributes> <xf:group tagname="colgroup"> <xf:group style="width:100px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> <xf:group style="width:100px;" tagname="col"></xf:group> <xf:group style="" tagname="col"></xf:group> </xf:group> <xf:group class="" id="" style="" tagname="tr"> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="req" id="" label="์กฐํšŒ์กฐ๊ฑด" style=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" style="" tagname="td"> <xf:select1 allOption="true" appearance="minimal" chooseOption="" class="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="" ref="" renderType="" style="width:100px;" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> </xf:choices> </xf:select1> <xf:select1 allOption="true" appearance="minimal" chooseOption="" class="" direction="auto" disabled="false" disabledClass="w2selectbox_disabled" id="" ref="" renderType="" style="width:100px;" submenuSize="auto"> <xf:choices> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[new row]]></xf:label> <xf:value></xf:value> </xf:item> </xf:choices> </xf:select1> <xf:trigger class="btn_cm " id="" style="" type="button"> <xf:label><![CDATA[์กฐํšŒ]]></xf:label> </xf:trigger> </xf:group> <xf:group class="w2tb_th" style="" tagname="th"> <w2:textbox class="" id="" label="์กฐํšŒ์กฐ๊ฑด" style=""></w2:textbox> </xf:group> <xf:group class="w2tb_td" id="" style="" tagname="td"> <xf:select1 appearance="full" cols="" disabled="" id="" ref="" renderType="radiogroup" rows="" selectedIndex="1" style=""> <xf:choices> <xf:item> <xf:label><![CDATA[ํ•ญ๋ชฉ1]]></xf:label> <xf:value></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[ํ•ญ๋ชฉ2]]></xf:label> <xf:value></xf:value> </xf:item> <xf:item> <xf:label><![CDATA[ํ•ญ๋ชฉ3]]></xf:label> <xf:value></xf:value> </xf:item> </xf:choices> </xf:select1> </xf:group> </xf:group> </xf:group> </xf:group> <xf:group class="btn_schbox" id="" style=""> <xf:trigger class="btn_cm sch" disabled="" escape="false" id="" style="" type="button"> <xf:label><![CDATA[์กฐํšŒ]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group class="titbox" id="" style=""> <w2:textbox class="" id="" label="์„œ๋ธŒํƒ€์ดํ‹€" style="" tagname="h3"></w2:textbox> <xf:group class="rt" id="" style=""> <xf:trigger class="btn_cm copy" id="" style="" type="button"> <xf:label><![CDATA[ํ–‰๋ณต์‚ฌ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm row_add" id="" style="" type="button"> <xf:label><![CDATA[ํ–‰์ถ”๊ฐ€]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm row_del" id="" style="" type="button"> <xf:label><![CDATA[ํ–‰์‚ญ์ œ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm upload" id="" style="" type="button"> <xf:label><![CDATA[์—…๋กœ๋“œ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm download" id="" style="" type="button"> <xf:label><![CDATA[๋‹ค์šด๋กœ๋“œ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm " id="" style="" type="button"> <xf:label><![CDATA[์—…๋ฌด๋ฒ„ํŠผ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm " id="" style="" type="button"> <xf:label><![CDATA[์—…๋ฌด๋ฒ„ํŠผ]]></xf:label> </xf:trigger> </xf:group> </xf:group> <xf:group adaptiveThreshold="" class="gvwbox" id="" style=""> <w2:gridView autoFit="allColumn" captionTitle="" checkReadOnlyOnCut="" class="gvw" dataList="data:dataList1" defaultCellHeight="26" evenRowBackgroundColor="" filterFocusMode="" id="" keepDefaultColumnWidth="true" oddRowBackgroundColor="" overflowX="" rowNumBackgroundColor="" rowNumHeaderValue="No" rowNumVisible="" rowNumWidth="" rowStatusHeaderValue="" rowStatusVisible="" rowStatusWidth="50" scrollByColumn="false" scrollByColumnAdaptive="false" selectedCellColor="" selectedCellOverColor="" style="height:150px;" titleAuto="true" visibleRowNum="10"> <w2:caption id="caption2" style="" value="this is a grid caption."></w2:caption> <w2:header id="header2" style=""> <w2:row id="row3" style=""> <w2:column class="" displayMode="label" id="column15" inputType="text" style="" value="ํƒ€์ดํ‹€" width="210"></w2:column> <w2:column displayMode="label" id="column14" inputType="text" style="" value="์ด๋ฆ„" width="70"></w2:column> <w2:column displayMode="label" id="column13" inputType="text" style="" value="์ฃผ์†Œ" width="210"></w2:column> <w2:column displayMode="label" id="column12" inputType="text" style="" value="๋‚ ์งœ" width="100"></w2:column> <w2:column displayMode="label" id="column11" inputType="text" style="" value="๊ธˆ์•ก" width="100"></w2:column> </w2:row> </w2:header> <w2:gBody id="gBody2" style=""> <w2:row id="row4" style=""> <w2:column class="tal" displayMode="label" id="col1" inputType="text" style="" value="" width="210"></w2:column> <w2:column displayMode="label" id="col2" inputType="text" style="" value="" width="70"></w2:column> <w2:column class="tal" displayMode="label" id="col3" inputType="text" style="" value="" width="210"></w2:column> <w2:column displayMode="label" id="col4" inputType="text" style="" value="" width="100"></w2:column> <w2:column class="tar" displayMode="label" id="col5" inputType="text" style="" value="" width="100"></w2:column> </w2:row> </w2:gBody> </w2:gridView> </xf:group> <xf:group class="btnbox" id="" style=""> <xf:group class="rt" id="" style=""> <xf:trigger class="btn_cm" id="" style="" type="button"> <xf:label><![CDATA[์—…๋ฌด๋ฒ„ํŠผ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" id="" style="" type="button"> <xf:label><![CDATA[์—…๋ฌด๋ฒ„ํŠผ]]></xf:label> </xf:trigger> <w2:textbox class="bar_btndiv" id="" label="" style=""></w2:textbox> <xf:trigger class="btn_cm pt" id="" style="" type="button"> <xf:label><![CDATA[์‹ ๊ทœ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm" id="" style="" type="button"> <xf:label><![CDATA[์ˆ˜์ •]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm pt" id="" style="" type="button"> <xf:label><![CDATA[์ €์žฅ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm " id="" style="" type="button"> <xf:label><![CDATA[์‚ญ์ œ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm pt" id="" style="" type="button"> <xf:label><![CDATA[ํ™•์ธ]]></xf:label> </xf:trigger> <xf:trigger class="btn_cm " id="" style="" type="button"> <xf:label><![CDATA[์ทจ์†Œ]]></xf:label> </xf:trigger> <xf:group id="" class="guide_arrow type1" style=""> <xf:group style="width:154px;" id="" class="arrow"> <xf:group id=""> <w2:span style="" id="" label="์—…๋ฌด๋ฒ„ํŠผ"></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:257px;"> <xf:group id=""> <w2:span style="" id="" label="CRUD๋ฒ„ํŠผ"></w2:span> </xf:group> </xf:group> <xf:group class="arrow" id="" style="width:125px;"> <xf:group id=""> <w2:span style="" id="" label="์ „์ฒด์ œ์–ด๋ฒ„ํŠผ"></w2:span> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/cm/template/design_system/design_system_guide.xml
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="/cm/css/base.css" type="text/css"?> <?xml-stylesheet href="/cm/template/design_system/design_system.css" type="text/css"?> <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_vertical_guides="" meta_horizontal_guides=""> <w2:type>COMPONENT</w2:type> <w2:buildDate/> <w2:MSA/> <xf:model> <w2:dataCollection baseNode="map"/> <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="dk_layout" id="" style=""> <xf:group class="dk_container" id=""> <xf:group class="dk_side" id=""> <w2:wframe class="dk_wfm_side" id="" scope="true" src="/cm/template/design_system/xml/side.xml" style=""></w2:wframe></xf:group> <xf:group class="dk_cont" id=""> <xf:group id="" class="dk_contents"><w2:wframe src="/cm/template/design_system/xml/color.xml" style="" id="content1" class=""></w2:wframe></xf:group></xf:group> </xf:group> <xf:group class="dk_aside_contents" id="" style="display:none;" tagname="ul"> <w2:textbox id="" label="CONTENTS" style=""></w2:textbox> <xf:group id="" tagname="li"> <w2:anchor href="#mf_color" id="" outerDiv="false" style=""> <xf:label><![CDATA[Color]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" style="" tagname="li"> <w2:anchor href="#mf_primary" id="" outerDiv="false" style=""> <xf:label><![CDATA[Primary Color]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" style="" tagname="li"> <w2:anchor href="#mf_second" id="" outerDiv="false" style=""> <xf:label><![CDATA[Second Color]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" style="" tagname="li"> <w2:anchor href="#mf_sub" id="" outerDiv="false" style=""> <xf:label><![CDATA[Sub Color]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" style="" tagname="li"> <w2:anchor href="#mf_alert" id="" outerDiv="false" style=""> <xf:label><![CDATA[Alert Color]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" style="" tagname="li"> <w2:anchor href="#mf_legend" id="" outerDiv="false" style=""> <xf:label><![CDATA[Legend Color]]></xf:label> </w2:anchor> </xf:group> <xf:group id="" style="" tagname="li"> <w2:anchor href="#mf_grayscale" id="" outerDiv="false" style=""> <xf:label><![CDATA[Gray Scale]]></xf:label> </w2:anchor> </xf:group> </xf:group> </xf:group> </body> </html>
WRE/WebContent/cm/template/design_system/design_system.xml
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="/cm/template/design_system/design_system.css" type="text/css"?> <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:type>DEFAULT</w2:type> <w2:buildDate /> <xf:model> <xf:instance> <data xmlns="" /> </xf:instance> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="resource" saveRemovedData="true"> <w2:columnInfo> <w2:column id="id" name="id" dataType="text"></w2:column> <w2:column id="category" name="category" dataType="text"></w2:column> <w2:column id="title" name="ํƒ€์ดํ‹€" dataType="text"></w2:column> <w2:column id="iconSrc" name="์•„์ด์ฝ˜์ž์›" dataType="text"></w2:column> <w2:column id="previewSrc" name="๋ฏธ๋ฆฌ๋ณด๊ธฐ์ž์›" dataType="text"></w2:column> <w2:column id="xmlpath" name="xml์ž์›" dataType="text"></w2:column> <w2:column id="favMenu" name="์ฆ๊ฒจ์ฐพ๊ธฐ" dataType="text"></w2:column> </w2:columnInfo> <w2:data> <w2:row></w2:row> </w2:data> </w2:dataList> <w2:dataList baseNode="list" repeatNode="map" id="category" saveRemovedData="true"> <w2:columnInfo> <w2:column id="id" name="name1" dataType="text"></w2:column> <w2:column id="iconSrc" name="name2" dataType="text"></w2:column> <w2:column id="path" name="name3" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection></w2:workflowCollection> </xf:model> <script type="text/javascript" src="/cm/template/design_system/studioAPI.js"></script> <script type="text/javascript" lazy="false"><![CDATA[ scwin.initUserDataTop = true; scwin.categoryTitleGrpMargin = 30; scwin.onpageload = function () { // requestJson data ์ƒ์„ฑ var requestJson = { "type": "REQUEST", "payload": { "type": "READ_FILE_LIST", // ์ „์ฒด ๋ฆฌ์ŠคํŠธ๋ฅผ ์กฐํšŒํ•˜๋Š” ๊ฒฝ์šฐ๋Š” wds๋กœ ๋‚ ๋ ค์•ผํ•จ. "req": { "id": "wds" } } } studioAPI.exec(scwin.jsonDataCallBack, {}, requestJson); // LEFT๋ฉ”๋‰ด ๋ฆฌ์‚ฌ์ด์ง• $(window).resize(function () { var win_w = $(this).width(); if (win_w < 400) { $(".designSystem_layout").removeClass("hide_menu"); $(".designSystem_layout").addClass("hide_menu"); } }); $(window).scroll( function() { setUserDataTop(); }); }; fnScrollTo = function(id) { var filterFav = { type: 'row', colIndex: 'favMenu', key: "1", condition: 'and' }; resource.clearFilter(); resource.setColumnFilter(filterFav); var favMenuJson = resource.getAllFilteredJSON(); if (id == scwin.favCategoryMenu) {//์ฆ๊ฒจ์ฐพ๊ธฐ ๋ฉ”๋‰ด์ผ ๊ฒฝ์šฐ ์ฆ๊ฒจ์ฐพ๊ธฐ ํ•ญ๋ชฉ์ด ์—†์„ ๊ฒฝ์šฐ ์•„๋ฌด๊ฒƒ๋„ ํ•˜์ง€ ์•Š๊ธฐ. if (favMenuJson.length == 0) return; window.scrollTo(0,0); } else { var top = $p.getComponentById(id).getUserData("top"); //์ฆ๊ฒจ์ฐพ๊ธฐ๊ฐ€ ์žˆ์œผ๋ฉด +30 ํ•ด์ค€๋‹ค. if (favMenuJson.length != 0) top = top + scwin.categoryTitleGrpMargin; window.scrollTo(0,top-15); } } scwin.onpageunload = function () { }; scwin.jsonDataCallBack = function (jsonData) { var jsonResource = jsonData && jsonData.res ? jsonData.res.resource : []; var jsonCategory = jsonData && jsonData.res ? jsonData.res.category : []; resource.setJSON(jsonResource); category.setJSON(jsonCategory); //category for (var i = 0; i < jsonCategory.length; i++) { //console.log("start[" + i + "]" + jsonCategory[i].id); var genCatogoryIdx = categoryGen.insertChild(); var strCategory = jsonCategory[i].id; var strCategoryMenuIcon = jsonCategory[i].iconSrc; var objCategoryTitle = categoryGen.getChild(genCatogoryIdx, "categoryTitle"); objCategoryTitle.setValue(strCategory);//category anchor title setting var tagCategoryId = objCategoryTitle.getID();//์ขŒ์ธก๋ฉ”๋‰ด ํด๋ฆญ์‹œ ์ฐพ์•„๊ฐˆ ๊ฐ์ฒด id ์–ป์–ด์˜ค๊ธฐ var objResourceListGen = categoryGen.getChild(genCatogoryIdx, "resourceListGen"); //category menu setting var genCatogoryMenuIdx = categoryMenuGen.insertChild(); var objCategoryMenu = categoryMenuGen.getChild(genCatogoryMenuIdx, "categoryMenu"); objCategoryMenu.setValue(strCategory); //objCategoryMenu.setHref("#" + tagCategoryId); objCategoryMenu.setHref("javascript:setUserDataTop();fnScrollTo('" + tagCategoryId+"')"); //console.log(tagCategoryId); atc_search.addItem(strCategory, genCatogoryMenuIdx); var objCategoryMenuIcon = categoryMenuGen.getChild(genCatogoryMenuIdx, "categoryMenuIcon"); objCategoryMenuIcon.setSrc(strCategoryMenuIcon); //resource var filterCon = { type: 'row', colIndex: 'category', key: "00_ํ™”๋ฉด์‹œ์ž‘", condition: 'and' }; filterCon.key = strCategory; resource.clearFilter(); resource.setColumnFilter(filterCon); var jsonResForCategory = resource.getAllFilteredJSON(); for (var j = 0; j < jsonResForCategory.length; j++) { //console.log("[" + j + "]" + jsonResForCategory[j].id); var strRessourceTitle = jsonResForCategory[j].title; var strRessourceIcon = jsonResForCategory[j].iconSrc; //hidden var strResourceId = jsonResForCategory[j].id; var strResourceCategory = jsonResForCategory[j].category; var strResourcePreviewSrc = jsonResForCategory[j].previewSrc; var strResourceXmlpath = jsonResForCategory[j].xmlpath; var genResourceIdx = objResourceListGen.insertChild(); var objResourceTitle = objResourceListGen.getChild(genResourceIdx, "resourceTitle"); objResourceTitle.setValue(strRessourceTitle);//resource anchor title setting var objResourceIcon = objResourceListGen.getChild(genResourceIdx, "resourceIcon"); objResourceIcon.setSrc(strRessourceIcon); var objResourceIconSrc = objResourceListGen.getChild(genResourceIdx, "resourceIconSrc"); objResourceIconSrc.setValue(strRessourceIcon); var objResourceId = objResourceListGen.getChild(genResourceIdx, "resourceId"); objResourceId.setValue(strResourceId); var objResourceCategory = objResourceListGen.getChild(genResourceIdx, "resourceCategory"); objResourceCategory.setValue(strResourceCategory); var objResourcePreviewSrc = objResourceListGen.getChild(genResourceIdx, "resourcePreviewSrc"); objResourcePreviewSrc.setValue(strResourcePreviewSrc); var objResourceXmlpath = objResourceListGen.getChild(genResourceIdx, "resourceXmlpath"); objResourceXmlpath.setValue(strResourceXmlpath); if (jsonResForCategory[j].favMenu == "1") { objResourceListGen.getChild(genResourceIdx, "btn_favorit").toggleClass("on"); } } } //์ขŒ์ธก ์นดํ…Œ๊ณ ๋ฆฌ์— ์ฆ๊ฒจ์ฐพ๊ธฐ ์ถ”๊ฐ€ var i = categoryMenuGen.insertChild(); var categoryMenuObj = categoryMenuGen.getChild(i,"categoryMenu"); var categoryMenuIconObj = categoryMenuGen.getChild(i,"categoryMenuIcon"); categoryMenuObj.setValue("์ฆ๊ฒจ์ฐพ๊ธฐ"); categoryMenuIconObj.setSrc("/cm/images/base/ico_ds_favorit.png"); scwin.favCategoryMenu = categoryMenuObj.id; categoryMenuObj.setHref("javascript:setUserDataTop();fnScrollTo('" + scwin.favCategoryMenu+"')"); // Snippet ๋ฏธ๋ฆฌ๋ณด๊ธฐ $(".btn_snippet").on("click", function () { $(".designSystem_zoom_box").addClass("on"); $(".designSystem_dim").addClass("on"); }); $(".btn_zoom_close").on("click", function () { $(".designSystem_zoom_box").removeClass("on"); $(".designSystem_dim").removeClass("on"); }); // Snippet ์ฆ๊ฒจ์ฐพ๊ธฐ $(".btn_snp_favorit").on("click", function () { $(this).toggleClass("on"); }); scwin.load_favMenu(); }; setUserDataTop = function () { if (scwin.initUserDataTop == true) { //console.log("initUserDataTop"); var categoryGen = mf_wf_main_categoryGen; var dsHeaderHeight = mf_dsheaderGrp.render.getBoundingClientRect().height; var favFullHeight = 0; if (scwin.favgenTitleId && scwin.favGenFavListGenId) { if ($p.getComponentById(scwin.favgenTitleId) && $p.getComponentById(scwin.favGenFavListGenId)) { favFullHeight = $p.getComponentById(scwin.favgenTitleId).render.getBoundingClientRect().height + $p.getComponentById(scwin.favGenFavListGenId).render.getBoundingClientRect().height; } else { favFullHeight = 0;//์ฆ๊ฒจ์ฐพ๊ธฐ ์ถ”๊ฐ€ํ›„ ํ•ด์ œํ•œ ๊ฒฝ์šฐ } } for(i=0;i<categoryGen.getLength();i++){ var categoryTitleObj = categoryGen.getChild(i,"categoryTitle"); var topVal = categoryTitleObj.render.getBoundingClientRect().top; //console.log(categoryTitleObj.id); if (categoryTitleObj.getUserData("originTop") == undefined) { categoryTitleObj.setUserData("originTop", topVal - dsHeaderHeight); categoryTitleObj.setUserData("top", topVal - dsHeaderHeight); } else { categoryTitleObj.setUserData("top", categoryTitleObj.getUserData("originTop") + favFullHeight); } } scwin.initUserDataTop = false; } } // LEFT๋ฉ”๋‰ด ๋ฒ„ํŠผ ํ† ํด scwin.btnDsSlide_onclick = function () { $(".designSystem_layout").toggleClass("hide_menu"); }; scwin.resourceIcon_onclick = function (e) { var genIdx = this.getGeneratedIndex(); var resourceIdObj = this.getGeneratedComponent("resourceId"); var resourceCategoryObj = this.getGeneratedComponent("resourceCategory"); var resourceTitelObj = this.getGeneratedComponent("resourceTitle"); var resourceIconSrcObj = this.getGeneratedComponent("resourceIconSrc"); var resourcePreviewSrcObj = this.getGeneratedComponent("resourcePreviewSrc"); var resourceXmlpathObj = this.getGeneratedComponent("resourceXmlpath"); console.log(genIdx + "๋ฒˆ์งธ , clickํ•œ ๊ฐ’ : " + resourceIdObj.getValue() + "\n" + resourceCategoryObj.getValue() + "\n" + resourceTitelObj.getValue() + "\n" + resourceIconSrcObj.getValue() + "\n" + resourcePreviewSrcObj.getValue() + "\n" + resourceXmlpathObj.getValue() ); // request json ์˜ ์ŠคํŽ™์„ ์ƒ์„ฑํ•œ๋‹ค. var reqJson = { "type": "REQUEST", "payload": { "type": "INSERT_SNIPPETS", "req": { "id": "", "category": "", "title": "", "iconSrc": "", "previewSrc": "", "xmlpath": "" }, "res": {} } } reqJson.payload.req.id = resourceIdObj.getValue(); reqJson.payload.req.category = resourceCategoryObj.getValue(); reqJson.payload.req.title = resourceTitelObj.getValue(); reqJson.payload.req.iconSrc = resourceIconSrcObj.getValue(); reqJson.payload.req.previewSrc = resourcePreviewSrcObj.getValue(); reqJson.payload.req.xmlpath = resourceXmlpathObj.getValue(); studioAPI.exec({}, {}, reqJson); }; scwin.btn_popup_onclick = function () { var preview_src = this.getGeneratedComponent("resourceXmlpath").getValue().split("WebContent")[1].replaceAll("\\", "/"); wf_preview.setSrc(preview_src); }; scwin.atc_search_onviewchange = function (info) { var idx = info.newValue; if (idx == '') { $(".li_categoryMenuGen").css("display", "list-item"); return; } $(".li_categoryMenuGen").css("display", "none"); var selected = categoryMenuGen.getChild(idx, "li_category"); var menu = categoryMenuGen.getChild(idx, "categoryMenu"); selected.setStyle("display", "list-item"); menu.trigger("onclick"); }; scwin.load_favMenu = function () { var insertIdx = 0; if (categoryGen.getChild(insertIdx, "categoryTitle") != null && categoryGen.getChild(insertIdx, "categoryTitle").getValue() == "์ฆ๊ฒจ์ฐพ๊ธฐ") { categoryGen.removeChild(insertIdx); } var filterFav = { type: 'row', colIndex: 'favMenu', key: "1", condition: 'and' }; resource.clearFilter(); resource.setColumnFilter(filterFav); var favMenuJson = resource.getAllFilteredJSON(); if (favMenuJson.length > 0) { var genCatogoryFavIdx = categoryGen.insertChild(insertIdx); var genFavListGen = categoryGen.getChild(genCatogoryFavIdx, "resourceListGen"); var genTitle = categoryGen.getChild(genCatogoryFavIdx, "categoryTitle"); //์ฆ๊ฒจ์ฐพ๊ธฐ ํƒ€์ดํ‹€, ๋ฆฌ์†Œ์Šค๋ชฉ๋กgenerator id ๊ธฐ์–ตํ•˜๊ธฐ scwin.favGenFavListGenId = genFavListGen.id; scwin.favgenTitleId = genTitle.id; genTitle.setValue("์ฆ๊ฒจ์ฐพ๊ธฐ"); //categoryMenuGen.getChild(categoryMenuGen.getLength() - 2, "categoryMenu").setHref("#" + genTitle.getID()); for (var j = 0; j < favMenuJson.length; j++) { //console.log("[" + j + "]" + favMenuJson[j].id); var strRessourceTitle = favMenuJson[j].title; var strRessourceIcon = favMenuJson[j].iconSrc; //hidden var strResourceId = favMenuJson[j].id; var strResourceCategory = favMenuJson[j].category; var strResourcePreviewSrc = favMenuJson[j].previewSrc; var strResourceXmlpath = favMenuJson[j].xmlpath; var genResourceIdx = genFavListGen.insertChild(); var objResourceTitle = genFavListGen.getChild(genResourceIdx, "resourceTitle"); objResourceTitle.setValue(strRessourceTitle);//resource anchor title setting var objResourceIcon = genFavListGen.getChild(genResourceIdx, "resourceIcon"); objResourceIcon.setSrc(strRessourceIcon); var objResourceIconSrc = genFavListGen.getChild(genResourceIdx, "resourceIconSrc"); objResourceIconSrc.setValue(strRessourceIcon); var objResourceId = genFavListGen.getChild(genResourceIdx, "resourceId"); objResourceId.setValue(strResourceId); var objResourceCategory = genFavListGen.getChild(genResourceIdx, "resourceCategory"); objResourceCategory.setValue(strResourceCategory); var objResourcePreviewSrc = genFavListGen.getChild(genResourceIdx, "resourcePreviewSrc"); objResourcePreviewSrc.setValue(strResourcePreviewSrc); var objResourceXmlpath = genFavListGen.getChild(genResourceIdx, "resourceXmlpath"); objResourceXmlpath.setValue(strResourceXmlpath); genFavListGen.getChild(genResourceIdx, "btn_favorit").toggleClass("on"); genFavListGen.getChild(genResourceIdx, "btn_favorit").addClass("inFavMenu"); } } resource.clearFilter(); scwin.initUserDataTop = true;//์ฆ๊ฒจ์ฐพ๊ธฐ ํ•ญ๋ชฉ๋“ค์ด ์ถ”๊ฐ€๋กœ ๊ทธ๋ ค์ง์— ๋”ฐ๋ผ ogrigin์œ„์น˜ ์žฌ๊ณ„์‚ฐ์„ ์œ„ํ•ด ํ”Œ๋ž˜๊ทธ๊ฐ’ ์ˆ˜์ •ํ•จ. // Snippet ๋ฏธ๋ฆฌ๋ณด๊ธฐ $(".btn_snippet").on("click", function () { $(".designSystem_zoom_box").addClass("on"); $(".designSystem_dim").addClass("on"); }); } scwin.btn_favorit_onclick = function () { var generatorIdx = this.getGeneratedIndex(); var id = this.getGenerator().getChild(generatorIdx, "resourceId").getValue(); //getMatchedIndex๋Š” filter๋œ ๋ฐ์ดํƒ€์—์„œ ์ฐพ์œผ๋ฏ€๋กœ ์ž˜๋ชป๋œ ๊ฒฐ๊ณผ ๋ฆฌํ„ดํ•˜์—ฌ ํ•˜๊ธฐ์™€ ๊ฐ™์ด clear filter resource.clearFilter(); var resourceIndex = resource.getMatchedIndex("id", id)[0]; var status = resource.getRowData(resourceIndex)[6] == "1" ? "0" : "1"; resource.setCellData(resourceIndex, "favMenu", status); var len = $(".btn_snp_favorit.on:not(.inFavMenu)").length; var title = this.getGenerator().getChild(generatorIdx, "resourceTitle").getValue(); for (var i = 0; i < len; i++) { //var selector = ".btn_snp_favorit.on:eq(" + i + "):not(.inFavMenu)"; var selector = ".btn_snp_favorit.on:not(.inFavMenu):eq(" + i + ")"; if ($(selector).next().text() == title) { $(selector).toggleClass("on"); break; } } setUserDataTop(); scwin.load_favMenu(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload" style=""> <xf:group id="layout" class="dk_layout" style=""> <xf:group class="dk_search" id="" style=""> <w2:autoComplete editType="select" id="atc_search" useKeywordHighlight="false" style="width: 178px;height: 21px;" submenuSize="auto" search="contain" autoFocus="false" allowEmptySubmission="false" emptyItem="true" emptyIndex="1" noResult="useData" ev:onviewchange="scwin.atc_search_onviewchange" allOption="" chooseOption="" ref="" placeholder="Search..." class="dk_menu_search"> <w2:choices> <w2:item> <w2:label><![CDATA[์ „์ฒด]]></w2:label> <w2:value><![CDATA[]]></w2:value> </w2:item> </w2:choices> </w2:autoComplete> </xf:group> <xf:group style="" id="" class="dk_side"> <xf:group style="" id="" class="dk_menu"> <w2:generator id="categoryMenuGen" style="" tagname="ul"> <xf:group id="li_category" style="" tagname="li" class="li_categoryMenuGen"> <xf:group id="" tagname="a"> <w2:attributes> <w2:href>#mf_layout</w2:href> </w2:attributes> <xf:image id="categoryMenuIcon" src="/cm/template/snippets/00_ํ™”๋ฉด์‹œ์ž‘/00_ํ™”๋ฉด์‹œ์ž‘.png" style=""></xf:image> </xf:group> <w2:anchor class="designSystem_m_tit" href="#mf_layout" id="categoryMenu" outerDiv="false" style=""> <xf:label><![CDATA[ํ™”๋ฉด์‹œ์ž‘]]></xf:label> </w2:anchor> </xf:group> </w2:generator> </xf:group> </xf:group> <w2:generator style="" id="categoryGen" class="dk_cont"> <xf:group class="dk_dfbox" id="categoryTitleGrp" style=""> <w2:textbox class="dk_tit" id="categoryTitle" label="ํ™”๋ฉด์‹œ์ž‘" style=""></w2:textbox> </xf:group> <w2:generator class="dk_list" id="resourceListGen" style="" tagname="ul"> <xf:group class="item" id="" style="" tagname="li"> <xf:group class="img_box" id=""> <xf:image id="resourceIcon" src="/cm/template/snippets/00_ํ™”๋ฉด์‹œ์ž‘/0_01%20ํŽ˜์ด์ง€์‹œ์ž‘_icon.png" style="" tabIndex="" ev:onclick="scwin.resourceIcon_onclick"> </xf:image> <xf:input adjustMaxLength="false" id="resourceId" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourceCategory" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourcePreviewSrc" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourceXmlpath" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourceIconSrc" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:group class="sc_area" id="" style=""> <w2:anchor class="btn_snippet" id="btn_popup" outerDiv="false" style="" ev:onclick="scwin.btn_popup_onclick"> <xf:label><![CDATA[๋ฏธ๋ฆฌ๋ณด๊ธฐ]]></xf:label> </w2:anchor> </xf:group> </xf:group> <xf:group id="" class="title_box"> <w2:anchor outerDiv="false" style="" id="btn_favorit" class="btn_snp_favorit" ev:onclick="scwin.btn_favorit_onclick"> <xf:label><![CDATA[์ฆ๊ฒจ์ฐพ๊ธฐ]]></xf:label> </w2:anchor> <w2:anchor outerDiv="false" style="" id="resourceTitle" ev:onclick="scwin.resourceIcon_onclick"> <xf:label><![CDATA[01_ํŽ˜์ด์ง€์‹œ์ž‘_icon]]></xf:label> </w2:anchor> </xf:group> </xf:group> </w2:generator> </w2:generator> <xf:group style="display: none" id="" class="dk_cont"> <xf:group style="" id="" class="dk_dfbox"> <w2:textbox style="" id="" label="ํ™”๋ฉด์‹œ์ž‘" class="dk_tit"></w2:textbox> </xf:group> <w2:generator style="" id="" class="dk_list" tagname="ul"> <xf:group class="item" id="" tagname="li" style=""> <xf:group class="img_box" id=""> <xf:image id="" src="/cm/template/snippets/00_ํ™”๋ฉด์‹œ์ž‘/01_ํŽ˜์ด์ง€์‹œ์ž‘_icon.png" style="" tabIndex=""></xf:image> <xf:group class="sc_area" id="" style=""> <w2:anchor class="btn_snippet" id="" outerDiv="false" style=""> <xf:label><![CDATA[๋ฏธ๋ฆฌ๋ณด๊ธฐ]]></xf:label> </w2:anchor> <w2:anchor class="btn_snp_favorit" id="" outerDiv="false" style=""> <xf:label><![CDATA[์ฆ๊ฒจ์ฐพ๊ธฐ]]></xf:label> </w2:anchor> </xf:group> </xf:group> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[01_ํŽ˜์ด์ง€์‹œ์ž‘_icon]]></xf:label> </w2:anchor> </xf:group> </w2:generator> </xf:group> <xf:group id="" class="dk_zoom"><xf:group style="" id="" class="dk_zoom_comp"> <w2:wframe style="" id="wf_preview"></w2:wframe> <w2:anchor ref="" outerDiv="false" style="" id="" class="btn_zoom_close"> <xf:label><![CDATA[Insert Text]]></xf:label> </w2:anchor> </xf:group></xf:group><xf:group style="" id="" class="dk_dim"></xf:group> </xf:group></body> </html>
WRE/WebContent/cm/template/design_system/design_system_template.xml
<?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="/cm/template/design_system/design_system.css" type="text/css"?> <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:type>DEFAULT</w2:type> <w2:buildDate /> <xf:model> <xf:instance> <data xmlns="" /> </xf:instance> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="resource" saveRemovedData="true"> <w2:columnInfo> <w2:column id="id" name="id" dataType="text"></w2:column> <w2:column id="category" name="category" dataType="text"></w2:column> <w2:column id="title" name="ํƒ€์ดํ‹€" dataType="text"></w2:column> <w2:column id="iconSrc" name="์•„์ด์ฝ˜์ž์›" dataType="text"></w2:column> <w2:column id="previewSrc" name="๋ฏธ๋ฆฌ๋ณด๊ธฐ์ž์›" dataType="text"></w2:column> <w2:column id="xmlpath" name="xml์ž์›" dataType="text"></w2:column> <w2:column id="favMenu" name="์ฆ๊ฒจ์ฐพ๊ธฐ" dataType="text"></w2:column> </w2:columnInfo> <w2:data> <w2:row></w2:row> </w2:data> </w2:dataList> <w2:dataList baseNode="list" repeatNode="map" id="category" saveRemovedData="true"> <w2:columnInfo> <w2:column id="id" name="name1" dataType="text"></w2:column> <w2:column id="iconSrc" name="name2" dataType="text"></w2:column> <w2:column id="path" name="name3" dataType="text"></w2:column> </w2:columnInfo> </w2:dataList> </w2:dataCollection> <w2:workflowCollection></w2:workflowCollection> </xf:model> <script type="text/javascript" src="/cm/template/design_system/studioAPI.js"></script> <script type="text/javascript" lazy="false"><![CDATA[ scwin.initUserDataTop = true; scwin.categoryTitleGrpMargin = 30; scwin.onpageload = function () { // requestJson data ์ƒ์„ฑ var requestJson = { "type": "REQUEST", "payload": { "type": "READ_TEMPLETE_FILE_LIST", // ์ „์ฒด ๋ฆฌ์ŠคํŠธ๋ฅผ ์กฐํšŒํ•˜๋Š” ๊ฒฝ์šฐ๋Š” wds๋กœ ๋‚ ๋ ค์•ผํ•จ. "req": { "id": "wds" } } } studioAPI.exec(scwin.jsonDataCallBack, {}, requestJson); // LEFT๋ฉ”๋‰ด ๋ฆฌ์‚ฌ์ด์ง• $(window).resize(function () { var win_w = $(this).width(); if (win_w < 400) { $(".designSystem_layout").removeClass("hide_menu"); $(".designSystem_layout").addClass("hide_menu"); } }); $(window).scroll( function() { setUserDataTop(); }); }; fnScrollTo = function(id) { var filterFav = { type: 'row', colIndex: 'favMenu', key: "1", condition: 'and' }; resource.clearFilter(); resource.setColumnFilter(filterFav); var favMenuJson = resource.getAllFilteredJSON(); if (id == scwin.favCategoryMenu) {//์ฆ๊ฒจ์ฐพ๊ธฐ ๋ฉ”๋‰ด์ผ ๊ฒฝ์šฐ ์ฆ๊ฒจ์ฐพ๊ธฐ ํ•ญ๋ชฉ์ด ์—†์„ ๊ฒฝ์šฐ ์•„๋ฌด๊ฒƒ๋„ ํ•˜์ง€ ์•Š๊ธฐ. if (favMenuJson.length == 0) return; window.scrollTo(0,0); } else { var top = $p.getComponentById(id).getUserData("top"); //์ฆ๊ฒจ์ฐพ๊ธฐ๊ฐ€ ์žˆ์œผ๋ฉด +30 ํ•ด์ค€๋‹ค. if (favMenuJson.length != 0) top = top + scwin.categoryTitleGrpMargin; window.scrollTo(0,top-15); } } scwin.onpageunload = function () { }; scwin.jsonDataCallBack = function (jsonData) { var jsonResource = jsonData && jsonData.res ? jsonData.res.resource : []; //var jsonCategory = jsonData && jsonData.res ? jsonData.res.category : []; var jsonCategory = [ { "id": "Template", "iconSrc": "", "path": "/cm/template/", "rowStatus": "R" } ] var blankResource = [ { "id": "00_new_component", "category": "00_new_component", "title": "๋นˆ ํŽ˜์ด์ง€", "iconSrc": "/cm/images/base/icon.png", "previewSrc": "/cm/images/base/icon.png", "xmlpath": "", "favMenu": "", "rowStatus": "R" } ] resource.setJSON(blankResource); resource.setJSON(jsonResource, true); category.setJSON(jsonCategory); //category for (var i = 0; i < jsonCategory.length; i++) { //console.log("start[" + i + "]" + jsonCategory[i].id); var genCatogoryIdx = categoryGen.insertChild(); var strCategory = jsonCategory[i].id; var strCategoryMenuIcon = jsonCategory[i].iconSrc; var objCategoryTitle = categoryGen.getChild(genCatogoryIdx, "categoryTitle"); objCategoryTitle.setValue(strCategory);//category anchor title setting var tagCategoryId = objCategoryTitle.getID();//์ขŒ์ธก๋ฉ”๋‰ด ํด๋ฆญ์‹œ ์ฐพ์•„๊ฐˆ ๊ฐ์ฒด id ์–ป์–ด์˜ค๊ธฐ var objResourceListGen = categoryGen.getChild(genCatogoryIdx, "resourceListGen"); //category menu setting var genCatogoryMenuIdx = categoryMenuGen.insertChild(); var objCategoryMenu = categoryMenuGen.getChild(genCatogoryMenuIdx, "categoryMenu"); objCategoryMenu.setValue(strCategory); //objCategoryMenu.setHref("#" + tagCategoryId); objCategoryMenu.setHref("javascript:setUserDataTop();fnScrollTo('" + tagCategoryId+"')"); //console.log(tagCategoryId); atc_search.addItem(strCategory, genCatogoryMenuIdx); var objCategoryMenuIcon = categoryMenuGen.getChild(genCatogoryMenuIdx, "categoryMenuIcon"); objCategoryMenuIcon.setSrc(strCategoryMenuIcon); //resource /* var filterCon = { type: 'row', colIndex: 'category', key: "00_ํ™”๋ฉด์‹œ์ž‘", condition: 'and' }; filterCon.key = strCategory; resource.clearFilter(); resource.setColumnFilter(filterCon); */ var jsonResForCategory = resource.getAllFilteredJSON(); for (var j = 0; j < jsonResForCategory.length; j++) { //console.log("[" + j + "]" + jsonResForCategory[j].id); var strRessourceTitle = jsonResForCategory[j].title; var strRessourceIcon = jsonResForCategory[j].iconSrc; //hidden var strResourceId = jsonResForCategory[j].id; var strResourceCategory = jsonResForCategory[j].category; var strResourcePreviewSrc = jsonResForCategory[j].previewSrc; var strResourceXmlpath = jsonResForCategory[j].xmlpath; var genResourceIdx = objResourceListGen.insertChild(); var objResourceTitle = objResourceListGen.getChild(genResourceIdx, "resourceTitle"); objResourceTitle.setValue(strRessourceTitle);//resource anchor title setting var objResourceIcon = objResourceListGen.getChild(genResourceIdx, "resourceIcon"); objResourceIcon.setSrc(strRessourceIcon); var objResourceIconSrc = objResourceListGen.getChild(genResourceIdx, "resourceIconSrc"); objResourceIconSrc.setValue(strRessourceIcon); var objResourceId = objResourceListGen.getChild(genResourceIdx, "resourceId"); objResourceId.setValue(strResourceId); var objResourceCategory = objResourceListGen.getChild(genResourceIdx, "resourceCategory"); objResourceCategory.setValue(strResourceCategory); var objResourcePreviewSrc = objResourceListGen.getChild(genResourceIdx, "resourcePreviewSrc"); objResourcePreviewSrc.setValue(strResourcePreviewSrc); var objResourceXmlpath = objResourceListGen.getChild(genResourceIdx, "resourceXmlpath"); objResourceXmlpath.setValue(strResourceXmlpath); if (jsonResForCategory[j].favMenu == "1") { objResourceListGen.getChild(genResourceIdx, "btn_favorit").toggleClass("on"); } } } //์ขŒ์ธก ์นดํ…Œ๊ณ ๋ฆฌ์— ์ฆ๊ฒจ์ฐพ๊ธฐ ์ถ”๊ฐ€ var i = categoryMenuGen.insertChild(); var categoryMenuObj = categoryMenuGen.getChild(i,"categoryMenu"); var categoryMenuIconObj = categoryMenuGen.getChild(i,"categoryMenuIcon"); categoryMenuObj.setValue("์ฆ๊ฒจ์ฐพ๊ธฐ"); categoryMenuIconObj.setSrc("/cm/images/base/ico_ds_favorit.png"); scwin.favCategoryMenu = categoryMenuObj.id; categoryMenuObj.setHref("javascript:setUserDataTop();fnScrollTo('" + scwin.favCategoryMenu+"')"); // Snippet ๋ฏธ๋ฆฌ๋ณด๊ธฐ $(".btn_snippet").on("click", function () { designSystemZoomBox.show(""); $(".designSystem_zoom_box").addClass("on"); $(".designSystem_dim").addClass("on"); }); $(".btn_zoom_close").on("click", function () { designSystemZoomBox.hide(); $(".designSystem_zoom_box").removeClass("on"); $(".designSystem_dim").removeClass("on"); }); // Snippet ์ฆ๊ฒจ์ฐพ๊ธฐ $(".btn_snp_favorit").on("click", function () { $(this).toggleClass("on"); }); scwin.load_favMenu(); }; setUserDataTop = function () { if (scwin.initUserDataTop == true) { //console.log("initUserDataTop"); var categoryGen = mf_wf_main_categoryGen; var dsHeaderHeight = mf_dsheaderGrp.render.getBoundingClientRect().height; var favFullHeight = 0; if (scwin.favgenTitleId && scwin.favGenFavListGenId) { if ($p.getComponentById(scwin.favgenTitleId) && $p.getComponentById(scwin.favGenFavListGenId)) { favFullHeight = $p.getComponentById(scwin.favgenTitleId).render.getBoundingClientRect().height + $p.getComponentById(scwin.favGenFavListGenId).render.getBoundingClientRect().height; } else { favFullHeight = 0;//์ฆ๊ฒจ์ฐพ๊ธฐ ์ถ”๊ฐ€ํ›„ ํ•ด์ œํ•œ ๊ฒฝ์šฐ } } for(i=0;i<categoryGen.getLength();i++){ var categoryTitleObj = categoryGen.getChild(i,"categoryTitle"); var topVal = categoryTitleObj.render.getBoundingClientRect().top; //console.log(categoryTitleObj.id); if (categoryTitleObj.getUserData("originTop") == undefined) { categoryTitleObj.setUserData("originTop", topVal - dsHeaderHeight); categoryTitleObj.setUserData("top", topVal - dsHeaderHeight); } else { categoryTitleObj.setUserData("top", categoryTitleObj.getUserData("originTop") + favFullHeight); } } scwin.initUserDataTop = false; } } // LEFT๋ฉ”๋‰ด ๋ฒ„ํŠผ ํ† ํด scwin.btnDsSlide_onclick = function () { $(".designSystem_layout").toggleClass("hide_menu"); }; scwin.resourceIcon_onclick = function (e) { var genIdx = this.getGeneratedIndex(); var resourceIdObj = this.getGeneratedComponent("resourceId"); var resourceCategoryObj = this.getGeneratedComponent("resourceCategory"); var resourceTitelObj = this.getGeneratedComponent("resourceTitle"); var resourceIconSrcObj = this.getGeneratedComponent("resourceIconSrc"); var resourcePreviewSrcObj = this.getGeneratedComponent("resourcePreviewSrc"); var resourceXmlpathObj = this.getGeneratedComponent("resourceXmlpath"); console.log(genIdx + "๋ฒˆ์งธ , clickํ•œ ๊ฐ’ : " + resourceIdObj.getValue() + "\n" + resourceCategoryObj.getValue() + "\n" + resourceTitelObj.getValue() + "\n" + resourceIconSrcObj.getValue() + "\n" + resourcePreviewSrcObj.getValue() + "\n" + resourceXmlpathObj.getValue() ); // request json ์˜ ์ŠคํŽ™์„ ์ƒ์„ฑํ•œ๋‹ค. var reqJson = { "type": "REQUEST", "payload": { "type": "INSERT_TEMPLETE_PAGE", "req": { "id": "", "category": "", "title": "", "iconSrc": "", "previewSrc": "", "xmlpath": "" }, "res": {} } } reqJson.payload.req.id = resourceIdObj.getValue(); reqJson.payload.req.category = resourceCategoryObj.getValue(); reqJson.payload.req.title = resourceTitelObj.getValue(); reqJson.payload.req.iconSrc = resourceIconSrcObj.getValue(); reqJson.payload.req.previewSrc = resourcePreviewSrcObj.getValue(); reqJson.payload.req.xmlpath = resourceXmlpathObj.getValue(); studioAPI.exec({}, {}, reqJson); }; scwin.btn_popup_onclick = function () { var preview_src = this.getGeneratedComponent("resourceXmlpath").getValue().split("WebContent")[1].replaceAll("\\", "/"); wf_preview.setSrc(preview_src); }; scwin.atc_search_onviewchange = function (info) { var idx = info.newValue; if (idx == '') { $(".li_categoryMenuGen").css("display", "list-item"); return; } $(".li_categoryMenuGen").css("display", "none"); var selected = categoryMenuGen.getChild(idx, "li_category"); var menu = categoryMenuGen.getChild(idx, "categoryMenu"); selected.setStyle("display", "list-item"); menu.trigger("onclick"); }; scwin.load_favMenu = function () { var insertIdx = 0; if (categoryGen.getChild(insertIdx, "categoryTitle") != null && categoryGen.getChild(insertIdx, "categoryTitle").getValue() == "์ฆ๊ฒจ์ฐพ๊ธฐ") { categoryGen.removeChild(insertIdx); } var filterFav = { type: 'row', colIndex: 'favMenu', key: "1", condition: 'and' }; resource.clearFilter(); resource.setColumnFilter(filterFav); var favMenuJson = resource.getAllFilteredJSON(); if (favMenuJson.length > 0) { var genCatogoryFavIdx = categoryGen.insertChild(insertIdx); var genFavListGen = categoryGen.getChild(genCatogoryFavIdx, "resourceListGen"); var genTitle = categoryGen.getChild(genCatogoryFavIdx, "categoryTitle"); //์ฆ๊ฒจ์ฐพ๊ธฐ ํƒ€์ดํ‹€, ๋ฆฌ์†Œ์Šค๋ชฉ๋กgenerator id ๊ธฐ์–ตํ•˜๊ธฐ scwin.favGenFavListGenId = genFavListGen.id; scwin.favgenTitleId = genTitle.id; genTitle.setValue("์ฆ๊ฒจ์ฐพ๊ธฐ"); //categoryMenuGen.getChild(categoryMenuGen.getLength() - 2, "categoryMenu").setHref("#" + genTitle.getID()); for (var j = 0; j < favMenuJson.length; j++) { //console.log("[" + j + "]" + favMenuJson[j].id); var strRessourceTitle = favMenuJson[j].title; var strRessourceIcon = favMenuJson[j].iconSrc; //hidden var strResourceId = favMenuJson[j].id; var strResourceCategory = favMenuJson[j].category; var strResourcePreviewSrc = favMenuJson[j].previewSrc; var strResourceXmlpath = favMenuJson[j].xmlpath; var genResourceIdx = genFavListGen.insertChild(); var objResourceTitle = genFavListGen.getChild(genResourceIdx, "resourceTitle"); objResourceTitle.setValue(strRessourceTitle);//resource anchor title setting var objResourceIcon = genFavListGen.getChild(genResourceIdx, "resourceIcon"); objResourceIcon.setSrc(strRessourceIcon); var objResourceIconSrc = genFavListGen.getChild(genResourceIdx, "resourceIconSrc"); objResourceIconSrc.setValue(strRessourceIcon); var objResourceId = genFavListGen.getChild(genResourceIdx, "resourceId"); objResourceId.setValue(strResourceId); var objResourceCategory = genFavListGen.getChild(genResourceIdx, "resourceCategory"); objResourceCategory.setValue(strResourceCategory); var objResourcePreviewSrc = genFavListGen.getChild(genResourceIdx, "resourcePreviewSrc"); objResourcePreviewSrc.setValue(strResourcePreviewSrc); var objResourceXmlpath = genFavListGen.getChild(genResourceIdx, "resourceXmlpath"); objResourceXmlpath.setValue(strResourceXmlpath); genFavListGen.getChild(genResourceIdx, "btn_favorit").toggleClass("on"); genFavListGen.getChild(genResourceIdx, "btn_favorit").addClass("inFavMenu"); } } resource.clearFilter(); scwin.initUserDataTop = true;//์ฆ๊ฒจ์ฐพ๊ธฐ ํ•ญ๋ชฉ๋“ค์ด ์ถ”๊ฐ€๋กœ ๊ทธ๋ ค์ง์— ๋”ฐ๋ผ ogrigin์œ„์น˜ ์žฌ๊ณ„์‚ฐ์„ ์œ„ํ•ด ํ”Œ๋ž˜๊ทธ๊ฐ’ ์ˆ˜์ •ํ•จ. // Snippet ๋ฏธ๋ฆฌ๋ณด๊ธฐ $(".btn_snippet").on("click", function () { $(".designSystem_zoom_box").addClass("on"); $(".designSystem_dim").addClass("on"); }); } scwin.btn_favorit_onclick = function () { var generatorIdx = this.getGeneratedIndex(); var id = this.getGenerator().getChild(generatorIdx, "resourceId").getValue(); //getMatchedIndex๋Š” filter๋œ ๋ฐ์ดํƒ€์—์„œ ์ฐพ์œผ๋ฏ€๋กœ ์ž˜๋ชป๋œ ๊ฒฐ๊ณผ ๋ฆฌํ„ดํ•˜์—ฌ ํ•˜๊ธฐ์™€ ๊ฐ™์ด clear filter resource.clearFilter(); var resourceIndex = resource.getMatchedIndex("id", id)[0]; var status = resource.getRowData(resourceIndex)[6] == "1" ? "0" : "1"; resource.setCellData(resourceIndex, "favMenu", status); var len = $(".btn_snp_favorit.on:not(.inFavMenu)").length; var title = this.getGenerator().getChild(generatorIdx, "resourceTitle").getValue(); for (var i = 0; i < len; i++) { //var selector = ".btn_snp_favorit.on:eq(" + i + "):not(.inFavMenu)"; var selector = ".btn_snp_favorit.on:not(.inFavMenu):eq(" + i + ")"; if ($(selector).next().text() == title) { $(selector).toggleClass("on"); break; } } setUserDataTop(); scwin.load_favMenu(); }; ]]></script> </head> <body ev:onpageload="scwin.onpageload" ev:onpageunload="scwin.onpageunload" style=""> <xf:group id="layout" class="dk_layout page" style=""> <xf:group class="dk_search" id="" style=""> <w2:autoComplete editType="select" id="atc_search" useKeywordHighlight="false" style="width: 178px;height: 21px;" submenuSize="auto" search="contain" autoFocus="false" allowEmptySubmission="false" emptyItem="true" emptyIndex="1" noResult="useData" ev:onviewchange="scwin.atc_search_onviewchange" allOption="" chooseOption="" ref="" placeholder="Search..." class="dk_menu_search"> <w2:choices> <w2:item> <w2:label><![CDATA[์ „์ฒด]]></w2:label> <w2:value><![CDATA[]]></w2:value> </w2:item> </w2:choices> </w2:autoComplete> </xf:group> <xf:group style="" id="" class="dk_side"> <xf:group style="" id="" class="dk_menu"> <w2:generator id="categoryMenuGen" style="" tagname="ul"> <xf:group id="li_category" style="" tagname="li" class="li_categoryMenuGen"> <xf:group id="" tagname="a"> <w2:attributes> <w2:href>#mf_layout</w2:href> </w2:attributes> <xf:image id="categoryMenuIcon" src="/cm/template/snippets/00_ํ™”๋ฉด์‹œ์ž‘/00_ํ™”๋ฉด์‹œ์ž‘.png" style=""></xf:image> </xf:group> <w2:anchor class="designSystem_m_tit" href="#mf_layout" id="categoryMenu" outerDiv="false" style=""> <xf:label><![CDATA[ํ™”๋ฉด์‹œ์ž‘]]></xf:label> </w2:anchor> </xf:group> </w2:generator> </xf:group> </xf:group> <w2:generator style="" id="categoryGen" class="dk_cont"> <xf:group class="dk_dfbox" id="categoryTitleGrp" style=""> <w2:textbox class="designSystem_df_tit" id="categoryTitle" label="ํ™”๋ฉด์‹œ์ž‘" style=""></w2:textbox> </xf:group> <w2:generator class="dk_list" id="resourceListGen" style="" tagname="ul"> <xf:group class="item" id="" style="" tagname="li"> <xf:group class="img_box" id=""> <xf:image id="resourceIcon" src="/cm/template/snippets/00_ํ™”๋ฉด์‹œ์ž‘/0_01%20ํŽ˜์ด์ง€์‹œ์ž‘_icon.png" style="" tabIndex="" ev:onclick="scwin.resourceIcon_onclick"> </xf:image> <xf:input adjustMaxLength="false" id="resourceId" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourceCategory" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourcePreviewSrc" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourceXmlpath" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:input adjustMaxLength="false" id="resourceIconSrc" style="width: 144px;height: 21px;" type="hidden"></xf:input> <xf:group class="sc_area" id="" style=""> <w2:anchor class="btn_snippet" id="btn_popup" outerDiv="false" style="" ev:onclick="scwin.btn_popup_onclick"> <xf:label><![CDATA[๋ฏธ๋ฆฌ๋ณด๊ธฐ]]></xf:label> </w2:anchor> </xf:group> </xf:group> <xf:group id="" class="title_box"> <w2:anchor outerDiv="false" style="" id="btn_favorit" class="btn_snp_favorit" ev:onclick="scwin.btn_favorit_onclick"> <xf:label><![CDATA[์ฆ๊ฒจ์ฐพ๊ธฐ]]></xf:label> </w2:anchor> <w2:anchor outerDiv="false" style="" id="resourceTitle" ev:onclick="scwin.resourceIcon_onclick"> <xf:label><![CDATA[01_ํŽ˜์ด์ง€์‹œ์ž‘_icon]]></xf:label> </w2:anchor> </xf:group> </xf:group> </w2:generator> </w2:generator> <xf:group style="display: none" id="" class="dk_cont"> <xf:group style="" id="" class="designSystem_dfbox"> <w2:textbox style="" id="" label="ํ™”๋ฉด์‹œ์ž‘" class="designSystem_df_tit"></w2:textbox> </xf:group> <w2:generator style="" id="" class="designSystem_list" tagname="ul"> <xf:group class="item" id="" tagname="li" style=""> <xf:group class="img_box" id=""> <xf:image id="" src="/cm/template/snippets/00_ํ™”๋ฉด์‹œ์ž‘/01_ํŽ˜์ด์ง€์‹œ์ž‘_icon.png" style="" tabIndex=""></xf:image> <xf:group class="sc_area" id="" style=""> <w2:anchor class="btn_snippet" id="" outerDiv="false" style=""> <xf:label><![CDATA[๋ฏธ๋ฆฌ๋ณด๊ธฐ]]></xf:label> </w2:anchor> <w2:anchor class="btn_snp_favorit" id="" outerDiv="false" style=""> <xf:label><![CDATA[์ฆ๊ฒจ์ฐพ๊ธฐ]]></xf:label> </w2:anchor> </xf:group> </xf:group> <w2:anchor id="" outerDiv="false" style=""> <xf:label><![CDATA[01_ํŽ˜์ด์ง€์‹œ์ž‘_icon]]></xf:label> </w2:anchor> </xf:group> </w2:generator> </xf:group> <xf:group style="" id="designSystemZoomBox" class="dk_zoom"> <xf:group id="" class="dk_zoom_comp"><w2:wframe style="" id="wf_preview"></w2:wframe><w2:anchor ref="" outerDiv="false" style="" id="" class="btn_zoom_close"> <xf:label><![CDATA[Insert Text]]></xf:label> </w2:anchor></xf:group></xf:group> <xf:group style="" id="" class="dk_dim"></xf:group> </xf:group></body> </html>
WRE/WebContent/mainContainer_mobile.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:type>COMPONENT</w2:type> <w2:buildDate /> <w2:MSA /> <xf:model> <w2:dataCollection baseNode="map"> <w2:dataList baseNode="list" repeatNode="map" id="dlt_cssFileList" saveRemovedData="true"> <w2:columnInfo> <w2:column id="label" name="name1" dataType="text"></w2:column> <w2:column id="path" name="name2" dataType="text"></w2:column> </w2:columnInfo> <w2:data use="true"> <w2:row> <path><![CDATA[style]]></path> <label><![CDATA[๋‚ด๋ถ€ internalStyle]]></label> </w2:row> <w2:row> <path><![CDATA[/css/example.css]]></path> <label><![CDATA[[์˜ˆ์ œ๋ณ„ ์˜ˆ์‹œ] /css/example.css]]></label> </w2:row> <w2:row> <path><![CDATA[/cm/css/base.css]]></path> <label><![CDATA[[๊ณตํ†ต]/cm/css/base.css]]></label> </w2:row> <w2:row> <path><![CDATA[/cm/css/contents.css]]></path> <label><![CDATA[[๊ณตํ†ต]/cm/css/contents.css]]></label> </w2:row> <w2:row> <path><![CDATA[/frame/css/ws5_example.css]]></path> <label><![CDATA[[๊ณตํ†ต]/frame/css/ws5_example.css]]></label> </w2:row> </w2:data> </w2:dataList> </w2:dataCollection> <w2:workflowCollection /> </xf:model> <w2:layoutInfo /> <w2:publicInfo method="" /> <script type="text/javascript" src="/frame/js/mainScript.js" scopeExternal="true"></script> <script lazy="false" type="text/javascript"><![CDATA[scwin.gVar = { "EXA_MAIN_TYPE" : "M", //ํ™”๋ฉด ํƒ€์ž… "jsnParam" : null, "jsnLeftMenuLink" : {}, "jsnContParam" : null, "layoutComponentID" : "wfm_mainContent" }; scwin.onpageload = async function() { $p.js($c.frame.getSrc("/frame/highlight/highlight.min.js"), () => { }); await scwin.menu.init(); //querystring param ๋ถ„์„ scwin.parseParam(); //์ขŒ์ธก ๋ฉ”๋‰ด ๊ตฌ์„ฑ await wfm_leftContainer.setSrc($c.frame.getSrc("frame/page/leftContainer.xml")); inquires("externalJS/editor4.17.1/ckeditor.js").then(function(argDone){ CKEDITOR.disableAutoInline=false; // CKEDITOR.config.autoUpdateElement = false; // CKEDITOR.scayt_autoStartupSince = false; scwin.setInitPage(); }, function(arsError){ console.log("[ERROR]externalJS/editor4.17.1/ckeditor.js", argError); scwin.setInitPage(); }); }; scwin.setInitPage = function () { if (scwin.dispPageByParam() === false) { scwin.dispDashboard(); } }; /** * querystring์˜ param ๋ถ„์„ */ scwin.parseParam = function () { var strAllParam; var arrParam; var jsnParam; strAllParam = (location.search).replace("?",""); arrParam = strAllParam.split("&"); jsnParam = {}; arrParam.forEach((argItem,argIndex)=>{ let arrItem = (argItem || "").trim().split("=");; jsnParam[arrItem[0]] = arrItem[1]; }); //์ „์—ญ ๋ณ€์ˆ˜์— ํ• ๋‹น. scwin.gVar.jsnParam = JSON.parse(JSON.stringify(jsnParam)); }; scwin.dispPageByParam = function() { var strPage; var jsnMenu; strPage = scwin.gVar.jsnParam.p; if (!strPage) { return false; } jsnMenu = scwin.menu.getMenuByPage(strPage); if (jsnMenu && jsnMenu.ID) { scwin.dispPage(jsnMenu); return true; } return false; }; scwin.dispPage = function(argMenuID) { var jsnMenuData; var strMenuID; var strMenuTitle; var isValid = false; grp_main_wrap.removeClass("show_menu"); switch (typeof argMenuID) { case "string": jsnMenuData = scwin.menu.getMenuByID(argMenuID); isValid = true; break; case "object": if ($.isPlainObject(argMenuID) && argMenuID.ID) { jsnMenuData = argMenuID; isValid = true; } break; default: break; } if (!isValid) { console.error("๋ฉ”๋‰ด๋ฅผ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. >> " + argMenuID); return false; } strMenuID = jsnMenuData["ID"]; strMenuTitle = jsnMenuData["TITLE"]; wfm_mainContent.setUserData("exam_menuID", strMenuID); wfm_mainContent.setSrc($c.frame.getSrc("/frame/page/pageContainer_mobile.xml")); scwin.gVar.jsnContParam = { "menuData" : jsnMenuData }; //๊ฐ•์กฐ class ์ ์šฉ let strSelectedMenuID; let strkey = "ex_selectedMenuID"; //๊ธฐ ์„ ํƒ๋œ ์š”์†Œ class ์ œ๊ฑฐ strSelectedMenuID = wfm_mainContent.getUserData(strkey); if (strSelectedMenuID) { scwin.setEmpClass_leftMenu(strSelectedMenuID, false); } //์„ ํƒ๋œ ์š”์†Œ class ์ถ”๊ฐ€ >>> ํ™•์žฅ ์ฒ˜๋ฆฌ๊นŒ์ง€. scwin.setEmpClass_leftMenu(strMenuID, true); wfm_mainContent.setUserData(strkey, strMenuID); }; /** * tab ์ „์ฒด ๋‹ซ๊ธฐ click ์‹œ */ scwin.btn_tab_allclose_onclick = function() { var lenLen = tac_main.getTabCount(); for( let i = lenLen ; i > 0 ; i-- ){ tac_main.deleteTab(i); } }; //dashboard ์ถ”๊ฐ€ scwin.dispDashboard = function() { //wfm_mainContent.setSrc($c.frame.getSrc("/frame/page/home_dashboard.xml")); wfm_mainContent.setSrc($c.frame.getSrc("/frame/page/intro_dashboard.xml")); scwin.removeEmpClass_leftMenu(); }; //project history ์ถ”๊ฐ€ scwin.dispProjectHistory = function() { wfm_mainContent.setSrc($c.frame.getSrc("/frame/page/history.xml")); scwin.removeEmpClass_leftMenu(); }; scwin.btn_sitemap_onclick = function(e) { var objRect; var numMaxHeight, numMaxWidth; objRect = document.body.getBoundingClientRect(); numMaxHeight = objRect.height; numMaxWidth = objRect.width; $p.openPopup( $c.frame.getSrc("/frame/page/sitemap.xml"), { id : "pop_sitemap", type : "browserPopup", resizable : "true", width : (numMaxWidth > 1300 ? 1300 : numMaxWidth) + "px", height : (numMaxHeight > 600 ? 600 : numMaxHeight) + "px", dataObject : { "type" : "json", "name" : "popupParam", "data" : scwin.menu.getAllMenuDataString() } }); }; scwin.btn_online_doc_onclick = function(e) { window.open("https://docs1.inswave.com/ws5_sp5_example", "_blank"); }; //header ๋ฉ”๋‰ด ํ™•์žฅ/์ถ•์†Œ scwin.btn_toggle_menu_onclick = function() { grp_main_wrap.toggleClass("show_menu"); }; /** * ์ƒ๋‹จ์˜ logo ํด๋ฆญ ์‹œ */ scwin.btn_logo_onclick = function() { location.reload(); }; /** * ์ขŒ์ธก ๋ฉ”๋‰ด ๊ฐ•์กฐ class ์ ์šฉ */ scwin.setEmpClass_leftMenu = function(argCurMenuID, argIsRemove) { var strMenuComp; var arrMenuComp; var numLenArrMenuComp; strMenuComp = scwin.gVar.jsnLeftMenuLink[argCurMenuID]; if (!strMenuComp) { $c.frame.log("scwin.setEmpClass_leftMenu", "๋ฉ”๋‰ด ์ •๋ณด๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค : " + argCurMenuID, "debug"); return; } arrMenuComp = strMenuComp.split("|"); numLenArrMenuComp = arrMenuComp.length; arrMenuComp.forEach((item, index) => { //menu let cmpMenu = $p.getComponentById(item); if (!cmpMenu) { $c.frame.log("scwin.setEmpClass_leftMenu", "์ปดํฌ๋„ŒํŠธ๋ฅผ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. : " + item, "debug"); return; } if (argIsRemove === false) { cmpMenu.removeClass("on"); } else { cmpMenu.addClass("on"); if (numLenArrMenuComp-1 == index) { cmpMenu.getParent().removeClass("isCollapsed"); } else if (index == 1) { cmpMenu.removeClass("isCollapsed"); } } }); $p.getComponentById(arrMenuComp[0]).focus(); }; /** * ์ขŒ์ธก ๋ฉ”๋‰ด ๊ฐ•์กฐ class ์ œ๊ฑฐ */ scwin.removeEmpClass_leftMenu = function() { //๊ฐ•์กฐ class ์ ์šฉ var strSelectedMenuID; var strkey = "ex_selectedMenuID"; //๊ธฐ ์„ ํƒ๋œ ์š”์†Œ class ์ œ๊ฑฐ strSelectedMenuID = wfm_mainContent.getUserData(strkey); if (strSelectedMenuID) { scwin.setEmpClass_leftMenu(strSelectedMenuID, false); wfm_mainContent.setUserData(strkey, ""); } }; /** * PC ๋ชจ๋“œ ์ด๋™ */ scwin.btn_pc_onclick = function(e) { location.href = EXA_URL_PC; }; ]]></script> </head> <body ev:onpageload="scwin.onpageload"> <xf:group class="wrap mobile" id="grp_main_wrap" style=""> <xf:group style="" id="" class="header"> <w2:anchor class="btn_toggle_menu" id="btn_toggle_menu" name="" outerDiv="false" style="" ev:onclick="scwin.btn_toggle_menu_onclick" title="๋ฉ”๋‰ด ํ™•์žฅ/์ถ•์†Œ"> <xf:label><![CDATA[tootleMenu]]></xf:label> </w2:anchor> <xf:group class="" id="" style="" tagname="h1"> <w2:anchor class="logo" id="btn_logo" outerDiv="false" ev:onclick="scwin.btn_logo_onclick" title="๋ธŒ๋ผ์šฐ์ € ์ƒˆ๋กœ๊ณ ์นจ"> <xf:label><![CDATA[inswave systems]]></xf:label> </w2:anchor> <w2:textbox id="" label="ver." class="ws_ver" style="" tagname="span"></w2:textbox> <w2:textbox id="" label="SP5" class="ws_ver" style="" tagname="strong"></w2:textbox> </xf:group> <xf:group style="" id="" class="grp_r_link"> <xf:group id="" class=""> <xf:trigger ev:onclick="scwin.btn_sitemap_onclick" style="display: none;" id="btn_sitemap" type="button" class="btn_exam_tran"> <xf:label><![CDATA[์‚ฌ์ดํŠธ๋งต]]></xf:label> </xf:trigger> <xf:trigger class="btn_pc_mode" id="btn_pc" style="" type="button" ev:onclick="scwin.btn_pc_onclick"> <xf:label><![CDATA[PC ๋ฒ„์ „]]></xf:label> </xf:trigger> </xf:group> </xf:group> <!-- <xf:group class="ofh p10" id="" style="display: none"> <xf:group id="" class="fl"> <xf:trigger class="btn_cm" id="btn_leftMenu" style="" type="button" ev:onclick="scwin.btn_leftMenu_onclick"> <xf:label><![CDATA[์ขŒ์ธก ๋ฉ”๋‰ด ์—ด๊ธฐ/๋‹ซ๊ธฐ]]></xf:label> </xf:trigger> </xf:group> <xf:group style="" id="" class="fr"> <xf:trigger class="btn_cm" ev:onclick="scwin.btn_sitemap_onclick" id="btn_sitemap" style="" type="button"> <xf:label><![CDATA[์˜ˆ์ œ ๋ชฉ๋ก ์ „์ฒด ๋ณด๊ธฐ]]></xf:label> </xf:trigger> </xf:group> </xf:group> --> </xf:group> <xf:group id="grp_container" class="container"> <xf:group style="" id="" class="contents"> <w2:wframe style="min- height: 300px;" id="wfm_mainContent"></w2:wframe> </xf:group> </xf:group> <w2:wframe class="side" id="wfm_leftContainer" style=""></w2:wframe> </xf:group> <xf:group style="display: none;" id="grp_hidden"> <a id="hidden_download_anchor"></a> </xf:group> <input id="hidden_clipboard_input" style="position:absolute;left:-1000px;top:-1000px;border:0px solid #fff;"></input> </body> </html>
WRE/.settings/udc/udc.xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <WebSquare> <components> <component category="/frame/udc" company="" componentType="pageComponent" description="" developer="" disableIcon="" display="udc_example_viewer" displaySrc="/frame/udc/example_viewer.xml" height="200px" htmlRender="" icon="" id="udc_example_viewer" namespaceURI="http://www.inswave.com/websquare" notSupportBrowser="" project="EXAMPLE" realType="udc_example_viewer" ternId="_frame_udc_example_viewer" udc2Component="true" variableClone="true" version="" visible="true" width="200px"> <properties> <property bindparent="" default="" description="desc" maincategory="Basic &amp; ETC" maincategoryorder="01" name="style" necessary="no" type="string"/> <property bindparent="" default="" description="desc" maincategory="Basic &amp; ETC" maincategoryorder="01" name="class" necessary="no" type="string"/> <property bindparent="" default="udc_exampleViewer" description="์ปดํฌ๋„ŒํŠธ์˜ ID" maincategory="Basic &amp; ETC" maincategoryorder="01" name="id" necessary="no" type="string"/> <property bindparent="" default="" description="[default:true,false] ์‹คํ–‰๋œ ์˜ˆ์ œ๋ฅผ ํ™•์žฅ ๋˜๋Š” ์ถ•์†Œํ•œ๋‹ค. true: ํ™•์žฅ ์ƒํƒœ, false:์ถ•์†Œ ์ƒํƒœ." maincategory="Basic &amp; ETC" maincategoryorder="01" name="openExampleView" necessary="no" type="combobox"> <option name="true" value="true"/> <option name="false" value="false"/> </property> <property bindparent="" default="" description="[default:true,false] ์†Œ์Šค๋ณด๊ธฐ๋ฅผ ํ™•์žฅ ๋˜๋Š” ์ถ•์†Œํ•œ๋‹ค. true: ํ™•์žฅ ์ƒํƒœ, false:์ถ•์†Œ ์ƒํƒœ." maincategory="Basic &amp; ETC" maincategoryorder="01" name="openSourceView" necessary="no" type="combobox"> <option name="true" value="true"/> <option name="false" value="false"/> </property> </properties> </component> <component category="/frame/udc" company="" componentType="pageComponent" description="" developer="na" disableIcon="" display="udc_example_refresh" displaySrc="/frame/udc/example_refresh.xml" height="200px" htmlRender="" icon="" id="udc_example_refresh" namespaceURI="http://www.inswave.com/websquare" notSupportBrowser="" project="EXAMPLE" realType="udc_example_refresh" ternId="_frame_udc_example_refresh" udc2Component="true" variableClone="true" version="" visible="true" width="200px"> <properties> <property bindparent="" default="" description="desc" maincategory="Basic &amp; ETC" maincategoryorder="01" name="style" necessary="no" type="string"/> <property bindparent="" default="" description="desc" maincategory="Basic &amp; ETC" maincategoryorder="01" name="class" necessary="no" type="string"/> <property bindparent="" default="udc_example_refresh" description="desc" maincategory="Basic &amp; ETC" maincategoryorder="01" name="id" necessary="no" type="string"/> </properties> </component> </components> </WebSquare>