diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-12-18 11:51:18 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2008-12-18 11:51:18 +0000 |
commit | 61026e4cbf89dda8c46eb5a23af084a4736aa249 (patch) | |
tree | bb3354ab076662a030efbcb0866b3a0251e2172e /src/com/itmill/toolkit/ui/CustomComponent.java | |
parent | d238b83069b47bee03101e8089c2434b7dfa8155 (diff) | |
download | vaadin-framework-61026e4cbf89dda8c46eb5a23af084a4736aa249.tar.gz vaadin-framework-61026e4cbf89dda8c46eb5a23af084a4736aa249.zip |
fixed component iterator if composition root is not yet set
svn changeset:6268/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/ui/CustomComponent.java')
-rw-r--r-- | src/com/itmill/toolkit/ui/CustomComponent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/itmill/toolkit/ui/CustomComponent.java b/src/com/itmill/toolkit/ui/CustomComponent.java index 9a6fdc3391..dd4b1577c2 100644 --- a/src/com/itmill/toolkit/ui/CustomComponent.java +++ b/src/com/itmill/toolkit/ui/CustomComponent.java @@ -146,7 +146,7 @@ public class CustomComponent extends AbstractComponentContainer { public Iterator getComponentIterator() { return new Iterator() { - boolean first = true; + boolean first = getCompositionRoot() != null; public boolean hasNext() { return first; |