Hi,
Since Vaadin 7 requires java 1.6 or later, and doesn’t have to be compatible with 1.4 anymore, it would be nice if ComponentContainer would extend Iterable. The method getComponentIterator() could then be deprecated and its implementations could call iterator() for the time being.
This would make code that traverses the component tree much prettier, by using the for-each loop.
Herman