From 20af2f5623d264a418f73cd9cd053462227d0eb4 Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Fri, 3 Aug 2012 16:26:51 +0300 Subject: Support getting translated urls in javascript (#9209) --- src/com/vaadin/ui/AbstractJavaScriptComponent.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/vaadin/ui/AbstractJavaScriptComponent.java') diff --git a/src/com/vaadin/ui/AbstractJavaScriptComponent.java b/src/com/vaadin/ui/AbstractJavaScriptComponent.java index efcb22dd2b..3668669d16 100644 --- a/src/com/vaadin/ui/AbstractJavaScriptComponent.java +++ b/src/com/vaadin/ui/AbstractJavaScriptComponent.java @@ -5,6 +5,7 @@ package com.vaadin.ui; import com.vaadin.shared.ui.JavaScriptComponentState; import com.vaadin.terminal.JavaScriptCallbackHelper; +import com.vaadin.terminal.gwt.client.ApplicationConnection; import com.vaadin.terminal.gwt.client.ui.JavaScriptWidget; /** @@ -66,6 +67,9 @@ import com.vaadin.terminal.gwt.client.ui.JavaScriptWidget; * 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: *