diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-08-03 16:26:51 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-08-03 16:26:51 +0300 |
commit | 20af2f5623d264a418f73cd9cd053462227d0eb4 (patch) | |
tree | f1bf285158d8e23579667d4c2afcf0704288c756 /src/com/vaadin/ui | |
parent | 94f81dc79526a257451c6638a0696e7505227cb7 (diff) | |
download | vaadin-framework-20af2f5623d264a418f73cd9cd053462227d0eb4.tar.gz vaadin-framework-20af2f5623d264a418f73cd9cd053462227d0eb4.zip |
Support getting translated urls in javascript (#9209)
Diffstat (limited to 'src/com/vaadin/ui')
-rw-r--r-- | src/com/vaadin/ui/AbstractJavaScriptComponent.java | 4 |
1 files changed, 4 insertions, 0 deletions
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.</li> + * <li><code>translateVaadinUri(uri)</code> - Translates a Vaadin URI to a URL + * that can be used in the browser. This is just way of accessing + * {@link ApplicationConnection#translateVaadinUri(String)}</li> * </ul> * The connector wrapper also supports these special functions: * <ul> |