root/middleware-online/trunk/webapp/src/main/webapp/run-auth-applet-standalone-headless.jsp @ 81

Revision 81, 1.8 KB (checked in by noliveira, 9 years ago)

Developments on Online Application

Line 
1<%@ page language="java" contentType="text/html; charset=UTF-8"
2        pageEncoding="UTF-8"%>
3<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4<html>
5<head>
6<title>Applet de Autentica&ccedil;&atilde;o Simples (Headless)</title>
7<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8<script type="text/javascript" src="js/deployJava.js"></script>
9<script type="text/javascript" src="js/deployJavaFixes.js"></script>
10<link href="css/jquery-ui-1.8.16.custom.css" rel="stylesheet"
11        type="text/css" />
12<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
13<script type="text/javascript" src="js/jquery-ui-1.8.17.custom.min.js"></script>
14<script type="text/javascript" src="js/headlessApplet.js"></script>
15<script type="text/javascript" src="js/PINOperations.js"></script>
16<link href="css/jquery-ui-1.8.17.custom.css" rel="stylesheet"
17        type="text/css" />
18</head>
19<body>
20        <h1>Applet de Autentica&ccedil;&atilde;o Simples (Headless)</h1>
21        <script type="text/javascript">
22    var attributes = {
23            'id': 'ccApplet',
24            'width': '1',
25            'height': '1'
26        };
27
28        var version = '1.6';
29
30        $.get("all_fields.xml", function(dataRequested) {
31            var parameters = {
32                    'jnlp_href': 'jnlp/auth-applet-standalone.jnlp',
33                    'auth.submit.path': '/webapp/submit.jsp',
34                    'auth.data.requested': dataRequested,
35                    'auth.headless': true,
36                    'separate_jvm': true
37            };
38                deployJava.runApplet(attributes, parameters, version);
39         }, "text" );
40    </script>
41        <p id="headlessArea">
42                <a href="javascript:void(0)"
43                        onclick="getApplet().startAuthentication()">Detectar
44                        Cart&atilde;o</a>
45        </p>
46</body>
47</html>
48
Note: See TracBrowser for help on using the browser.