[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Fri Apr 23 05:20:00 UTC 2010


gordonp
Fri Apr 23 01:20:00 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui
In directory dev.open-bio.org:/tmp/cvs-serv24693/src/main/ca/ucalgary/seahawk/gui

Modified Files:
	MobyContentPane.java 
Log Message:
Fixed bug with support of plus sign in URLs to wrap as services
moby-live/Java/src/main/ca/ucalgary/seahawk/gui MobyContentPane.java,1.29,1.30
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentPane.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentPane.java	2010/04/16 17:33:25	1.29
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/gui/MobyContentPane.java	2010/04/23 05:20:00	1.30
@@ -273,6 +273,10 @@
 	}
     }
 
+    public void setStatus(String msg){
+	status.setText(msg);
+    }
+
     // servletPath is either the CGI or SOAP servlet
     private void createService(String servletPath){
 	// item name, set by MobyContentGUI's processResults(), is namedXPath#numericXPtr
@@ -459,7 +463,7 @@
 				   "Please manually launch a browser and go to the URL " +
 				   u);
 	    }
-	    desktop.browse(u.toURI());
+	    desktop.browse(new java.net.URI(u.toURI().toString().replace("+", "%2B")));
 	} catch (java.net.URISyntaxException urise){
 	    logger.error("Could not create URI from URL ("+u+"): " + urise);
 	} catch (java.io.IOException ioe){




More information about the MOBY-guts mailing list