123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * Name : 좌측메뉴
- * Summary : 트리메뉴
- * Programmer : Roger Kim
- * Date Written : 2007.01.23
- * History : 2007.7.18 SSZUM01400_메뉴리스트 반영
- * Remark :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>VOC메뉴</xhtml:title>
- <xhtml:style id="style_tree">
- <![CDATA[treeview treeitem { hover.color:blue; hover.background-color:#f5eef5; hover.text-decoration:underline; }]]>
- </xhtml:style>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <send>
- <menugrupcd/>
- <menuitemcd/>
- <menuauthcd/>
- </send>
- <properties>
- <menuitemlist>
- <items>
- <menuitemcd/>
- <menuitemnm/>
- <level/>
- <scrnpos/>
- <scrncd/>
- <scrnauth/>
- </items>
- </menuitemlist>
- </properties>
- </root>
- </instance>
- <submission id="TRZUM01401" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/properties/menuitemlist"/>
- <script type="javascript" ev:event="xforms-model-construct-done">
- <![CDATA[
- // var menugrupcd = model.property("gsv_menugroupcd");
- // var menuitemcd = model.property("gsv_menuitemcd");
- var menugrupcd = getGlobalVariable("menugroupcd");
- var menuitemcd = getGlobalVariable("menuitemcd");
-
- model.setValue("/root/send/menugrupcd", menugrupcd.split("|")[0]);
- model.setValue("/root/send/menuauthcd", menugrupcd.split("|")[1]);
- model.setValue("/root/send/menuitemcd", menuitemcd);
- model.removeNodeset("/root/properties/menuitemlist/items");
- submit("TRZUM01401");
- ]]>
- </script>
- </model>
- </xhtml:head>
- <xhtml:body style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <group id="grp_tree" scroll="auto" style="left:0px; top:0px; width:215px; height:744px; ">
- <line id="lin_tree" class="line_1" style="x1:0px; y1:0px; x2:215px; y2:0px; "/>
- <treeview id="trv_menuitemlist" ref="/root/send/menuitemcd" expanddepth="2" fullrowselect="true" itemsettype="depth" oneclickexpand="true" style="left:0px; top:5px; width:215px; height:723px; ">
- <itemset nodeset="/root/properties/menuitemlist/items">
- <label ref="menuitemnm"/>
- <value ref="menuitemcd"/>
- <depth ref="level"/>
- </itemset>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- var idx = (trv_menuitemlist.selectedindex)+1;
- var scrncd = model.getValue("/root/properties/menuitemlist/items["+idx+"]/scrncd");
- if(scrncd != ""){
- var scrnid = getScreenID();
-
- if(scrnid == "SPZUM01300"){
- fAddShortcutMenu();
- }else{
- var menuinfo = scrncd + "|"
- + model.getValue("/root/properties/menuitemlist/items["+idx+"]/scrnpos") + "|"
- + model.getValue("/root/properties/menuitemlist/items["+idx+"]/scrnauth") + "|"
- + model.getValue("/root/properties/menuitemlist/items["+idx+"]/menuitemcd") + "|"
- + model.getValue("/root/properties/menuitemlist/items["+idx+"]/menuparam") ;
- window.htmlwindow.openMenuItem(menuinfo);
- }
- }
- ]]>
- </script>
- </treeview>
- </group>
- </xhtml:body>
- </xhtml:html>
|