Created
November 1, 2013 04:47
-
-
Save kimwooglae/7261065 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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:buildDate /> | |
<xf:model> | |
<xf:instance> | |
<data xmlns=""> | |
</data> | |
</xf:instance> | |
<xf:submission id="getPocFuncList" ref="" target="" | |
action="/MAIN/data/pocFuncList.xml" method="post" mediatype="text/xml" | |
encoding="UTF-8" instance="" replace="instance" errorHandler="" | |
customHandler="" mode="asynchronous" processMsg=""> | |
</xf:submission> | |
<xf:submission id="getPocMainList" ref="" target="" | |
action="/MAIN/data/pocMainList.xml" method="post" mediatype="text/xml" | |
encoding="UTF-8" instance="" replace="instance" errorHandler="" | |
customHandler="" mode="asynchronous" processMsg=""> | |
</xf:submission> | |
</xf:model> | |
<style type="text/css"><![CDATA[ | |
.txt01{ | |
padding-top:14px; | |
padding-bottom:14px; | |
padding-left:4px; | |
padding-right:4px; | |
/*background-color:#C4A93A;*/ | |
} | |
.w2table_sb_row{ | |
text-align:left; | |
} | |
#selectbox1_label{ | |
text-align:left; | |
padding-left:10px; | |
} | |
#searchAnchor a{ | |
width: 100px; | |
height: 20px; | |
float: left; | |
text-indent: 20px; | |
text-decoration : none; | |
border-style:node; | |
padding-top:5px; | |
background: url("/MAIN/img/icon_search.gif") no-repeat left; | |
color:#000; | |
margin-top:7px; | |
} | |
#searchAnchor a:hover{ | |
color:#735005; | |
} | |
.treeBtn a{ | |
background: url("/MAIN/img/guidance02.gif") no-repeat left; | |
position:realtive; | |
float:left; | |
margin-top:8px; | |
text-indent:16px; | |
text-decoration : none; | |
border-style:node; | |
background-color:transparent; | |
margin-left:6px; | |
/*color:#333;*/ | |
color:gray | |
} | |
.treeBtn a:hover{ | |
color:#333; | |
} | |
.treeBtn{ | |
border: 1px solid lightgray; | |
border-bottom: 0px solid #C4A93A; | |
text-align:center; | |
font-weight: bold; | |
} | |
.treeBtnActive a{ | |
color:red; | |
font-weight:bold; | |
} | |
.treeBtnActive{ | |
color:red; | |
border: 1px solid #C4A93A; | |
border-bottom: 0px solid #C4A93A; | |
} | |
]]></style> | |
<script type="javascript"><![CDATA[ | |
var webPath=""; | |
function doInit(){ | |
WebSquare.cookie.delCookie( "w2xTheme" ); | |
treeBtn2.addClass( "treeBtnActive" ); | |
WebSquare.ModelUtil.executeSubmission( "getPocFuncList" ); | |
WebSquare.ModelUtil.executeSubmission( "getPocMainList" ); | |
} | |
function search(){ | |
if(webPath == ""){ | |
//alert("리스트을 먼저 선택하십시오"); | |
}else{ | |
var tmpPath = ""; | |
var defaultPath = "/web2_poc/websquare/websquare.html"; | |
if(webPath.search("/?w2xPath") > -1 || webPath.search(".html") > -1 ){ | |
//alert("안내 : 해당 파일은 고정 엔진만 사용 가능합니다."); | |
tmpPath = "http://"+location.host + webPath; | |
}else{ | |
tmpPath = "http://"+location.host + defaultPath + "?w2xPath=" + webPath; | |
} | |
window.open(tmpPath,"_blank"); | |
} | |
} | |
function treeShow(flag){ | |
if(flag == 0){ | |
treeBtn1.addClass( "treeBtnActive" ); | |
treeBtn2.removeClass( "treeBtnActive" ); | |
treeview2.hide(); | |
treeview1.show(); | |
}else{ | |
treeBtn2.addClass( "treeBtnActive" ); | |
treeBtn1.removeClass( "treeBtnActive" ); | |
treeview1.hide(); | |
treeview2.show(); | |
} | |
} | |
doInit(); | |
]]></script> | |
</head> | |
<body> | |
<xf:group id="group1" class="" | |
style="position: relative ;width: 98%;height: 1000px;margin: 0 auto;"> | |
<xf:group id="group4" class="" | |
style="position: relative ;float:left;width: 100%;"> | |
<w2:textbox id="textbox2" style="position: relative ;float:left;" | |
label="WebSquare POC Index" tagname="h2"> | |
</w2:textbox> | |
</xf:group> | |
<xf:group id="group6" | |
style="position:relative;float:left;width:100%;height:700px;margin-top:4px;"> | |
<xf:group id="group7" class="" | |
style="position:relative;float:left;width:400px;"> | |
<xf:group id="group8" class="" | |
style="position:relative;float:left;width:400px;"> | |
<w2:anchor id="treeBtn1" | |
style="position: relative ;float:left;width: 100px;height:30px;" | |
class="treeBtn"> | |
<xf:label>기능 리스트</xf:label> | |
<script type="javascript" | |
ev:event="onclick"><![CDATA[ | |
treeShow(0); | |
]]></script> | |
</w2:anchor> | |
<w2:anchor id="treeBtn2" | |
style="position: relative ;float:left;width: 140px;height:30px;" class="treeBtn"> | |
<xf:label>PoC MAIN 리스트</xf:label> | |
<script type="javascript" | |
ev:event="onclick"><![CDATA[ | |
treeShow(1); | |
]]></script> | |
</w2:anchor> | |
</xf:group> | |
<w2:treeview id="treeview1" dataType="recursive" | |
expandedImage="/MAIN/img/ico_folder01.gif" lineShow="false" | |
style="position: relatvie;float:left;width:600px;border:1px solid #C4A93A;border-top:1px solid #C4A93A;display:none;" | |
useDrag="" toggleEvent="onclick" | |
defaultImage="/MAIN/img/ico_folder.gif" | |
leafImage="/MAIN/img/0003_arw.gif"> | |
<w2:itemset nodeset="pocFuncList/data"> | |
<w2:label ref="label"></w2:label> | |
<w2:value ref="webPath"></w2:value> | |
<w2:depth ref=""></w2:depth> | |
<w2:folder ref="folderFlag"></w2:folder> | |
<w2:checkbox ref=""></w2:checkbox> | |
<w2:checkboxDisabled ref=""></w2:checkboxDisabled> | |
<w2:image ref=""></w2:image> | |
<w2:iconImage ref=""></w2:iconImage> | |
<w2:selectedImage ref=""></w2:selectedImage> | |
<w2:expandedImage ref=""></w2:expandedImage> | |
<w2:leafImage ref=""></w2:leafImage> | |
</w2:itemset> | |
<script type="javascript" | |
ev:event="onlabelclick(value,nodeElement)"><![CDATA[ | |
if(this.isLeaf()){ | |
var tmp = WebSquare.xml.getValue( nodeElement , "description"); | |
webPath = value ; | |
search(); | |
} | |
]]></script> | |
</w2:treeview> | |
<w2:treeview id="treeview2" dataType="recursive" | |
expandedImage="/MAIN/img/ico_folder01.gif" lineShow="false" | |
style="position: relatvie;float:left;width:600px;border:1px solid #C4A93A;" | |
useDrag="" toggleEvent="onclick" | |
defaultImage="/MAIN/img/ico_folder.gif" | |
leafImage="/MAIN/img/0003_arw.gif"> | |
<w2:itemset nodeset="pocMainList/data"> | |
<w2:label ref="label"></w2:label> | |
<w2:value ref="webPath"></w2:value> | |
<w2:depth ref=""></w2:depth> | |
<w2:folder ref="folderFlag"></w2:folder> | |
<w2:checkbox ref=""></w2:checkbox> | |
<w2:checkboxDisabled ref=""></w2:checkboxDisabled> | |
<w2:image ref=""></w2:image> | |
<w2:iconImage ref=""></w2:iconImage> | |
<w2:selectedImage ref=""></w2:selectedImage> | |
<w2:expandedImage ref=""></w2:expandedImage> | |
<w2:leafImage ref=""></w2:leafImage> | |
</w2:itemset> | |
<script type="javascript" | |
ev:event="onlabelclick(value,nodeElement)"><![CDATA[ | |
if(this.isLeaf()){ | |
var tmp = WebSquare.xml.getValue( nodeElement , "description"); | |
webPath = value ; | |
search(); | |
} | |
]]></script> | |
</w2:treeview> | |
</xf:group> | |
</xf:group> | |
</xf:group> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment