diff options
author | Leif Åstrand <leif@vaadin.com> | 2011-12-14 17:53:19 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2011-12-14 17:53:19 +0200 |
commit | 015c8335ad2a690a428568bd3ddcd0040cf056eb (patch) | |
tree | d6b1725d4870256e6d1afd28258f9fa0496ca665 /src/com/vaadin/terminal/gwt/server/CommunicationManager.java | |
parent | 453a65cbc49eaa45f3a812c67f0c34987f0a61b5 (diff) | |
download | vaadin-framework-015c8335ad2a690a428568bd3ddcd0040cf056eb.tar.gz vaadin-framework-015c8335ad2a690a428568bd3ddcd0040cf056eb.zip |
Move initial UIDL generation out from AjaxPageHandler
Diffstat (limited to 'src/com/vaadin/terminal/gwt/server/CommunicationManager.java')
-rw-r--r-- | src/com/vaadin/terminal/gwt/server/CommunicationManager.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/CommunicationManager.java b/src/com/vaadin/terminal/gwt/server/CommunicationManager.java index e660e14a8f..2e908ae12a 100644 --- a/src/com/vaadin/terminal/gwt/server/CommunicationManager.java +++ b/src/com/vaadin/terminal/gwt/server/CommunicationManager.java @@ -11,12 +11,14 @@ import java.util.Map; import java.util.UUID; import com.vaadin.Application; +import com.vaadin.terminal.PaintException; import com.vaadin.terminal.Paintable; import com.vaadin.terminal.StreamVariable; import com.vaadin.terminal.VariableOwner; import com.vaadin.terminal.WrappedRequest; import com.vaadin.terminal.WrappedResponse; import com.vaadin.ui.Component; +import com.vaadin.ui.Root; /** * Application manager processes changes and paints for single application @@ -230,8 +232,9 @@ public class CommunicationManager extends AbstractCommunicationManager { } @Override - protected AbstractCommunicationManager getCommunicationManager() { - return CommunicationManager.this; + protected String getInitialUIDL(WrappedRequest request, Root root) + throws PaintException { + return CommunicationManager.this.getInitialUIDL(request, root); } }; } |