}
} else {
// Explicitly bind the link to the request and check if the
// link was clicked
ActionLink link = getTabLink();
link.bindRequestValue();
if (link.isClicked()) {
// Check which panel user selected and set that Panel as active
for (int i = 0; i < getPanels().size(); i++) {
Panel panel = (Panel) getPanels().get(i);