You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Cagatay Civici (JIRA)" <de...@myfaces.apache.org> on 2007/05/21 15:28:31 UTC

[jira] Resolved: (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:all-tabpanel ]

Cagatay Civici resolved TOMAHAWK-784.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.6-SNAPSHOT

Onclick events will be processed before the tab contents are displayed.

> 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
>         Assigned To: Cagatay Civici
>            Priority: Minor
>             Fix For: 1.1.6-SNAPSHOT
>
>
> 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.