diff --git a/src/main/java/net/bootsfaces/component/tabView/TabViewRenderer.java b/src/main/java/net/bootsfaces/component/tabView/TabViewRenderer.java index 939f002b5..be1a42362 100644 --- a/src/main/java/net/bootsfaces/component/tabView/TabViewRenderer.java +++ b/src/main/java/net/bootsfaces/component/tabView/TabViewRenderer.java @@ -107,7 +107,7 @@ public void encodeBegin(FacesContext context, UIComponent component) throws IOEx final String hiddenInputFieldID = clientId.replace(":", "_") + "_activeIndex"; writer.writeAttribute("name", hiddenInputFieldID, "name"); writer.writeAttribute("id", hiddenInputFieldID, "id"); - writer.writeAttribute("value", tabView.getActiveIndex(), "value"); + writer.writeAttribute("value", "", "value"); writer.endElement("input"); writer.startElement("div", tabView);