Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.3
-
None
Description
If onclick attribute is specified in panelTab tag, the contents of the attribute is not rendered.
Offending code is in HtmlTabbedPaneRenderer.writeHeaderCell
...
writer.writeAttribute("onclick", "return myFaces_showPanelTab(" + tabIndex + ",'" + getTabIndexSubmitFieldIDAndName(tabbedPane, facesContext) + "'," + '\'' + getHeaderCellID(tab, facesContext) + "','" + tab.getClientId(facesContext) + "'," + getHeaderCellsIDsVar(tabbedPane, facesContext) + ',' + getTabsIDsVar(tabbedPane, facesContext) + ',' + (activeUserClass != null ? '\'' + activeUserClass + '\'' : "null") + ',' + (inactiveUserClass != null ? '\'' + inactiveUserClass + '\'' : "null") + ',' + (activeSubStyleUserClass != null ? '\'' + activeSubStyleUserClass + '\'' : "null") + ',' + (inactiveSubStyleUserClass != null ? '\'' + inactiveSubStyleUserClass + '\'' : "null") + ");", null);
...