Creating Context Menus
1. Create a pop-up menu with af:popup, af:menu, and af:commandMenuItem components.
2. Give the pop-up menu an ID.
3. Create a component to use the context menu.
4. Drag the af:showPopupBehavior operation to the component and set properties:
popupId: Specify the ID of the af:popup component whose contents you want to
display in a pop-up.
alignId: Specify the ID of the component to align the pop-up contents with.
align: Specify an alignment position that is relative to the component identified by alignId.
triggerType: Specify the event type to use to trigger the pop-up. Default is action, because typically, you would associate af:showPopupBehavior with a command component. When the command component is clicked, an action event is