[1240] | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
---|
| 2 | <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
|
---|
| 3 | <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
|
---|
| 4 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
---|
| 5 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
---|
| 6 | <html>
|
---|
| 7 | <head>
|
---|
| 8 | <title><fmt:message key="app.name"/> - Version Incompatibility</title>
|
---|
| 9 | <script language="JavaScript">
|
---|
| 10 | var targetURL = '<c:url value="/"/>';
|
---|
| 11 | var countdownfrom = 30;
|
---|
| 12 | var currentsecond;
|
---|
| 13 |
|
---|
| 14 | function init() {
|
---|
| 15 | currentsecond = document.getElementById('countdown').innerHTML = countdownfrom + 1;
|
---|
| 16 | countredirect();
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | function countredirect() {
|
---|
| 20 | if (currentsecond != 1) {
|
---|
| 21 | currentsecond -= 1;
|
---|
| 22 | document.getElementById('countdown').innerHTML = currentsecond;
|
---|
| 23 | }
|
---|
| 24 | else {
|
---|
| 25 | window.location = targetURL;
|
---|
| 26 | return
|
---|
| 27 | }
|
---|
| 28 | setTimeout("countredirect()", 1000);
|
---|
| 29 | }
|
---|
| 30 | </script>
|
---|
| 31 | </head>
|
---|
| 32 | <body onload="init()">
|
---|
| 33 | <%session.invalidate();%>
|
---|
| 34 | <h2>
|
---|
| 35 | <fmt:message key="app.name"/>
|
---|
| 36 | </h2>
|
---|
| 37 |
|
---|
| 38 | <h3>Version Incompatibility</h3>
|
---|
| 39 |
|
---|
| 40 | <p>This is EDIS web application version '<fmt:message key="app.version"/>'.<br/>
|
---|
| 41 | The EDIS server package version running in your VistA account is '<c:out value="${serverPackageVersion}"/>'.<br/>
|
---|
| 42 | A compatible client ('<c:out value="${clientFinalName}"/>') was not found bundled in this web application.
|
---|
| 43 | </p>
|
---|
| 44 |
|
---|
| 45 | <p>Please ensure the version in your VistA account is compatible with version '<fmt:message key="app.version"/>' of the
|
---|
| 46 | EDIS web application.</p>
|
---|
| 47 |
|
---|
| 48 | <p>Will attempt to re-establish connection in <span id="countdown">XX</span> seconds.</p>
|
---|
| 49 | </body>
|
---|
| 50 | </html>
|
---|