How to create Vaadin tabsheet without components?

246 views Asked by At

I need the functionality of a Vaadin Tabsheet. But don't need a component for each tab.

Instead, I have only one component (separate table) and it will be manipulated with the tab sheet actions. For now, I have assigned hidden labels to tabs.

Is there a better way to do this?

1

There are 1 answers

0
udakarajd On BEST ANSWER

If anyone one ran into the same scenario, here is how I solved it.

Instead of adding hidden labels, I added labels without captions.so no need to hide them, because they have nothing to show. :).

Don't set their visibility to hidden. It will cause problems since Vaadin doesn't send hidden components to the client.