[ https://issues.apache.org/jira/browse/TOBAGO-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernd Bohmann resolved TOBAGO-2219. ----------------------------------- Resolution: Fixed > Custom component inside a dropdown menu is not displayed correctly > ------------------------------------------------------------------ > > Key: TOBAGO-2219 > URL: https://issues.apache.org/jira/browse/TOBAGO-2219 > Project: MyFaces Tobago > Issue Type: Bug > Components: Core > Affects Versions: 5.7.0 > Reporter: Henning Nöth > Assignee: Bernd Bohmann > Priority: Minor > Fix For: 5.8.0 > > > In the following example a custom component is inserted into a dropdown menu. > The result is not a sub menu but a panel with a second top level dropdown > menu. > The dummy custom component: > {code:xml} > <!DOCTYPE html > PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns:cc="http://xmlns.jcp.org/jsf/composite" > xmlns:tc="http://myfaces.apache.org/tobago/component"> > <cc:interface> > <cc:attribute name="label"/> > </cc:interface> > <cc:implementation> > <tc:link label="#{cc.attrs.label}" omit="true"> > <tc:link label="Sub menu entry 1"/> > <tc:link label="Sub menu entry 2"/> > </tc:link> > </cc:implementation> > </html> > {code} > Dropdown menu with dummy custom component inside: > {code:xml} > <tc:button label="Composite Component" omit="true"> > <tc:link label="Sub reference" omit="true"> > <tc:link label="Entry 1"/> > <tc:link label="Entry 2"/> > </tc:link> > <dc:dropdown-dummy label="Sub Composite"/> > </tc:button> > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)