-<%@ 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