writer.startElement(HtmlConstants.INPUT, null);
writer.writeAttribute(HtmlAttributes.TYPE, "hidden", false);
writer.writeAttribute(HtmlAttributes.VALUE, Integer.toString(activeIndex), false);
writer.writeNameAttribute(hiddenId);
writer.writeIdAttribute(hiddenId);
writer.endElement(HtmlConstants.INPUT);
String image1x1 = ResourceManagerUtil.getImageWithPath(facesContext, "image/1x1.gif");
// if a outer uiPage is presend, the virtual tab will go over all
// tabs and render it as they are selected, and it will