aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2010-02-01 09:53:15 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2010-02-01 09:53:15 +0000
commit9fd975b1b228d339301637a9d225d1d62661c53f (patch)
treeb4c80b18acf54f2fe226243607df9ff4c0b79dce
parentc7c9e8c2c7b52a82882ed9165f84494802211749 (diff)
downloadvaadin-framework-9fd975b1b228d339301637a9d225d1d62661c53f.tar.gz
vaadin-framework-9fd975b1b228d339301637a9d225d1d62661c53f.zip
better support for extending absolutelayout
svn changeset:11070/svn branch:6.3_dd
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java b/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java
index 8e423523ab..4996b07af7 100644
--- a/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java
+++ b/src/com/vaadin/terminal/gwt/client/ui/VAbsoluteLayout.java
@@ -158,8 +158,7 @@ public class VAbsoluteLayout extends ComplexPanel implements Container {
for (Iterator<Object> childIterator = uidl.getChildIterator(); childIterator
.hasNext();) {
UIDL cc = (UIDL) childIterator.next();
- // skip the last one (support for VDragDropPane
- if (childIterator.hasNext()) {
+ if (cc.getTag().equals("cc")) {
UIDL componentUIDL = cc.getChildUIDL(0);
unrenderedPids.remove(componentUIDL.getId());
getWrapper(client, componentUIDL).updateFromUIDL(cc);