]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman/WebContent/study/error.jsp
Salome HOME
Menus are improved
[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
30 <!-- Title-bar
31      =============================================================================================================================
32   -->
33     <jsp:include page="/jsp/titlebar.jsp">
34       <jsp:param name="entity" value="study" />
35       <jsp:param name="disable" value="true" />
36     </jsp:include>
37
38 <!-- Left pane
39      =============================================================================================================================
40   -->
41     <div id=left-pane>
42       <jsp:include page="/jsp/toolbar.jsp">
43         <jsp:param name="tools" value="none" />
44       </jsp:include>
45       <div id=top-spacer></div>
46       <jsp:include page="/jsp/menuitem.jsp">
47         <jsp:param name="menu" value="study" />
48       </jsp:include>
49       <jsp:include page="/jsp/studyProperties.jsp" />
50     </div>
51
52 <!-- Message pane
53      =============================================================================================================================
54   -->
55     <div id=main-pane>
56       <div id=article-box>
57         <div id=article-body>
58           <table width=100% cellpadding=0 cellspacing=0 border=0 class=error>
59             <tr height=5><td></td></tr>
60             <tr>
61               <td>
62                 <s:text name="message.error.%{#code}">
63 <%  if (value != null) {
64 %>                <s:param><%=value%></s:param>
65 <%  }
66 %>              </s:text>
67               </td>
68             </tr>
69             <tr height=10><td></td></tr>
70             <tr>
71               <td align=center><input type=button style='width: 100px;' value="<s:text name="button.ok"/>" onClick="history.back();return false;">
72             </tr>
73           </table>
74         </div>
75       </div>
76     </div>
77
78   </body>
79