Salome HOME
Fix for uploading of files with names containing specific (accented, ampersand) chara...
[tools/siman.git] / Workspace / Siman / WebContent / layout / homeLayout.jsp
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2     pageEncoding="ISO-8859-1"%>
3 <%@ taglib prefix="s" uri="/struts-tags"%>
4 <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
5 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
6
7 <html>
8
9 <head>
10     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
11     <tiles:importAttribute name="title" scope="request"/>
12     <title>
13                 <s:property value="%{getText(#request.title)}"/>
14         </title>
15     <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css"/>
16     <link href=<s:url value="/css/cupertino/jquery-ui-1.9.0.custom.css"/> rel="stylesheet"/>
17     <script src=<s:url value="/js/jquery-1.8.2.js"/>></script>
18     <script src=<s:url value="/js/jquery-ui-1.9.0.custom.js"/>></script>
19 </head>
20
21 <body>
22
23         <!-- Menu-bar -->
24         <tiles:insertAttribute name="menu_bar" ignore="true" />
25     
26     <table border="0" cellpadding="10" cellspacing="0" class="error">
27         <tr height=24 valign=middle>
28                 <td>
29                         <s:if test="errorCode != null">
30                         <s:property value="%{getText(errorCode)}" />
31                 </s:if>
32                 </td>
33         </tr>
34     </table>
35 <s:if test="message != ''">
36 <div id="message"><p><s:property value="message"/></p></div>
37 <script>
38     $(document).ready(function () {
39         $( "#message" ).dialog({
40             autoOpen: true,
41             width: 400,
42             buttons: [
43                 {
44                     text: '<s:text name="button.ok"/>',
45                     click: function() {
46                         $( this ).dialog( "close" );
47                     }
48                 }
49             ]
50         });
51     });
52 </script>
53 </s:if></body>
54
55 </html>