Tabs not generated when incorrect active tab is specified
Brought to you by:
bastafidli
Our Patterns test include test that exercises the
tabbed dialog and displays a tab specified using
activetab parameter as an active tab. The correct URL
looks something like this
jsp/layout/dialogtabtest.jsp?activetab=second
If the activetab variable contains incorrect value,
e.g. id which does not exist on the page, the tab
headers are generated correctly, but all the tabs are
hidden. The tabbed dialog tab should detect if at least
one tab of the dialog is active and if it is not, it
should make the first tab the active tab. This can be
done for example in doEndTag of the tabbed dialog tag
by caching the content.