Salome HOME
Fix for uploading of files with names containing specific (accented, ampersand) chara...
[tools/siman.git] / Workspace / Siman / WebContent / layout / baseLayout.jsp
index d4d07262048ca0ec953ffd3b1e3c6ca30fa8c976..3d1689dd71010eb17ea5417868252e57b6570d5e 100644 (file)
@@ -1,4 +1,5 @@
-<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
+    pageEncoding="ISO-8859-1"%>
 <%@ taglib prefix="s" uri="/struts-tags"%>
 <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
        <title>
                <s:property value="%{getText(#request.title)}"/>
        </title>
-    <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
+    <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css"/>
+    <link href=<s:url value="/css/cupertino/jquery-ui-1.9.0.custom.css"/> rel="stylesheet"/>
+    <script src=<s:url value="/js/jquery-1.8.2.js"/>></script>
+    <script src=<s:url value="/js/jquery-ui-1.9.0.custom.js"/>></script>
 </head>
 
 <body>
     <div id=main-pane>
        <tiles:insertAttribute name="presentation_pane" ignore="true" />
     </div>
-
+<s:if test="message != ''">
+<div id="message"><p><s:property value="message"/></p></div>
+<script>
+    $(document).ready(function () {
+        $( "#message" ).dialog({
+            autoOpen: true,
+            width: 400,
+            buttons: [
+                {
+                    text: '<s:text name="button.ok"/>',
+                    click: function() {
+                        $( this ).dialog( "close" );
+                    }
+                }
+            ]
+        });
+    });
+</script>
+</s:if>
   </body>
   
\ No newline at end of file