You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Noeth (JIRA)" <de...@myfaces.apache.org> on 2017/04/18 14:51:41 UTC

[jira] [Created] (TOBAGO-1735) Collapsible concept doesn't work inside a dropdown menu.

Henning Noeth created TOBAGO-1735:
-------------------------------------

             Summary: Collapsible concept doesn't work inside a dropdown menu.
                 Key: TOBAGO-1735
                 URL: https://issues.apache.org/jira/browse/TOBAGO-1735
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 3.0.3
            Reporter: Henning Noeth
            Assignee: Henning Noeth


If a <tc:operation> is implemented in a dropdown menu, it's already executed when the dropdown menu is opened.
The correct behavior would be if the <tc:operation> is executed by clicking the corresponding dropdown menu entry.

In the following example the large popup will be opened by clicking the 'Open' button.
{code:xml}<tc:button id="dropdownButton" label="Open" omit="true" >
  <tc:link id="largePopupLink" label="Large Popup" omit="true">
    <tc:operation name="show" for="largePopup"/>
  </tc:link>
  <tc:link id="smallPopupLink" label="Small Popup" omit="true">
    <tc:operation name="show" for="smallPopup"/>
  </tc:link>
</tc:button>{code}
The two <tc:link> tags would be work correctly when the <tc:button> would be removed.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)