Menu

#313 Tabs not generated when incorrect active tab is specified

CVS_Head
open
nobody
5
2013-02-20
2006-10-11
Miro Halas
No

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.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB