From 3bd6f9497e0fe5755850e1e2e132a45f817905c2 Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Wed, 6 Apr 2011 09:43:35 +0000 Subject: [PATCH] fixes #6772: Application resources and stream variables now relatively parsed on the client side -> works better in some reverse proxy setups svn changeset:18126/svn branch:6.5 --- src/com/vaadin/terminal/PaintTarget.java | 5 +++++ .../terminal/gwt/client/ApplicationConnection.java | 3 +++ src/com/vaadin/terminal/gwt/client/ui/VUpload.java | 4 +++- .../terminal/gwt/server/CommunicationManager.java | 5 ++--- .../vaadin/terminal/gwt/server/JsonPaintTarget.java | 11 +---------- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/com/vaadin/terminal/PaintTarget.java b/src/com/vaadin/terminal/PaintTarget.java index a81c637de2..d118562588 100644 --- a/src/com/vaadin/terminal/PaintTarget.java +++ b/src/com/vaadin/terminal/PaintTarget.java @@ -8,6 +8,7 @@ import java.io.Serializable; import java.util.Map; import com.vaadin.terminal.StreamVariable.StreamingStartEvent; +import com.vaadin.terminal.gwt.client.ApplicationConnection; /** * This interface defines the methods for painting XML to the UIDL stream. @@ -158,6 +159,10 @@ public interface PaintTarget extends Serializable { * terminals Receivers are typically rendered for the client side as URLs, * where the client side implementation can do an http post request. *

+ * The urls in UIDL message may use Vaadin specific protocol. Before + * actually using the urls on the client side, they should be passed via + * {@link ApplicationConnection#translateVaadinUri(String)}. + *

* Note that in current terminal implementation StreamVariables are cleaned * from the terminal only when: *