You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Jenkins (JIRA)" <de...@myfaces.apache.org> on 2007/02/10 21:52:05 UTC
[jira] Commented: (TOMAHAWK-784) user specified onclick contents
not rendered in panel tabs
[ https://issues.apache.org/jira/browse/TOMAHAWK-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472019 ]
Adam Jenkins commented on TOMAHAWK-784:
---------------------------------------
I have hit this issue also...the javascript method in the onclick isn't being rendered to the final page. This seems like a pretty quick fix -- can someone comment on if this is a real bug and any workarounds/fix eta?
> user specified onclick contents not rendered in panel tabs
> ----------------------------------------------------------
>
> Key: TOMAHAWK-784
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-784
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Tabbed Pane
> Affects Versions: 1.1.3
> Reporter: Rolf Kulemann
> Priority: Minor
>
> 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);
> ...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.