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

Martin Höller (JIRA) issues at jboss.org
Fri Jul 4 05:51:24 EDT 2014


     [ https://issues.jboss.org/browse/RF-13714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Höller updated RF-13714:
-------------------------------

        Description: 
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!

  was:
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.

    Forum Reference: https://community.jboss.org/message/880495


> 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
>
> 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