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

Revision 6, 1.4 KB (checked in by vsilva, 9 years ago)

Initial comit

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3  <head>
4    <title>Applet de Autentica&ccedil;&atilde;o Simples (Headless)</title>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6    <script type="text/javascript" src="http://www.java.com/js/deployJava.js"></script>
7    <script type="text/javascript" src="js/deployJavaFixes.js"></script>
8    <script type="text/javascript" src="js/headlessApplet.js"></script>
9  </head>
10  <body>
11    <h1>Applet de Autentica&ccedil;&atilde;o Simples (Headless)</h1>
12    <script type="text/javascript">
13        var attributes = {
14            id: 'ccApplet',
15            width: 180,
16            height: 180
17        }
18       
19        var parameters = {
20            'jnlp_href': 'jnlp/auth-applet-standalone.jnlp',
21            'auth.submit.path': '/webapp/submit.jsp',
22            'auth.data.requested': '<ccpt><photo opcional="true" /><basicInformation><name/><nic opcional="false" /></basicInformation><IdentificationNumbers><TaxNo/><SocialSecurityNo/><HealthNo opcional="true" /></IdentificationNumbers><Address><streetName opcional="true" /></Address></ccpt>',
23            'auth.headless': true
24        }
25       
26        deployJava.runApplet(attributes, parameters, '1.6'); 
27    </script>
28    <p id="headlessArea">
29        <a href="javascript:void(0)" onclick="getCCApplet().startAuthentication()">Detectar Cart&atilde;o</a>
30    </p>
31  </body>
32</html>
33
Note: See TracBrowser for help on using the browser.