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

Revision 6, 1.2 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</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  </head>
9  <body>
10    <h1>Applet de Autentica&ccedil;&atilde;o Simples</h1>
11    <script type="text/javascript">
12        var attributes = {
13            id: 'ccApplet',
14            width: 180,
15            height: 180
16        }
17       
18        var parameters = {
19            'jnlp_href': 'jnlp/auth-applet-standalone.jnlp',
20            'auth.submit.path': '/webapp/submit.jsp',
21            '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>',
22            'auth.headless': false
23        }
24       
25        deployJava.runApplet(attributes, parameters, '1.6'); 
26    </script>
27  </body>
28</html>
29
Note: See TracBrowser for help on using the browser.