JAL-957 JAL-1400 use signed/unsigned applet as needed
[jalview.git] / examples-jbake / templates / jvl_linkedapplets_ng.ftl
index a3c0b3e..96abf47 100644 (file)
   };
 </script>
     <strong>JalviewLite Linked Applets Demo<br></strong>
-    <p>The two applets below use <a href="JalviewLiteJs.html">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
+    <p>The two applets below use <a href="jalviewLiteJs.html">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
     </p>
        <script> 
   var attributes = {
     code : 'jalview.bin.JalviewLite',
-    archive : 'jalviewApplet.jar',
+    archive : '${content.jvl}',
     width : 800,
     height : 300,
     mayscript : 'True', scriptable: 'True',
@@ -47,7 +47,7 @@
     linkLabel_2 : "Uniprot"
     ,
     linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
-    permissions : 'all-permissions',
+    permissions : 'sandbox',
     APPLICATION_URL : "http://www.jalview.org/services/launchApp"
   };
  
@@ -56,7 +56,7 @@
 <script> 
   var attributes = {
     code : 'jalview.bin.JalviewLite',
-    archive : 'jalviewApplet.jar',
+    archive : '${content.jvl}',
     width : 800,
     height : 300,
     mayscript : 'True', scriptable: 'True',
@@ -80,7 +80,7 @@
     linkLabel_2 : "Uniprot"
     ,
     linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
-    permissions : 'all-permissions',
+    permissions : 'sandbox',
    APPLICATION_URL : "http://www.jalview.org/services/launchApp"
   };
   deployJava.runApplet(attributes, parameters, '1.6');