Author: mes
Date: 2011-10-05 17:27:14 -0700 (Wed, 05 Oct 2011)
New Revision: 27079

Modified:
   csplugins/trunk/ucsd/ruschein/genomespace-webstart/src/main/jnlp/template.vm
Log:
removed table and now loading networks and sessions using normal cytoscape

Modified: 
csplugins/trunk/ucsd/ruschein/genomespace-webstart/src/main/jnlp/template.vm
===================================================================
--- 
csplugins/trunk/ucsd/ruschein/genomespace-webstart/src/main/jnlp/template.vm    
    2011-10-06 00:26:27 UTC (rev 27078)
+++ 
csplugins/trunk/ucsd/ruschein/genomespace-webstart/src/main/jnlp/template.vm    
    2011-10-06 00:27:14 UTC (rev 27079)
@@ -10,8 +10,8 @@
     header("Content-Type: application/x-java-jnlp-file");
     $MAXHEAP=htmlspecialchars($_GET['maxHeapSize']);
     $NETWORK=htmlspecialchars($_GET['network']);
-    $TABLE=htmlspecialchars($_GET['table']);
     $SESSION=htmlspecialchars($_GET['session']);
+    $GSENV=htmlspecialchars($_GET['gsenv']);
        print('<?xml version="1.0" encoding="utf-8"?>');
 ?>
 <jnlp codebase="$project.Url">
@@ -42,21 +42,22 @@
 <?php
        # either load a session
     if($SESSION != null && $SESSION != "") {
-        print("        <argument>-P</argument>\n");
-        print("        <argument>gssession=$SESSION</argument>\n");
+        print("        <argument>-s</argument>\n");
+        print("        <argument>$SESSION</argument>\n");
        
        # or load network and/or attributes
     } else {
                if ($NETWORK != null && $NETWORK != "") {
-               print(" <argument>-P</argument>\n");
-               print(" <argument>gsnetwork=$NETWORK</argument>\n");
+               print(" <argument>-N</argument>\n");
+               print(" <argument>$NETWORK</argument>\n");
                }
+    }
 
-               if ($TABLE != null && $TABLE != "") {
-               print(" <argument>-P</argument>\n");
-               print(" <argument>gstable=$TABLE</argument>\n");
-               }
-    }
+       # set the genomespace environment
+       if ($GSENV != null && $GSENV != "") {
+               print(" <argument>-P</argument>\n");
+               print(" <argument>genomespace.environment=$GSENV</argument>\n");
+       }
 ?>
     <argument>-p</argument>
     <argument>csplugins.network.merge.NetworkMergePlugin</argument>

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to