From: Leif Åstrand Date: Fri, 3 Aug 2012 13:26:51 +0000 (+0300) Subject: Support getting translated urls in javascript (#9209) X-Git-Tag: 7.0.0.beta1~236^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=20af2f5623d264a418f73cd9cd053462227d0eb4;p=vaadin-framework.git Support getting translated urls in javascript (#9209) --- diff --git a/src/com/vaadin/terminal/AbstractJavaScriptExtension.java b/src/com/vaadin/terminal/AbstractJavaScriptExtension.java index ef90d8b23a..df44c3edd5 100644 --- a/src/com/vaadin/terminal/AbstractJavaScriptExtension.java +++ b/src/com/vaadin/terminal/AbstractJavaScriptExtension.java @@ -5,6 +5,7 @@ package com.vaadin.terminal; import com.vaadin.shared.JavaScriptExtensionState; +import com.vaadin.terminal.gwt.client.ApplicationConnection; import com.vaadin.ui.JavaScriptCallback; /** @@ -63,6 +64,9 @@ import com.vaadin.ui.JavaScriptCallback; * exception when called. The scheme for conversion between Java types in the * RPC interface and the JavaScript values that should be passed to the * functions is described bellow. + *
  • translateVaadinUri(uri) - Translates a Vaadin URI to a URL + * that can be used in the browser. This is just way of accessing + * {@link ApplicationConnection#translateVaadinUri(String)}
  • * * The connector wrapper also supports these special functions: * * The connector wrapper also supports these special functions: *