OSDN Git Service

Ver8.5.1.0
[opengion/opengionV8.git] / uap / webapps / gf / src / META-INF / resources / jsp / common / gamen / 04_HELP_haishi / helpMenu2.jsp
1 <%@ page language="java"  contentType="text/html; charset=UTF-8" %>
2 <%@ taglib uri="hybs-taglib.tld" prefix="og" %>
3 <%@ page import="org.opengion.hayabusa.common.*,org.opengion.hayabusa.resource.*" %>
4 <og:head headType="init" >
5         <script src="{@SYS.JSP}/menu/GmisTree.js?v={@SYS.START_TIME}"><!-- --></script>
6 </og:head>
7
8 <body>
9 <jsp:directive.include file="/jsp/custom/menu_init.jsp" />
10 <og:comment
11         system   = "GE:エンジンサンプル"
12         pgid     = "GE1007"
13         title    = "ヘルプメニュー"
14         date     = "2007/12/12"
15         author   = "K.HASEGAWA"
16         text     = "ZZZZ"
17         version  = "001"
18 />
19
20 <strong>
21 <table style="width:200px;" >
22 <div class="forpos" id="dummy"></div>
23 <%
24         // GUIInfo の全キーを取得し、userInfo でアクセス可能な画面のみ、列挙する。
25         UserInfo userInfo = (UserInfo)session.getAttribute( HybsSystem.USERINFO_KEY );
26         GUIInfo[] guiInfos = userInfo.getGUIInfos();
27         String classify = "";
28         String guikey   = null;
29         String name     = "";
30         int menuNo = 10;
31         int kmokuNo = 0;
32         for( int i=0; i < guiInfos.length; i++ ) {
33                 if( guiInfos[i].isRead() ) {
34                         if( ! classify.equals( guiInfos[i].getClassify() )) {
35                                 classify = guiInfos[i].getClassify();
36                                 menuNo++;
37                                 kmokuNo = 0;
38 %>
39 <div class="expand1" id="menu<%= menuNo %>"><%= "\u3010" %><%= classify%><%= "\u3011" %><br /></div>
40 <%                      }
41                         guikey = guiInfos[i].getKey();
42                         name = "\u3000" + guiInfos[i].getName();
43 %>
44 <div class="expand2" id="menu<%= menuNo %>_<%= kmokuNo%>">
45         <a href="<%= guikey %>" target = "CONTENTS"><%= name %>
46
47         <og:help
48                 lbl        = "<%= name %>"
49                 guiInfoKey = "<%= guikey %>"
50                 target     = "CONTENTS"
51                 viewMsg    = "true"  /><br /></div>
52 <%              }
53                 kmokuNo++;
54         }
55 %>
56 </table>
57 </strong>
58
59 </body>
60 </html>