From: Bruno Sinou Date: Wed, 28 Jan 2015 22:48:32 +0000 (+0000) Subject: Workaround to enable file download for the workbench in a web / workbench mutalized... X-Git-Tag: argeo-commons-2.1.30~421 X-Git-Url: http://git.argeo.org/?a=commitdiff_plain;h=c3ce85c34a1a90e9ab5fc2fa9bee63daeb2087da;p=lgpl%2Fargeo-commons.git Workaround to enable file download for the workbench in a web / workbench mutalized environment. git-svn-id: https://svn.argeo.org/commons/trunk@7728 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- diff --git a/org.argeo.eclipse.ui.rap/src/org/argeo/eclipse/ui/specific/OpenFile.java b/org.argeo.eclipse.ui.rap/src/org/argeo/eclipse/ui/specific/OpenFile.java index b55521b12..4d2937273 100644 --- a/org.argeo.eclipse.ui.rap/src/org/argeo/eclipse/ui/specific/OpenFile.java +++ b/org.argeo.eclipse.ui.rap/src/org/argeo/eclipse/ui/specific/OpenFile.java @@ -71,7 +71,9 @@ public class OpenFile extends AbstractHandler { log.debug("URL : " + downloadUrl); UrlLauncher launcher = RWT.getClient().getService(UrlLauncher.class); - launcher.openURL(downloadUrl); + // FIXME: find a way to manage correctly the addition of the base + // context for the workbench. + launcher.openURL("/ui" + downloadUrl); // These lines are useless in the current use case but might be // necessary with new browsers. Stored here for memo