This discussion is archived
2 Replies Latest reply: Feb 4, 2013 11:23 PM by 934032 RSS

creating <af:showPopupBehavior> programmatically

Shahe Newbie
Currently Being Moderated
Hello,

How can I create <af:showPopupBehavior> programmatically in my managedBean?

Let's say I have a commandMenuItem:

<af:commandMenuItem text="Delete" id="cmi3">
<af:showPopupBehavior popupId="p2"/>
</af:commandMenuItem>

I want to create this commandMenuItem in my managedBean. How can I add the showPopupBehavior to it?

Thanks
Shahe

Legend

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