In Vaadin 8, creating a tabsheet and adding tabs to it was quite simple.
TabSheet tabs = new TabSheet();
tabs.addTab(formLayout1, "Form1");
tabs.addTab(formLayout2, "Form2");
With Flow 13, I am having a hard time applying the same concept above.
Tabs tabs = new Tabs();
Tab tab1 = new Tab("Form1");
Tab tab2 = new Tab("Form2");
// formlayout1 and formlayout2 are containers for textfields, comboboxes, etc.
tab1.add(formlayout1);
tab2.add(formlayout2);
tabs.add(tab1, tab2);
This simply does not work correctly. Can someone please elaborate the usage to Flow 13 tabs dealing with forms?
Thank you for the response. I do use paged-tabs in some cases, however, paged-tabs does not support scrolling at this time. I decided to use accordion instead and it’s working out well.