Wanted to solve another one on the list of corner cases with disabled and tab changing. Found this while testing for this jira. I reworked the original fix for this jira to hopefully accommodate many more scenarios.
1. Deploy the Sparkle/Nightly/tabSet qa test app
2. Browse to: http://localhost:8080/tabSet/tabAttribute.jsf
3. Fill in the text field so it won't be an issue
4. Change the tabs around to ensure that works, then go to the first tab
5. Check the disabled checkbox, which will only make the first tab, that's currently selected, disabled
6. Click to change tabs to another one
7. When the code had the bug, the tab contents would change to the second tab's but the first clickable tab would remain blue. With the fix, the first tab does not remain blue, and only the clicked to tab is blue.
icefaces3 trunk
Subversion 33839
Attached test case that shows the issue.
Steps: