I have a panel with a leftpanel and a right panel and a toolbar on top, the leftpanel has two accordion (acc1,acc2), I have a botton on the top toolbar which needs to know which one is active, how do I achieve this ?