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

Revision 72, 1.8 KB (checked in by vsilva, 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">
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/graphicEffects.js"></script>
16<script type="text/javascript" src="js/PINOperations.js"></script>
17<link href="css/jquery-ui-1.8.17.custom.css" rel="stylesheet"
18        type="text/css" />
19<script type="text/javascript" src="js/reloader.js"></script>
20</head>
21<body>
22        <h1>Applet de Autentica&ccedil;&atilde;o Simples (Headless)</h1>
23        <script type="text/javascript">
24    var attributes = {
25            id: 'ccApplet',
26            width: 1,
27            height: 1
28        };
29
30        var version = '1.6';
31
32        $.get("all_fields.xml", function(dataRequested) {
33            var parameters = {
34                    'jnlp_href': 'jnlp/auth-applet-standalone-headless.jnlp',
35                    'auth.submit.path': '/webapp/submit.jsp',
36                    'auth.data.requested': dataRequested,
37                    'auth.headless': true
38            };
39                deployJava.runApplet(attributes, parameters, version);
40         }, "text" );
41    </script>
42        <p id="headlessArea">
43                <a href="javascript:void(0)"
44                        onclick="getApplet().startAuthentication()">Detectar
45                        Cart&atilde;o</a>
46        </p>
47</body>
48</html>
49
Note: See TracBrowser for help on using the browser.