Developer Tools
JDeveloper
Typically, you can put separators between menus by grouping menu components within
af:group. For example:
<af:menuBar>
<af:menu text="A"/>
<af:menu text="B"/>
<af:group>
<af:menu text="C"/>
<af:menu text="D"/>
</af:group>
</af:menuBar>
At runtime, the menus would render something like this, with a separator line in between B and C:
A B | C D
But no separator lines will be drawn when you use groups within the
moreMenus facet, such as:
<f:facet name="moreMenus">
<af:group>
<af:menu text="C"/>
<af:menu text="D"/>
</af:group>
</f:facet>
Copyright © 1997, 2009, Oracle. All rights reserved.