Henning Nöth created TOBAGO-2354:
------------------------------------

             Summary: Render popup inside button/link
                 Key: TOBAGO-2354
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2354
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core, JavaScript
    Affects Versions: 6.5.0, 5.13.0
            Reporter: Henning Nöth


Currently a tc:popup must be rendered on the site. You have to write:

{code:xml}
<tc:button label="Open Dropdown" omit="true">
  <tc:link label="Open Popup" omit="true">
    <tc:operation name="show" for="popup"/>
  </tc:link>
  <tc:link label="Link 2" omit="true"/>
  <tc:link label="Link 3" omit="true"/>
</tc:button>
<tc:popup id="popup">
  ...
</tc:popup>
{code}

It should be possible to write:

{code:xml}
<tc:button label="Open Dropdown" omit="true">
  <tc:link label="Open Popup" omit="true">
    <tc:operation name="show" for="popup"/>
    <tc:popup id="popup">
      ...
    </tc:popup>
  </tc:link>
  <tc:link label="Link 2" omit="true"/>
  <tc:link label="Link 3" omit="true"/>
</tc:button>
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to