I am trying to create an embedded TabSheet using the Vaadin framework and I can't seem to get it to work the way that I would like it to. Essentially, I have two loops... one creating a list of environments and the other creating a list of nodes. I want to have the nodes tabs under the environment tabs that they belong to. Currently, if a client has more than one environment, the first environments have no nodes listed under them (although they do have nodes associated) and the last environment listed has all nodes from all environments. I am sure it's something simple, but I am new to Java and Vaadin, so I am struggling. Any help is greatly appreciated!
The solution to this was to move the tab creation event to a different place in the code. If anyone needs help with this, please let me know and I'll get the details. It was months ago that I figured this out, so I can't recall the exact fix at the moment.