public void updateCurrentTabTitle(String title) { TabContext tabContext = TabContext.getCurrentInstance(); int currentTabIndex = tabContext.getSelectedTabIndex(); Tab tab = tabContext.getTabs().get(currentTabIndex); tab.setTitle(title); //force refresh tabContext.setSelectedTabIndex(currentTabIndex); }Be sure that you have defined a "tabContext" input parameter in your task flow definition so you can access the TabContext object.
Structured Output Example with Sparrow UI Shell
22 hours ago
It solved a big trouble for me, very useful, thank you so much for sharing (Y)
ReplyDelete