[richfaces-issues] [JBoss JIRA] (RF-13714) DropDownMenu not working inside tab-header

Martin Höller (JIRA) issues at jboss.org
Tue Jul 8 03:03:24 EDT 2014


    [ https://issues.jboss.org/browse/RF-13714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12982877#comment-12982877 ] 

Martin Höller commented on RF-13714:
------------------------------------

Hm, maybe I should explain my use-case in more detail, because I don't really see why this should be limited to client-switchType. What I want is a <rich:tabPanel>, where every tab has a header-text and an additional menu-icon (just like Firefox' tabs but with a menu-icon instead of the close-icon). Clicking the header-text switches the tab, regardless of the switchType. Clicking the menu-icon opens the menu with its menuItems. No tab-switching should take place when the menu is opened or a a menuItem is clicked.

This was possible with RF3.

> DropDownMenu not working inside tab-header
> ------------------------------------------
>
>                 Key: RF-13714
>                 URL: https://issues.jboss.org/browse/RF-13714
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-menu
>    Affects Versions: 4.3.7
>         Environment: Wildfly 8.1.0.GA => JSF 2.2
> Tested with recent Firefox and Chromium versions.
>            Reporter: Martin Höller
>              Labels: dropDownMenu, tabPanel
>             Fix For: 4.5-Tracking
>
>         Attachments: tabPanel.png
>
>
> The <rich:dropDownMenu> component seems broken, when used in the header-fact of a <rich:tab>. The menu simply doesn't open. Here is simplified example-code to reproduce:
> {code:xml}
> <rich:tabPanel switchType="client">
>   <rich:tab>
>     <f:facet name="header">
>         <rich:dropDownMenu showEvent="mouseover" label="menu" mode="client">
>           <rich:menuItem>
>             <a4j:commandLink value="menuItem" />
>           </rich:menuItem>
>         </rich:dropDownMenu>
>     </f:facet>
>   </rich:tab>
> </rich:tabPanel>
> {code}
> If I use the same menu-code in the <rich:tab> but outside the header-facet, it works.
> This did work with Richfaces 3.3!



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the richfaces-issues mailing list