i have a requirement on dynatab template such as provide Close icon on each tab , upon click of close icon the "Tab' should close .
I have followed the below andrejusb approach , for launching the dynatab's and i Customized the Dynamic Tab Shell template jar and added to the project
Please provide your thoughts relates to the above approach .
I wanted to provide close icon in each Tab along with the Tab name .
I achived the close icon on each CommandNavigationitem as per below appraoch , i have modified the template code as below . If we want to achive the close Icon on each Tab , select the af:NavigationPane -go to property inspector and change the property called as Itememoval =All ,so that all Tabs will display the close icon alone with the Tabname .
with the above code change all tabs will display the close icon , but now my question from begining is how can i close Tab upon click of close icon on a each tab ? (I.e how to call the removeCurrentTab() on af:commandNavigationItem component?)