I am assisting in the production of a client which involves a tabbed notification system. Basically, when a tab is first created it has a certain CSS style. I am wanting to change the ID to something different whenever the notification is read. I have attempted to use the #onSelectionChangedProperty and set the ID to the new ID and it does nothing after the first time.
I wish to be able to set the style between two different styles whenever.
I believe I need to re-validate or refresh the control to fix this, but there is no such methods currently in existence. What should I do?
Edit: A temporary solution is to use #setStyle and pass the string representation of the style I want, but I would rather just be able to use #setID and keep CSS out of my class files.