Salome HOME
Duplicated menu after a second study opening is fixed.
[tools/siman.git] / Workspace / Siman / WebContent / study / error.jsp
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2     pageEncoding="ISO-8859-1"
3 %>
4 <%@
5     taglib prefix="s" uri="/struts-tags"
6 %>
7 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8
9 <!-- Initialization of the message
10      =============================================================================================================================
11   -->
12 <%  String  message = request.getParameter("message");
13     String  value   = request.getParameter("value");
14 %>
15 <s:set var="code"><%=message%></s:set>
16 <html>
17
18   <head>
19     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
20     <title><s:text name="name.module"/></title>
21     <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
22   </head>
23
24   <body>
25 <!-- Menu-bar
26      =============================================================================================================================
27   -->
28     <jsp:include page="/jsp/menubar.jsp">
29       <jsp:param name="menu" value="study" />
30     </jsp:include>
31
32 <!-- Title-bar
33      =============================================================================================================================
34   -->
35     <jsp:include page="/jsp/titlebar.jsp">
36       <jsp:param name="entity" value="study" />
37       <jsp:param name="disable" value="true" />
38     </jsp:include>
39
40 <!-- Left pane
41      =============================================================================================================================
42   -->
43     <div id=left-pane>
44       <jsp:include page="/jsp/toolbar.jsp">
45         <jsp:param name="tools" value="none" />
46       </jsp:include>
47       <div id=top-spacer></div>
48       <jsp:include page="/jsp/menuitem.jsp">
49         <jsp:param name="menu" value="study" />
50       </jsp:include>
51       <jsp:include page="/jsp/studyProperties.jsp" />
52     </div>
53
54 <!-- Message pane
55      =============================================================================================================================
56   -->
57     <div id=main-pane>
58       <div id=article-box>
59         <div id=article-body>
60           <table width=100% cellpadding=0 cellspacing=0 border=0 class=error>
61             <tr height=5><td></td></tr>
62             <tr>
63               <td>
64                 <s:text name="message.error.%{#code}">
65 <%  if (value != null) {
66 %>                <s:param><%=value%></s:param>
67 <%  }
68 %>              </s:text>
69               </td>
70             </tr>
71             <tr height=10><td></td></tr>
72             <tr>
73               <td align=center><input type=button style='width: 100px;' value="<s:text name="button.ok"/>" onClick="history.back();return false;">
74             </tr>
75           </table>
76         </div>
77       </div>
78     </div>
79
80   </body>
81