This discussion is archived
2 Replies Latest reply: Dec 4, 2012 9:57 AM by Rasto RSS

Open commandToolbarButton popup menu programmatically

Rasto Newbie
Currently Being Moderated
Hello,

I have an af:commandToolbarButton with an af:menu in its popup facet.
In order to get to the menu items I have to click the drop-down arrow on the toolbar button, which is exactly what the user would expect in most cases.
However, in this single spot my button doesn't have any action assigned, everything is done via the popup menu.
Is it possible to open the menu programmatically when the button is pressed?

As the button is inside of a toolbar with other toolbar buttons I would like to use the af:commandToolbarButton for this purpose, not something else that I could style to look like a button...

Thank you,
Rasto

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points